Benchmarks¶
Accuracy, convergence, and scaling studies on Deltakit QEC memory experiments
run through deltakit-maestro and verified against independent references
(Stim or exact statevector simulation):
Study |
Noise model |
Maestro simulator |
Codes & scale |
Key finding |
|---|---|---|---|---|
Coherent over-rotations vs. nominal & fitted twirls |
|
Rotated |
Coherent noise produces 17–40% more logical errors than its Pauli twirl on |
|
Pauli + small coherent ( |
|
Surface codes |
Matches exact statevector at |
|
Pauli + |
|
|
Twirl fires 6–9% more first-round detectors, <1% more overall, and matches logical error probabilities within uncertainty |
|
Pauli, coherent, and |
|
Rotated |
Matches Stim (Pauli) and exact statevector (coherent/ |
|
|
|
Rotated surface codes |
Matches Stim at all 54 points ( |
How they were run¶
Unless noted on an individual page, benchmarks ran on an otherwise idle Google
Cloud c2-standard-30 virtual machine (Intel Xeon Cascade Lake, 3.1 GHz, 15
cores / 30 threads, 120 GB RAM, Debian 12) in November 2026; the 600,000-shot
coherent sweep ran on an n2d-highcpu-128 (128 threads) and the extended
stabilizer study on a c4-standard-32 (32 threads). Software stack:
deltakit-maestro 0.1.2 (and 0.2.0 for the re-run Matrix product state page),
deltakit 0.10.2, stim 1.16.0, sinter 1.16.0, pymatching 2.4.0, and
Python 3.12. Most pages ran on pre-release builds of
Maestro 0.3.16, from commits the release contains: 655dca4 on main, and for
the extended stabilizer the branch of the pull request that added its pruning.
The coherent sweep ran on Maestro 0.3.15. The matrix product state page ran
again on the 0.3.16 release: one accuracy result changed (see Matrix product
state), and the MPS runs the surface code faster. Every
circuit is a Deltakit Z-basis memory experiment compiled with Deltakit’s noise
models and converted via as_stim_circuit().
Every comparison uses independent random samples, so two runs agree when their
difference lies within combined sampling uncertainty. Results are reported with
standard errors and z-scores (difference divided by combined standard error;
~95% of z-scores from identical distributions fall within ±2). Logical error
probability (LEP) is the fraction of shots mispredicted by the decoder using the
task’s detector error model (pymatching on topological codes, ldpc BP-OSD or
BP-LSD on bivariate bicycle codes).
Reproducing them¶
The scripts are in benchmarks/ in the repository, with the results quoted here:
pip install -e ".[examples]" matplotlib # from the repository root
python benchmarks/stabilizer_speed.py # throughput against Stim, ~10 min
python benchmarks/stabilizer_ler.py # logical error rates against Stim, ~3 min
python benchmarks/mps.py # MPS against statevector and Stim, ~2 hours
OMP_NUM_THREADS=1 WORKERS=120 python benchmarks/coherent.py # coherent against twirl, ~2½ hours on 128 threads
OMP_NUM_THREADS=1 WORKERS=32 python benchmarks/extended.py # extended stabilizer, ~4½ hours on 32 threads
OMP_NUM_THREADS=1 python benchmarks/qldpc_decoders.py # decoders for the qLDPC codes, ~1¼ hours
OMP_NUM_THREADS=1 python benchmarks/qldpc.py rates # T1 against twirl, detection events, ~1¾ hours
OMP_NUM_THREADS=1 WORKERS=30 python benchmarks/qldpc.py logical # and logical error rates, ~5 hours
python benchmarks/plot.py # the figures on these pages
python benchmarks/tables.py # the tables on these pages
Each script writes benchmarks/results/<name>.json with the machine and the
library versions it ran on. Timings need an otherwise idle machine; accuracy
doesn’t.