← back to the board
[[40,29,2]] d =
n
40
k
29
d
2
kd²/n
2.9
w
24
X/Z
1
g
0.0018
r
6.3246
layers
2
swaps
5
eras
0.458

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 24, w_Z = 24 (max(d_X,d_Z)/min(d_X,d_Z); each side carries its own earned tier: = certified exact, ≤ witness upper bound)
d_X 2 · witness weight 2 (claimed upper_bound)
witness found by @mathys · research/kit/surrogate.lightest_logical · found at 1000 trials · survived 1000 trials · 2026-11-01
witness operator (support, 2 qubits)
[15, 20]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness found by @mathys · research/kit/surrogate.lightest_logical · found at 1000 trials · survived 1000 trials · 2026-11-01
witness operator (support, 2 qubits)
[0, 5]
certificate exact, d = 2 · QEDist 0.1 (yeon-lee/QEDist) exhaustive search · level solver: a solver verdict, no artifact a third party can check without re-running the encoding
X: no logical < 2 exists; Z: no logical < 2 exists

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 4 · H_Z 4 (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 24 · H_Z 23–24 (mean 23.833)
qubit degrees H_X 1–5 (mean 3.0) · H_Z 2–5 (mean 3.575)
trapping sets H_X (1,1)×2 (2,0)×27 (3,0)×316 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 2 (1,2): 10 (1,3): 17 (1,4): 8 (1,5): 3 (2,0): 27 (2,1): 117 (2,2): 242 (2,3): 252 (2,4): 84 (3,0): 316 (3,1): 1560 (3,2): 3054 (3,3): 2888 (3,4): 1406 (3,5): 287
trapping sets H_Z (1,2)×6 (2,0)×11 (3,0)×153 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,2): 6 (1,3): 13 (1,4): 13 (1,5): 8 (2,0): 11 (2,1): 72 (2,2): 184 (2,3): 263 (2,4): 169 (2,5): 48 (3,0): 153 (3,1): 965 (3,2): 2384 (3,3): 3005 (3,4): 2223 (3,5): 895 (3,6): 146
witness diameter X 3.0 · Z 6.0828 (Euclidean support diameter of the stored distance witnesses in the layout; an upper bound on the exhibited logicals’ spread, not a minimum over all logicals)

Circuit tier

syndrome-extraction memory circuits committed under circuits/40-29-2/ · canonical noise recipe, 2 rounds, stim 1.16.0
circuit contributed by @vprusso · circuit_autogen schedule search (two-block interleaved, then layout, then generic), verified by verify/circuit_verify.py before writing · 2026-11-06
schedule (computed from the committed circuits; displayed, never ranked)
basisqubitslayerslayers / round2q layers / round2q gates / round2q gates / layerqubit-layers
X, Z2262421201186135.254,692
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 120 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)
[48, 49]
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)
[4878, 4879]
no measured logical error rate yet; d_circ is a floor, and the measured tier records the prefactor it cannot see

Verified 2D layout

as measured by the verifier: every check drawn over the submitted coordinates; the interaction radius is the longest dashed pair
layout contributed by @vprusso · Inherited from the laid-out parent codes/42-14-6.json: the parent's coordinates with the entries of the removed qubits (parent indices 6, 33) dropped, since this peel chain keeps the parent's qubit order. Radius, layer count, and class re-measured by the verifier. · 2026-11-04
r = 6.325
X checkZ checkqubit site (21)2 qubits stacked (2 layers)dashed: the pair setting the interaction radiushover a check to isolate its qubits; click to pin — repeated clicks cycle through overlapping checks; click empty space to release
routing cost 5 nearest-neighbor SWAPs per round in total, at most 3 for one check (heuristic: MST lower bound on the layout, with one lattice step = the minimum qubit spacing 1; not a rank)

Construction & provenance

provenance submitted through the challenge
novelty novelty not audited
construction priced calculus E-PEEL transform of codes/42-14-6.json
model Beam 1.0 (claimed, not verified)
date 2026-11-01
family generalized bicycle (a tag, not a ranking)
locality 2D-local bilayer (computed from the layout)
weight class weight > 8 (computed)

How this code was found

the research note submitted with this code · raw markdown · all notes

[[40,29,2]] — priced calculus E-PEEL transform of 42-14-6.json

Direction & hypothesis

Weight-24 unrestricted CSS cell. Transform a connected CSS parent (42-14-6.json, a board entry) with the priced construction calculus to obtain a connected child that is not dominated by any existing entry in its track cell.

What was searched

Single-step and depth-2 deletion (C-DELETE-CHECK), peel (E-PEEL), and puncture (E-PUNCTURE) moves enumerated with machine.planner.plan from github.com/MathysRennela/code-calculus-dev. Parent: codes/42-14-6.json. Rule used for this survivor: E-PEEL. Connected children only; bare-qubit children and dominated candidates dropped. Witness search at 1000 RIS trials per side (research/kit/surrogate.lightest_logical, seeds 0/1), then verify/validate_candidate.py with full refutation.

Evidence trail

The submitted distance is a witness-backed upper bound: d = min(d_X, d_Z) with explicit X and Z logical witnesses carried in the JSON. The gate's random-seed refutation found no lighter logical. Parent entry: codes/42-14-6.json.

Dead ends

Other single-step moves from the same parents were discarded as disconnected, bare-qubit children, dominated candidates, or refuted by the gate.

Tools

Model: Beam 1.0. Harness: research/kit (coordination, submit, prescreen), code-calculus consumer. Approx compute: CPU only.

Reproduction

Rebuild H_X/H_Z from codes/42-14-6.json by applying the E-PEEL move of the priced calculus as recorded above; re-run the witness search at the stated budget.

Parity checks

X-checks 5 (max weight 24) · Z-checks 6 (max weight 24)
H_X (5 checks, sparse supports)
[0, 3, 5, 6, 7, 8, 10, 13, 14, 15, 17, 18, 20, 21, 23, 24, 26, 28, 32, 33, 34, 35, 36, 39] [0, 2, 5, 6, 8, 9, 10, 12, 15, 16, 17, 19, 21, 22, 23, 25, 26, 28, 30, 34, 35, 36, 37, 38] [0, 2, 3, 5, 7, 9, 11, 12, 13, 15, 18, 19, 20, 21, 24, 25, 26, 28, 29, 31, 32, 37, 38, 39] [0, 1, 2, 4, 5, 6, 9, 11, 13, 14, 15, 17, 20, 21, 22, 23, 26, 27, 28, 30, 31, 32, 34, 39] [0, 3, 4, 5, 6, 7, 9, 12, 14, 16, 17, 18, 22, 23, 24, 25, 26, 29, 30, 31, 32, 33, 35, 37]
H_Z (6 checks, sparse supports)
[0, 2, 3, 4, 6, 7, 8, 9, 10, 15, 17, 19, 20, 23, 25, 26, 28, 29, 30, 32, 34, 35, 36, 38] [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 16, 18, 21, 24, 26, 27, 29, 30, 31, 33, 35, 36, 37, 39] [0, 2, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 20, 21, 23, 25, 28, 30, 31, 32, 33, 34, 37, 39] [3, 5, 6, 7, 9, 10, 11, 14, 15, 16, 17, 18, 20, 22, 23, 24, 26, 28, 31, 32, 33, 35, 36, 37] [0, 5, 6, 8, 9, 11, 12, 13, 16, 17, 18, 19, 22, 24, 25, 26, 28, 30, 32, 34, 35, 37, 38, 39] [0, 1, 2, 6, 8, 10, 11, 13, 14, 15, 18, 19, 20, 21, 24, 26, 27, 28, 30, 34, 36, 37, 39]
Code ID 40-29-2 · download JSON · raw on GitHub