| basis | qubits | layers | layers / round | 2q layers / round | 2q gates / round | 2q gates / layer | qubit-layers |
|---|---|---|---|---|---|---|---|
| X, Z | 264 | 90 | 11 | 9 | 672 | 74.7 | 23,760 |
Pair-partition CPM lift (Okada-Kasai, arXiv:2607.14091) of a sparse 4x10 base template over Z_12 with zero 4-cycles in H_X and H_Z; exact d=(8,8) triple-certified by MITM, Python, and zero-symmetry C++20 search.
circuits/120-24-8-b/ holds an interleaved memory experiment with $d_{\text{circ}} = 8$ on both bases, which tropidist (github.com/Fanerst/tropidist @ b03ec2d, arXiv:2611.08247) proves exact: no undetected logical fault set of weight 7 or less exists in either committed detector error model. research/audits/circuit_distance_bounds.py reproduces the verdict (sector reduction and round collapse, about 3 s per basis).
Schedule. Each of the 8 rounds is one reset layer, 9 CX layers and one measurement layer (11 layers), on 264 qubits: 120 data, 96 check ancillas, 48 flags. X and Z checks run in the same CX layers. Every lifted check of a template row uses the same CNOT order and layers, so the schedule is the table below, in template block columns $c_u$ (check $(i, r)$ acts on qubit $(u, r + e_{iu})$ of the $\mathbb{Z}_{12}$ lift):
| Row | L0 | L1 | L2 | L3 | L4 | L5 | L6 | L7 | L8 | |---|---|---|---|---|---|---|---|---|---| | X0 | c1 | c7 | c2 | c3 | c5 | | | c0 | | | X1 | | c1 | c8 | | c2 | | c3 | c4 | c0 | | X2 | c2 | flag | c9 | | c4 | c5 | c0 | flag | c6 | | X3 | | c6 | flag | c1 | c8 | c9 | c7 | flag | c3 | | Z0 | c9 | flag | | c8 | c1 | c2 | c6 | flag | c4 | | Z1 | c7 | flag | c6 | | c3 | c0 | c9 | flag | c5 | | Z2 | c8 | c2 | c7 | c4 | c0 | | | c5 | | | Z3 | | c8 | c1 | | c7 | c4 | c5 | c3 | |
How the orders were chosen. For a hook after the $j$-th CNOT the cost is the fewest extra data errors that complete it to an undetected logical, computed exactly by meet in the middle (all errors of weight $\le 4$ against queries of weight $\le 2$). Rows X2, X3, Z0 and Z1 admit no bare order with every hook costing at least $d - 1$, so each of their 48 checks gets one flag, coupled after the first and before the last data CNOT. The other rows keep bare ancillas with orders whose hooks cost at least $d - 1$ and whose same-ancilla hook pairs cost at least $d - 2$. Interleaving needs an even number of X-before-Z orderings on the qubits each X/Z check pair shares; the pair-partition structure makes these XOR constraints on template columns. A SAT model (pysat, CaDiCaL) with one-hot layers, column conflicts, the hook clauses and the XOR constraints is unsatisfiable at 8 CX layers and satisfiable at 9.
Measured logical error rate. Reference decoder bposd-cs-10 (verify/ler_tools.py, ldpc 2.4.1), canonical noise recipe, 1500 shots per basis at $p = 0.002$, block error per round over all 24 logical qubits: X memory $1.25 \times 10^{-2}$ (138 fails), Z memory $1.46 \times 10^{-2}$ (158 fails). No circuit.ler block is filed: the reference decoder takes about 4 s per shot on these 1152-detector models, beyond what the PR gate's 120 s replica can check.
Against rotated surface patches, same recipe and decoder: 24 patches of $d = 5$ (1176 qubits) fail at $5.0 \times 10^{-2}$ per round at $p = 0.002$ (per-patch rate from codes/25-1-5.json's measured points), so this code uses $4.5\times$ fewer qubits at lower block error. 24 patches of $d = 7$ (2328 qubits) reach $1.8 \times 10^{-2}$ (worse basis, X memory of the board's circuits/49-1-7/ circuits, 211 failures in 40000 shots), so this code is also slightly ahead of the $d = 7$ array, on $8.8\times$ fewer qubits.