← back to the board
[[40,24,2]] d =
n
40
k
24
d
2
kd²/n
2.4
w
8
X/Z
1
g
0.0568
r
3.6056
layers
1
swaps
10
eras
0.529

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 8, w_Z = 8 (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 operator (support, 2 qubits)
[31, 33]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness operator (support, 2 qubits)
[5, 39]
certificate exact, d = 2 · linear algebra (weight-one logical check) · 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 8 · H_Z 8
qubit degrees H_X 1–2 (mean 1.4) · H_Z 1–2 (mean 1.8)
trapping sets H_X (1,1)×24 (2,0)×76 (3,0)×8 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 24 (1,2): 16 (2,0): 76 (2,1): 48 (2,2): 56 (3,0): 8 (3,1): 376 (3,2): 352 (3,3): 32 (3,4): 32
trapping sets H_Z (1,1)×8 (2,0)×40 (3,1)×248 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 8 (1,2): 32 (2,0): 40 (2,1): 40 (2,2): 140 (3,1): 248 (3,2): 928 (3,3): 48 (3,4): 96
witness diameter X 2.2361 · Z 1.0 (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)

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 and @MathysRennela · single-layer hinge annealing at a 4.0 interaction-radius cap, integer sites, one qubit per site, 60000 iterations over up to six restarts (the hinge cost of research/local2d/hinge_anneal.py at capacity 1, on research/local2d/fold_layout.py machinery) · 2026-12-01
r = 3.606
X checkZ checkqubit site (40)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 10 nearest-neighbor SWAPs per round in total, at most 2 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 greedy multi-step (target X) step 2 from codes/40-23-2.json
model Beam 1.0 (claimed, not verified)
harness opencode (claimed, not verified)
date 2026-11-28
notes Generated by the priced construction calculus. Distance is reported only with witness-backed upper bounds; lower interval bounds are kept in the separate local ledger. The layout is inherited from the parent; its interaction radius was recomputed against this entry's own checks. Layout replaced 2026-12-01 by @MathysRennela: 1 layer at interaction radius 3.6056 replaces the 2-layer, radius 5.0 layout contributed by @vprusso on 2026-11-17.
family other (a tag, not a ranking)
locality 2D-local single (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,24,2]] — code-calculus greedy campaign candidate

Direction & hypothesis

Targeted a board-advancing entry in the weight-8, local-2d-bilayer track cell via the code-calculus greedy campaign.

What was searched

Code-calculus greedy campaign over 2D-local parents, 3 steps, budget 64, deep-verified with RIS trials.

Evidence trail

Witness-backed upper bound: d <= 2. Candidate passed the trusted validation gate and is board-advancing in its track cell (max check weight 8).

Dead ends

Not recorded for this candidate.

Tools

Model: Beam 1.0. Harness: opencode. Repo tooling: verify/validate_candidate.py, verify/qldpc_verify.py, research/kit/coordination.py.

Reproduction

Rebuild from the check matrices (H_X, H_Z) in the submitted code JSON.

Benchmark comparison (optional, Tier B/C)

Not applicable.

Parity checks

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