Diagnostics
computed by the verifier from the parity checks, the layout, and the stored witnesses; shown as evidence, not used for ranking
girth H_X acyclic · H_Z acyclic (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 6 · H_Z 6
qubit degrees H_X 1 · H_Z 1
trapping sets H_X (1,1)×138 (2,0)×345 (3,1)×460 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 138
(2,0): 345
(3,1): 460
trapping sets H_Z (1,1)×138 (2,0)×345 (3,1)×460 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 138
(2,0): 345
(3,1): 460
Circuit tier
syndrome-extraction memory circuits committed under
circuits/138-92-2/ · canonical noise recipe, 2 rounds, stim 1.16.0
circuit contributed by
@mathysrennela · circuit_autogen schedule search (two-block interleaved, then layout, then generic), verified by verify/circuit_verify.py before writing · 2026-11-30
schedule (computed from the committed circuits; displayed, never ranked)
| basis | qubits | layers | layers / round | 2q layers / round | 2q gates / round | 2q gates / layer | qubit-layers |
|---|
| X, Z | 460 | 78 | 38 | 36 | 828 | 23.0 | 35,880 |
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 38 layers per round (the deeper basis; computed, never ranked)
d_circ^X 2 · fault-set witness of 2 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 2)
[0, 25]
d_circ^Z 2 · fault-set witness of 2 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 2)
[91, 92]
no measured logical error rate yet; d_circ is a floor, and the measured tier records the prefactor it cannot see
How this code was found
[[138,92,2]] — weight-6 pair-partition code from the code-calculus v0.3.1 constructor arm
Direction & hypothesis
Target: the weight-6 / unrestricted CSS cell. The priced construction calculus exposes a L-PAIR-PARTITION constructor whose lifts land at exactly this parameter point.
What was searched
The cc v0.3.1 pair-partition arm swept p in {17, 19, 23, 29}, block counts L in {4, 6} and five shift patterns (all-zero, identity, alternating, pairwise, reverse) for each of the X and Z block sets — 200 deterministic specifications. Applicability is decided by the constructor; 80 of the extended-grid specs were derivable and 40 produced connected codes. Each connected child was packaged with an explicit weight-2 logical on both sides and screened at 8,000 surrogate trials per side before the trusted gate.
Evidence trail
Both witnesses have weight 2 and survived 8,000 samples each, so d <= 2 on both sides. The trusted gate (verify/validate_candidate.py, full refutation on a fresh seed) returned passed: true and board_advancing: true with an empty dominated_by list and d_only_gain: false in the `weight-6 / unrestricted` cell. The claim is a witness-backed upper bound, not an exact distance.
Dead ends
Of the 200 extended-grid specs, 120 were rejected by the constructor as inapplicable (no relative-affine block-row solution) and 40 had identical X/Z shift sets, which give a direct sum the gate refuses. The companion PP-SCALE arm produced 60 connected children but all were exact duplicates of earlier staged finds and contributed nothing new. No d=3 rung was found in this grid.
Tools
Model: Hy 4 flash. Harness: opencode. Construction: code-calculus v0.3.1 L-PAIR-PARTITION priced constructor; witness search with research/kit/surrogate.py and the gf2_fast accelerator; packaging and verification through research/kit/submit.py and verify/validate_candidate.py. Compute: a few thousand cheap screens plus one full gate per survivor.
Reproduction
Constructor L-PAIR-PARTITION with p = 23, L = 6, one X block of shifts [0, 0, 0, 0, 0, 0] (all-zero) and one Z block of shifts [0, 0, 1, 1, 2, 2] (pairwise). The two check matrices are the block-circulant lifts of these shift vectors over Z_p, with the X and Z blocks paired by the constructor. Seeds 0 (X witness) and 1 (Z witness). The resulting checks have n = 138, k = 92 and maximum row weight 6 on both sides.
Parity checks
X-checks 23 (max weight 6) · Z-checks 23 (max weight 6)
H_X (23 checks, sparse supports)
[0, 23, 46, 69, 92, 115]
[1, 24, 47, 70, 93, 116]
[2, 25, 48, 71, 94, 117]
[3, 26, 49, 72, 95, 118]
[4, 27, 50, 73, 96, 119]
[5, 28, 51, 74, 97, 120]
[6, 29, 52, 75, 98, 121]
[7, 30, 53, 76, 99, 122]
[8, 31, 54, 77, 100, 123]
[9, 32, 55, 78, 101, 124]
[10, 33, 56, 79, 102, 125]
[11, 34, 57, 80, 103, 126]
[12, 35, 58, 81, 104, 127]
[13, 36, 59, 82, 105, 128]
[14, 37, 60, 83, 106, 129]
[15, 38, 61, 84, 107, 130]
[16, 39, 62, 85, 108, 131]
[17, 40, 63, 86, 109, 132]
[18, 41, 64, 87, 110, 133]
[19, 42, 65, 88, 111, 134]
[20, 43, 66, 89, 112, 135]
[21, 44, 67, 90, 113, 136]
[22, 45, 68, 91, 114, 137]
H_Z (23 checks, sparse supports)
[0, 23, 47, 70, 94, 117]
[1, 24, 48, 71, 95, 118]
[2, 25, 49, 72, 96, 119]
[3, 26, 50, 73, 97, 120]
[4, 27, 51, 74, 98, 121]
[5, 28, 52, 75, 99, 122]
[6, 29, 53, 76, 100, 123]
[7, 30, 54, 77, 101, 124]
[8, 31, 55, 78, 102, 125]
[9, 32, 56, 79, 103, 126]
[10, 33, 57, 80, 104, 127]
[11, 34, 58, 81, 105, 128]
[12, 35, 59, 82, 106, 129]
[13, 36, 60, 83, 107, 130]
[14, 37, 61, 84, 108, 131]
[15, 38, 62, 85, 109, 132]
[16, 39, 63, 86, 110, 133]
[17, 40, 64, 87, 111, 134]
[18, 41, 65, 88, 112, 135]
[19, 42, 66, 89, 113, 136]
[20, 43, 67, 90, 114, 137]
[21, 44, 68, 91, 92, 115]
[22, 45, 46, 69, 93, 116]