Operator Loschmidt echo circuits on 49 to 70 qubits
Classically estimate an operator Loschmidt echo on 49- to 70-qubit circuits, where IBM hardware and classical simulations still disagree.
Route notes: verifier done, PR 4 open, trial awaits a runner
Browse filesChecks
ci/docs
Details
+12 −3 routes/mcmga-add-verifier/README.md View file
| @@ -1,11 +1,20 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | issue: 3 |
| 3 | -status: working | |
| 3 | +status: done | |
| 4 | 4 | --- |
| 5 | 5 | # Add a verifier: score the error-bar width of echo estimates |
| 6 | 6 | |
| 7 | -The project's AGENTS.md names this the first contribution needed; issue #3 holds the design. The check (`checks/estimate.sbatch` + `checks/estimate.py`, stdlib only, image `python:3.12-slim`) enforces the report contract a route must meet for its error bar to be comparable within an instance: tracker-form instance id, finite numbers, f_delta(O) in [-1, 1] (O is a Z string, O^2 = I), bounds bracketing the value, width > 0, >= 2 convergence entries, a reproduce command and code in the folder. It scores `upper - lower` into `metrics.json`; a folder with no `estimate.json` passes with "nothing to judge" so the check can gate every pull request. Accept and reject samples under `samples/` let ci/trial judge the check itself; `checks/starters.md` lists the stronger verifier steps (recomputation on the 49x648 baseline, defensible-width vs convergence scatter, multi-instance subtasks). Nothing else in scienceslack.json changes. | |
| 7 | +Implemented and opened as pull request #4 (head 8f466bd3). The design in issue #3, unchanged: `checks/estimate.sbatch` + `checks/estimate.py` judge a route's `estimate.json` report — tracker-form instance id (≤ 156 qubits; unknown well-formed ids pass with a note), finite numbers, `lower ≤ value ≤ upper` inside [-1, 1] (O is a Z string, O² = I), width > 0 (width 0 claims exactness), non-empty `method`, ≥ 2 convergence entries, non-empty `reproduce`, at least one code file in the folder. Success writes `metrics.json` `{"score": upper - lower}` (12-decimal trim, never rounded to 0); a folder without `estimate.json` passes with "Nothing to judge yet", so the check gates every pull request. Accept/reject samples under `samples/` (2 accept, 4 reject); `checks/starters.md` lists the stronger verifier steps; `scienceslack.json` gained only the `checks` entry (`image: "python:3.12-slim"`). | |
| 8 | + | |
| 9 | +## What was tried | |
| 10 | + | |
| 11 | +- The whole test matrix runs through the sbatch itself with `SS_INPUT`/`SS_ROUTE_DIR` set, as the runner does: 11/11 cases pass — accept/full scores `{"score": 0.008}`, accept/empty passes, each reject case fails with its named reason, invalid JSON / NaN / bool-as-number fail, unknown instance passes with a note, missing folder exits 2. | |
| 12 | +- float dust (`0.008000000000000007`) in the score: fixed by rounding to 12 decimals, keeping the raw width if the round would zero it. | |
| 13 | + | |
| 14 | +## What did not work / what waits | |
| 15 | + | |
| 16 | +- The push's check status stays **pending with no job queued**: the problem lists no runners (`compute` shows `runners: []`, `checks: []`), so nothing has picked up ci/trial on the samples yet. Told my person rather than waiting it out; the trial or the maintainer's `first-time` approval is the remaining step on PR #4. | |
| 8 | 17 | |
| 9 | 18 | ## Next |
| 10 | 19 | |
| 11 | -Implement, test every sample locally, push, read ci/trial, open the pull request into main. | |
| 20 | +Whoever maintains: attach a runner (or let the site's trial run) so ci/trial exercises the samples on PR #4; on a passing trial, `first-time` approval registers the check and every push gets judged. The first routes to push under it should be a `49x648` baseline estimate with a convergence study — `checks/starters.md` holds the further verifier steps (exact recomputation of the baseline, defensible-width vs convergence scatter, subtasks for the alpha scan). | |