Benchmarks and Validation
Empirical verification of paulicert across a 980-point exact superoperator sweep, 10 published QEC papers checked to machine precision, and all seven Bravyi et al. bivariate bicycle qLDPC codes up to 756 qubits.
Exact 980-Point Sweep Across Four Distance-3 Codes
Table 1 summarizes both certificate tiers (exact for $\mathcal{W}_{\mathcal{S}}$ and full for $\mathcal{W}_{\mathcal{N}}$), the exact infidelity ratio $\operatorname{gap}$, and the normalized Choi distance $D_{\mathrm{Choi}}$ from benchmarks/data/gap_sweep.csv (4 codes × 5 channels × 49 error rates $p \in [10^{-4}, 10^{-1}]$). Across all 980 rows there are zero certificate violations: 343/343 diagonal-exact rows satisfy $|\operatorname{gap} - 1| \le 3.98 \times 10^{-8}$, and 196/196 full-exact rows satisfy $D_{\mathrm{Choi}} \le 1.01 \times 10^{-14}$.
| Code | Channel | exact | full | $|\mathcal{W}_{\mathcal{S}}|$ | $\min\operatorname{wt}$ | $\operatorname{gap}(10^{-4})$ | $\operatorname{gap}(10^{-2})$ | $D_{\mathrm{Choi}}(10^{-2})$ |
|---|---|---|---|---|---|---|---|---|
5-1-3-perfect | coherent_x / coherent_z | True | False | 0 | — | 1.00000 | 1.00000 | $3.90\times 10^{-5}$ |
5-1-3-perfect | coherent_xz | False | False | 15 | 4 | 1.74989 | 1.73935 | $5.02\times 10^{-3}$ |
5-1-3-perfect | amplitude_damping | True | False | 0 | — | 1.00000 | 1.00000 | $1.25\times 10^{-11}$ |
5-1-3-perfect | phase_damping | True | True | 0 | — | 1.00000 | 1.00000 | $0$ |
7-1-3-steane | coherent_x / coherent_z | False | False | 7 | 4 | 2.99933 | 2.93323 | $1.28\times 10^{-2}$ |
7-1-3-steane | coherent_xz | False | False | 63 | 4 | 2.19966 | 2.16570 | $6.96\times 10^{-3}$ |
7-1-3-steane | amplitude_damping | False | False | 7 | 4 | 1.00000 | 1.00002 | $8.23\times 10^{-7}$ |
7-1-3-steane | phase_damping | True | True | 0 | — | 1.00000 | 1.00000 | $0$ |
8-3-3-gottesman | coherent_x | False | False | 1 | 8 | 1.00000 | 1.00003 | $2.57\times 10^{-3}$ |
8-3-3-gottesman | coherent_z | False | False | 1 | 8 | 1.00000 | 1.00004 | $3.13\times 10^{-3}$ |
8-3-3-gottesman | coherent_xz | False | False | 31 | 6 | 1.00000 | 1.00000 | $2.36\times 10^{-3}$ |
8-3-3-gottesman | amplitude_damping | False | False | 1 | 8 | 1.00000 | 1.00000 | $8.03\times 10^{-9}$ |
8-3-3-gottesman | phase_damping | True | True | 0 | — | 1.00000 | 1.00000 | $0$ |
9-1-3-shor | coherent_x | False | False | 3 | 6 | 1.00027 | 1.02605 | $5.90\times 10^{-3}$ |
9-1-3-shor | coherent_z | False | False | 63 | 2 | 8.99520 | 8.52734 | $4.91\times 10^{-2}$ |
9-1-3-shor | coherent_xz | False | False | 255 | 2 | 5.28394 | 5.11071 | $1.81\times 10^{-2}$ |
9-1-3-shor | amplitude_damping | False | False | 63 | 2 | 1.99990 | 1.98924 | $2.24\times 10^{-4}$ |
9-1-3-shor | phase_damping | True | True | 0 | — | 1.00000 | 1.00000 | $0$ |
Machine-Precision Literature Cross-Validation
All closed-form checks below are permanently verified in tests/test_literature_benchmarks.py on every test run.
| Published Benchmark / Test | Quantity Verified | Max Error |
|---|---|---|
| Geller & Zhou (PRA 2013, Eqs. 20–22) | $T_1/T_2$ thermal PTA across 30 random $(T_1, T_2, t)$ points + isotropic locus $T_2 = T_1$ | $3.33 \times 10^{-16}$ |
| Iverson & Preskill (NJP 2020, Eqs. 74–87) & Gutiérrez et al. (PRA 2016) | Exact logical $\boldsymbol{\chi}$ and PTM for odd-$N$ ($N = 3, 5, 7$) repetition codes under $\mathbf{R}_X(\theta)$ ($\chi_{IX} = +4i[p(1-p)]^{3/2}$) | $1.89 \times 10^{-15}$ |
| Greenbaum & Dutton (QST 2017, Eqs. 9–10, A.15–A.34) | Combined coherent $\mathbf{R}_X(\epsilon)$ + stochastic bit-flip $q$ on $N = 3, 5, 7$ | $6.29 \times 10^{-16}$ |
| Rahn–Doherty–Mabuchi (PRA 2002), Gottesman (1997), Beale et al. (PRL 2018) | Exact closed-form logical channels for $[[5, 1, 3]]$ depolarizing & $O(\theta^5)$ coherence, Steane coherent $\mathbf{X}$ ($\operatorname{gap}\to 3$, $|\chi_{IX}| \sim \tfrac{7}{2}\theta^3$), and Shor coherent $\mathbf{Z}$ ($\operatorname{gap}\to 9$) | $< 10^{-13}$ |
| Tillich–Zémor (2014), Bonilla Ataides et al. (2021), Iyer–Poulin (2015) | HGP $(n, k)$ formulas, $[[9, 1, 3]]$ rotated surface vs. XZZX ($\operatorname{gap}: 2.75 \to 1.000$ at $p = 10^{-4}$), strict coset ML < MPE separation on Steane | Exact |
| Zero-shared-code density-matrix check & 40-trial CPTP fuzzer (160 certificate checks) | Eigen-projector + Kronecker Kraus verification across $k = 1, 2, 3$ codes; random Clifford deformations & non-group channels | $8.88 \times 10^{-16}$ (0 violations) |
Large qLDPC Scaling & Clifford Deformation
Table 3 benchmarks bit-packed $\mathbb{F}_2$ certification and single-RREF minimal twirling across all seven bivariate bicycle codes of Bravyi et al. (Nature 2024, Table 3) under coherent $\mathbf{Z}$ noise. Applying non-CSS XZZX Clifford deformation further collapses the minimal twirl set from 50/108 → 2/108 on [[108, 8, 10]] and from 138/288 → 20/288 on [[288, 12, 18]].
| Code $[[n, k, d]]$ | $(\ell, m)$ | Check wt | $\dim(\mathcal{S}\cap L)$ | $\dim(\mathcal{N}(\mathcal{S})\cap L)$ | pauli_exact | minimal_twirl_set |
|---|---|---|---|---|---|---|
| $[[72, 12, 6]]$ | $(6, 6)$ | 6 | 30 | 42 | ~10 ms | ~10 ms |
| $[[90, 8, 10]]$ | $(15, 3)$ | 6 | 41 | 49 | ~15 ms | ~15 ms |
| $[[108, 8, 10]]$ | $(9, 6)$ | 6 | 50 | 58 | ~18 ms | ~18 ms |
| $[[144, 12, 12]]$ | $(12, 6)$ | 6 | 66 | 78 | 27 ms | 25 ms |
| $[[288, 12, 18]]$ | $(12, 12)$ | 6 | 138 | 150 | 114 ms | 124 ms |
| $[[360, 12, \le 24]]$ | $(30, 6)$ | 6 | 174 | 186 | 193 ms | 194 ms |
| $[[756, 16, \le 34]]$ | $(21, 18)$ | 6 | 370 | 386 | 1.89 s | 1.87 s |