CircuitDiff: one shared horizontal scroll container, sticky qN labels
TheYuchen
efd5605
The gate-level diff's per-lane overflow-x-auto gave every qubit lane
its own scrollbar, so lanes desynced the moment one was scrolled —
breaking exactly the column correspondence a 2-qubit gate's ·c/·t
chips exist to show. All lanes now live in ONE horizontally scrolling
CSS grid (max-content label column + one chip track), so scrolling is
synchronized by construction; the qN labels are position:sticky
left:0 with an opaque panel-alt background (the SignatureCard host
surface) so they stay readable while chips pass underneath. Chip
encodings and tooltips unchanged. Backlog entry removed.
Audit backlog wave 3, evidence area:
- dedupeDraws keys on (root_seed, shots, successes) [approved]: only
a bit-exact repetition of the whole draw is dropped — the same seed
with a different stopping point executed different measurements and
now pools as new evidence. Node-lane assertions added; F8
demo-archive numbers verified unchanged.
- Sparkline stops flattening sub-unit series (QuCAD loss traces);
divide-by-zero guard only fires on a truly flat trace
- KvRow never prints "[object Object]" (nested objects/arrays
JSON-stringify, truncated); viz fmt + CircuitDiff gateDiffOf
unexported (dead exports)
- QuBound/QuCAD NaN payloads render as absent ("—"), not "NaN" tiles;
Qshot's headline fidelity joins the % convention (formula + pilot
table keep the author's raw-unit notation); CI line tabular-nums
- fidelity histogram says what it hides ("+k more outcomes · n shots
not listed"); ReplicateStrip excludes errored runs, highlights the
newest matching dot with an ep…
Wave P: paper-first reorientation
TheYuchen
79cd0aa
De-product: remove WelcomeTour(+slides), AuthButton/session UI,
Support(NSF)/Papers/Developers popovers, Lab link, UploadPluginModal
trigger; plugin protocol stays live via API. Neutral index.html
title/meta + PWA manifest. Header = name/tagline/env chip/live
toggle/theme.
Anonymous mode (double-blind): lib/anon.ts. VITE_ANON=1 build folds
identifying strings out of the bundle (EvidenceQ codename, no paper
bibtex, no GMU theme, vite plugin rewrites index.html+manifest);
?anon=1 runtime fallback hides the same surfaces on normal builds.
Audit: zero user-visible identifying strings in the anon dist.
Figure export with embedded provenance: lib/figureExport.ts + camera
buttons on canvas toolbar / Multiverse header / Evidence header.
True-SVG for svg targets, foreignObject-SVG + 2.5x PNG for HTML
composites; paper transform (white bg, fonts x1.25, chrome stripped);
SVG <metadata> + .provenance.json carry app version, export time,
run_ids/root_seeds/config_hashes of every visible run and t…
Gate-level circuit diff: qubit-lane LCS alignment per step
TheYuchen
94e47b0
Backend:
- New services/circuit_diff.py: lane_sequences() tokenizes each
qubit's gate sequence (name + 3dp param fingerprint; unbound
params keep symbol names; 2q gates on both lanes with c/t role
tags, symmetric ops undecorated; measures kept, barriers skipped)
and diff_lanes() aligns before/after lanes with a standard LCS
diff (kept/removed/added in merged order). Hard cap 12 qubits /
600 combined ops -> truncated marker.
- Executor: copy the circuit BEFORE dispatch (handlers may mutate
ctx["circuit"] in place -- the historical QuBound measure_all bug
shape), stamp gate_diff into StepResult.transformation when the
step changed the circuit. Best-effort: any diff failure is logged
and omitted, never breaks a run.
- tests/test_gate_diff.py: 14 torch-free unit tests incl. an
executor wiring test that mutates in place.
Frontend:
- New CircuitDiff.tsx inside SignatureCard, collapsed <details>
("Gate-level diff / N removed / M added"): one mono-labelled row
per qu…