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…
Remove the GMU-branded theme entirely
TheYuchen
ceee520
Double-blind treatment is no longer needed (reviewers see the paper,
not the site), and the branded palette was the last piece of identity
chrome with real maintenance cost: theme.ts gated it behind ANON,
vite.config.ts carried a CSS-stripping generateBundle hook, and every
new visual had to be checked under a third palette.
- theme.ts: ThemeKey is light|dark; gmu entry gone; stored "gmu"
preference migrates to the light default (comment documents it).
- index.css: [data-theme="gmu"] token block deleted.
- vite.config.ts: %THEME_KEYS% is always ["dark"]; the anon
CSS-stripping hook is retired (nothing left to strip). The rest of
the VITE_ANON machinery (titles, manifest) is unchanged.
- Stray "three themes" comments updated.
Residue grep: only the migration comment mentions the old key.
M1 scenarios.ts QUCAD_GRAPH is now a literal copy of bundled demo
record 5c2a6a71a7a4's graph (ids n1..n5, sampled fidelity, same
params/positions) instead of an s1..s5/statevector rebuild —
F1/F5 runs now group with the demo cards (same config_hash) and
pinned seed 336157917 replays the archived numbers bit-exactly.
M2 Optional-stopping honesty in three places: limitation block at
the stopping rule (qlib/qiskit_utils.py — width-based
data-dependent stopping perturbs exact nominal coverage of the
final fixed-n interval; confidence sequences are the rigorous
alternative), one sentence in the Wave I doc section, and a
clause in the precision-target tooltip.
M3 Anon builds scrub the branded theme completely: generateBundle
strips the [data-theme=gmu] CSS block, and theme.ts gates the
stored-preference fallback behind !ANON so the key literal is
dead-code-eliminated from VITE_ANON JS (runtime ?anon=1 behavior
unchanged). Anon dist grep…
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…
Circuit ribbon canvas: the pipeline itself becomes the visualization
TheYuchen
324791f
Post-run, circuit-flow edges render as tapered ribbons (custom React
Flow edge type): band thickness = clamp(1.5·sqrt(gates), 3, 18)px at
each end, sampled-bezier polygon so the taper shows each downstream
transformation; downstream half tinted ok/green when the step shrank
the circuit, warn/amber when it grew. Backend side-channel edges stay
thin/dashed (they carry calibration, not a circuit); pre-run edges
unchanged. Node faces: delta-strip glyph now anchors the full tile
width (stretch prop, preserveAspectRatio=none keeps the encoding
invariant) and sampled-fidelity steps get a 3px CI bar (interval band
+ point tick, 0-1 scale) on the tile. Dismissible bottom-left legend
chip (localStorage) keys ribbon width / taper tint / delta strip.
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…
Signature glyph: designed delta-strip encoding replaces text chips
TheYuchen
4288025
The transformation signature is now a real glyph, not typography:
a fixed-order strip of horizontal diverging bars (D, G, P, Q top to
bottom) around a center zero axis. Bar length is relative change
(delta/before, capped at +/-100%) so a depth halving reads the same
size on any circuit; decreases extend left in the ok tone (every
optimizer here aims to shrink), increases right in warn; qubit
changes are neutral accent either way (width is a property, not a
cost). Zero channels render as faint ticks so the 4-row silhouette
is constant - glyph recognition depends on the constant frame.
New export SignatureGlyph({t, size}) draws the strip from a raw
payload at two densities: tile (46x14, tooltip carries numbers) on
canvas nodes and in the CompareView step table (replacing sigText
cells; sigText survives as tooltip), and card (180x56, channel
letters + printed deltas) in the results pane, beside the exact
before->after grid. Per-op chips become a |delta|-sorted diverging
bar list. All fil…
Transformation signatures: uniform circuit-delta vocabulary per step
TheYuchen
f956d64
Phase 2 (part 1) of the evidence-workbench rework. The executor now
snapshots the circuit's structure (shape + gate counts by op) before
and after every dispatched node and stamps a uniform transformation
payload onto each successful StepResult: before/after snapshots,
shape delta (qubits/depth/gates/params), per-op count delta, and a
changed flag distinguishing pass-through steps from mutating ones.
Captured centrally — handlers (and user plugins) never build this
themselves, which is what keeps the vocabulary identical across
QuCAD pruning, CompVQC folding, transpiles, and anything a plugin
does. Kind-specific detail stays in each handler's summary.
Frontend renders it at two densities: SignatureTile on canvas nodes
(nonzero delta channels only, e.g. "D-4 G-12 P-12"; decrease=green
since every optimizer in the catalog aims downward, increase=amber,
qubit-width neutral) and SignatureCard in the results pane
(before → after per channel + per-op chips). Pass-through steps say
so expli…