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}$.

Table 1.Two-tier certificate, exact infidelity ratio, and Choi distance across four distance-3 codes.
CodeChannelexactfull$|\mathcal{W}_{\mathcal{S}}|$$\min\operatorname{wt}$$\operatorname{gap}(10^{-4})$$\operatorname{gap}(10^{-2})$$D_{\mathrm{Choi}}(10^{-2})$
5-1-3-perfectcoherent_x / coherent_zTrueFalse0—1.000001.00000$3.90\times 10^{-5}$
5-1-3-perfectcoherent_xzFalseFalse1541.749891.73935$5.02\times 10^{-3}$
5-1-3-perfectamplitude_dampingTrueFalse0—1.000001.00000$1.25\times 10^{-11}$
5-1-3-perfectphase_dampingTrueTrue0—1.000001.00000$0$
7-1-3-steanecoherent_x / coherent_zFalseFalse742.999332.93323$1.28\times 10^{-2}$
7-1-3-steanecoherent_xzFalseFalse6342.199662.16570$6.96\times 10^{-3}$
7-1-3-steaneamplitude_dampingFalseFalse741.000001.00002$8.23\times 10^{-7}$
7-1-3-steanephase_dampingTrueTrue0—1.000001.00000$0$
8-3-3-gottesmancoherent_xFalseFalse181.000001.00003$2.57\times 10^{-3}$
8-3-3-gottesmancoherent_zFalseFalse181.000001.00004$3.13\times 10^{-3}$
8-3-3-gottesmancoherent_xzFalseFalse3161.000001.00000$2.36\times 10^{-3}$
8-3-3-gottesmanamplitude_dampingFalseFalse181.000001.00000$8.03\times 10^{-9}$
8-3-3-gottesmanphase_dampingTrueTrue0—1.000001.00000$0$
9-1-3-shorcoherent_xFalseFalse361.000271.02605$5.90\times 10^{-3}$
9-1-3-shorcoherent_zFalseFalse6328.995208.52734$4.91\times 10^{-2}$
9-1-3-shorcoherent_xzFalseFalse25525.283945.11071$1.81\times 10^{-2}$
9-1-3-shoramplitude_dampingFalseFalse6321.999901.98924$2.24\times 10^{-4}$
9-1-3-shorphase_dampingTrueTrue0—1.000001.00000$0$
Gap scaling across four distance-3 codes
Fig. 1.Ratio $\operatorname{gap}(p) = (1 - F_e(\Lambda)) / (1 - F_e(\Lambda_{\mathrm{PTA}}))$ across $p \in [10^{-4}, 10^{-1}]$ for four distance-3 codes and five noise channels.

Machine-Precision Literature Cross-Validation

All closed-form checks below are permanently verified in tests/test_literature_benchmarks.py on every test run.

Table 2.Cross-validation against published QEC results and independent simulation.
Published Benchmark / TestQuantity VerifiedMax 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 SteaneExact
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]].

Table 3.Bit-packed $\mathbb{F}_2$ runtimes across all seven Bravyi et al. bivariate bicycle codes.
Code $[[n, k, d]]$$(\ell, m)$Check wt$\dim(\mathcal{S}\cap L)$$\dim(\mathcal{N}(\mathcal{S})\cap L)$pauli_exactminimal_twirl_set
$[[72, 12, 6]]$$(6, 6)$63042~10 ms~10 ms
$[[90, 8, 10]]$$(15, 3)$64149~15 ms~15 ms
$[[108, 8, 10]]$$(9, 6)$65058~18 ms~18 ms
$[[144, 12, 12]]$$(12, 6)$6667827 ms25 ms
$[[288, 12, 18]]$$(12, 12)$6138150114 ms124 ms
$[[360, 12, \le 24]]$$(30, 6)$6174186193 ms194 ms
$[[756, 16, \le 34]]$$(21, 18)$63703861.89 s1.87 s