| basis | qubits | layers | layers / round | 2q layers / round | 2q gates / round | 2q gates / layer | qubit-layers |
|---|---|---|---|---|---|---|---|
| X, Z | 200 | 79 | 11 | 9 | 520 | 57.8 | 15,800 |
Pair-partition CPM lift (Okada-Kasai, arXiv:2607.14091) of a sparse 4x10 base template over Z_10; exact d=(7,7) certified by meet-in-the-middle and zero-symmetry connected-circuit search.
circuits/100-20-7/ holds an interleaved memory experiment with $d_{\text{circ}} = 7$ on both bases, which tropidist (github.com/Fanerst/tropidist @ b03ec2d, arXiv:2611.08247) proves exact: no undetected logical fault set of weight 6 or less exists in either committed detector error model. research/audits/circuit_distance_bounds.py reproduces the verdict (sector reduction and round collapse, about 2 s per basis).
Schedule. Each of the 7 rounds is one reset layer, 9 CX layers and one measurement layer (11 layers), on 200 qubits: 100 data, 80 check ancillas, 20 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}_{10}$ lift):
| Row | L0 | L1 | L2 | L3 | L4 | L5 | L6 | L7 | L8 | |---|---|---|---|---|---|---|---|---|---| | X0 | | | c7 | c8 | c2 | c0 | c5 | | c3 | | X1 | c2 | c5 | c4 | c1 | c3 | c6 | | | | | X2 | c0 | c8 | | c2 | c1 | c9 | c3 | | | | X3 | c7 | flag | c1 | c9 | c4 | | c0 | flag | c6 | | Z0 | | c0 | flag | c7 | c5 | c2 | c6 | flag | c4 | | Z1 | c8 | c1 | c9 | c4 | c6 | c3 | | | | | Z2 | | c7 | | | c8 | c5 | c9 | c1 | c0 | | Z3 | | c2 | c8 | c5 | c9 | c4 | | 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 3$ against queries of weight $\le 2$). Rows X3 and Z0 admit no bare order with every hook costing at least $d - 1$, so each of their 20 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, 4000 shots per point, block error per round over all 20 logical qubits:
| $p$ | X memory | Z memory | |---|---|---| | 0.002 | $1.92 \times 10^{-2}$ (479 fails) | $1.76 \times 10^{-2}$ (443) | | 0.001 | $1.62 \times 10^{-3}$ (45) | $1.33 \times 10^{-3}$ (37) |
At $p = 0.005$ the shot failure rate is 0.92, saturated. No circuit.ler block is filed: the reference decoder takes about 2 s per shot on these 700-detector models, so the PR gate's 120 s replica cannot reach the roughly 40 failures its admissibility bound needs at $p = 0.002$.
Against rotated surface patches, same recipe and decoder: 20 patches of $d = 5$ (980 qubits) fail at $4.1 \times 10^{-2}$ per round at $p = 0.002$ and $6.0 \times 10^{-3}$ at $p = 0.001$ (from codes/25-1-5.json's measured points), so this code uses $4.9\times$ fewer qubits at $2.2\times$ and $3.7\times$ lower block error. 20 patches of $d = 7$ (1940 qubits) do better than this code, at $9.7\times$ the qubits: $1.5 \times 10^{-2}$ per round at $p = 0.002$ (worse basis, X memory of the board's circuits/49-1-7/ circuits, 211 failures in 40000 shots) and about $6 \times 10^{-4}$ at $p = 0.001$ (Z memory only, 8 failures in 40000). BP+OSD is not the strongest surface-code decoder, so the $d = 5$ comparison favors this code somewhat.