DRAFT feat(template): verified Piccolissimo solve template (beta target) + integration contract - #24
DRAFT feat(template): verified Piccolissimo solve template (beta target) + integration contract#24Rchari1 wants to merge 1 commit into
Conversation
|
Heads up: a macOS Piccolissimo binary is now published on the Piccolissimo binary artifacts (see recent builds), built against julia 1.12.6. That closes the macOS gap your PICCOLISSIMO_INTEGRATION.md flagged — pull the recent build and you can validate the darwin path directly instead of being x86_64-linux only. Match julia 1.12.6 exactly (pkgimage, not sysimage). |
|
Retargeted from The old base is now fully merged into (Part of a sweep over the stacked |
…integration notes Amicode beta moves the solve stack onto Piccolissimo (bundles Piccolo + adds the exact HermitianExponentialIntegrator). This lands the verified template as a parallel artifact — the live raw-Piccolo path (solve_template.jl + AGENTS.md) stays the default until the Piccolissimo binary is consumable. solve_template_piccolissimo.jl: transmon X gate via Piccolissimo's HermitianExponentialIntegrator. Verified end-to-end through amico-run against a local Piccolissimo checkout (Piccolo 1.10 + Piccolissimo + CairoMakie): F = 0.99995, 60 iters, full run-dir contract + plot_pulse frames. Key findings (vs raw Piccolo): - Piccolissimo does NOT reexport Piccolo → load both. - timesteps_all_equal is required (free Δt stalls at F≈0.976). - Piccolo 1.10 (Piccolissimo's pin) vs 1.19 — all needed symbols exist. PICCOLISSIMO_INTEGRATION.md records the binary integration contract for the in-flight Piccolissimo build: it's a pkgimage (not --sysimage); needs a macOS arm64 artifact + matching Julia; CairoMakie isn't in the image (plot stays cold unless baked in); and PICCOLISSIMO_LICENSE provisioning once the gate re-enables. Source install isn't distributable — Altissimo is an unregistered local-path dep, so the binary is the only delivery path. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4b45474 to
4c67fc2
Compare
|
Closing — superseded, and the parts that aren't superseded have gone stale. The template is superseded by #219, which taught the live template ( Worth recording why this one couldn't have shipped that: it lives at
[sources]
Altissimo = {rev = "main", url = "git@github.com:harmoniqs/Altissimo.jl.git"}So porting the doc as-is would have preserved a constraint that has since been fixed. The real remaining constraint is narrower: an AMI freezes a resolved Altissimo commit at image-build time, and re-resolving needs credentials for the private repo — which is why a rebake, not a Nothing here is lost that we still need. Reopen if the integration contract wants rewriting against the current dependency shape — that'd be a fresh doc, not this diff. |
Stacked on #23 (base
rchari/perf-smooth-solve). Do not merge.Moves amicode's solve stack toward Piccolissimo (Harmoniqs' commercial stack — bundles Piccolo + adds the exact
HermitianExponentialIntegrator) for the beta. Lands the verified template as a parallel artifact; the live raw-Piccolo path (solve_template.jl+AGENTS.md) stays the default until the Piccolissimo binary is consumable.Verified
solve_template_piccolissimo.jl— transmon X gate via Piccolissimo'sHermitianExponentialIntegrator, run end-to-end throughamico-runagainst a local Piccolissimo checkout (Piccolo 1.10 + Piccolissimo + CairoMakie, julia 1.12.3):plot_pulseframes →FINISHED→result.toml)What it took (vs raw Piccolo)
PiccoloOptions(timesteps_all_equal=true)is required — free Δt stalls at F≈0.976; pinned → 0.99995.Integration contract (for Jack's in-flight binary) — see
PICCOLISSIMO_INTEGRATION.md--sysimage; amico-run wiring differs.plot_pulsestays ~35 s cold unless baked into the amicode image.PICCOLISSIMO_LICENSEprovisioning once the (currently-disabled) license gate re-enables.Not in this PR (deliberately)
No change to
AGENTS.md, the bundled julia project, or amico-run's load path — those flip when the binary lands (checklist in the doc), so the working demo stays intact.🤖 Generated with Claude Code