← back to the board
[[39,24,3]] d =
n
39
k
24
d
3
kd²/n
5.53846
w
16
X/Z
1.33
g
0.0192
r
4.1231
layers
2
swaps
11
eras
0.143

Share this result

Distance

X/Z asymmetry 1.33 · d_X = 4, d_Z = 3 · w_X = 16, w_Z = 16 (max(d_X,d_Z)/min(d_X,d_Z); each side carries its own earned tier: = certified exact, ≤ witness upper bound)
d_X 4 · witness weight 4 (claimed upper_bound)
witness found by @mathys · research/kit/surrogate.lightest_logical · found at 1000 trials · survived 1000 trials · 2026-10-31
witness operator (support, 4 qubits)
[21, 29, 30, 38]
d_Z 3 · witness weight 3 (claimed upper_bound)
witness found by @mathys · research/kit/surrogate.lightest_logical · found at 1000 trials · survived 1000 trials · 2026-10-31
witness operator (support, 3 qubits)
[20, 29, 38]
certificate exact, d = 3 · QEDist 0.1 aeb7006147b7 (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 < 4 exists; Z: no logical < 3 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 10–16 (mean 13.429) · H_Z 9–16 (mean 12.875)
qubit degrees H_X 1–4 (mean 2.41) · H_Z 1–4 (mean 2.641)
trapping sets H_X (1,1)×7 (2,1)×71 (3,0)×87 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 7 (1,2): 15 (1,3): 11 (1,4): 6 (2,1): 71 (2,2): 138 (2,3): 142 (2,4): 87 (2,5): 24 (3,0): 87 (3,1): 538 (3,2): 1336 (3,3): 1773 (3,4): 1259 (3,5): 543 (3,6): 152 (3,7): 24
trapping sets H_Z (1,1)×3 (2,1)×44 (3,1)×321 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 3 (1,2): 16 (1,3): 12 (1,4): 8 (2,1): 44 (2,2): 123 (2,3): 142 (2,4): 120 (2,5): 48 (3,1): 321 (3,2): 1192 (3,3): 1791 (3,4): 1430 (3,5): 841 (3,6): 320 (3,7): 96
witness diameter X 5.0 · Z 5.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 · Inherited from the laid-out parent codes/40-24-4.json: the parent's coordinates with the entry of the removed qubit (parent index 30) dropped, since this peel child keeps the parent's qubit order. Radius, layer count, and class re-measured by the verifier. · 2026-11-04
r = 4.123
X checkZ checkqubit site (20)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 11 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 priced calculus E-PEEL transform of codes/40-24-4.json
model Beam 1.0 (claimed, not verified)
date 2026-10-31
family other (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

[[39,24,3]] — priced-calculus transform of 40-24-4.json

Direction & hypothesis

Weight-9plus unrestricted CSS cell. Transform a connected CSS parent (40-24-4.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 deletion (C-DELETE-CHECK), peel (E-PEEL), and puncture (E-PUNCTURE) moves enumerated with machine.planner.plan from github.com/MathysRennela/code-calculus-dev @ 71c1adf (machine/priced_calculus.py, machine/planner.py). Parent: codes/40-24-4.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/40-24-4.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/40-24-4.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 7 (max weight 16) · Z-checks 8 (max weight 16)
H_X (7 checks, sparse supports)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [10, 11, 12, 13, 14, 15, 16, 17, 18, 19] [20, 21, 22, 23, 24, 25, 26, 27, 28, 29] [1, 3, 5, 8, 11, 13, 15, 18, 21, 23, 25, 28, 30, 32, 34, 37] [2, 4, 6, 8, 12, 14, 16, 18, 22, 24, 26, 28, 31, 33, 35, 37] [3, 4, 7, 8, 13, 14, 17, 18, 23, 24, 27, 28, 32, 33, 36, 37] [4, 5, 6, 9, 14, 15, 16, 19, 24, 25, 26, 29, 33, 34, 35, 38]
H_Z (8 checks, sparse supports)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [10, 11, 12, 13, 14, 15, 16, 17, 18, 19] [20, 21, 22, 23, 24, 25, 26, 27, 28, 29] [30, 31, 32, 33, 34, 35, 36, 37, 38] [1, 3, 5, 8, 11, 13, 15, 18, 21, 23, 25, 28, 30, 32, 34, 37] [2, 4, 6, 8, 12, 14, 16, 18, 22, 24, 26, 28, 31, 33, 35, 37] [3, 4, 7, 8, 13, 14, 17, 18, 23, 24, 27, 28, 32, 33, 36, 37] [4, 5, 6, 9, 14, 15, 16, 19, 24, 25, 26, 29, 33, 34, 35, 38]
Code ID 39-24-3 · download JSON · raw on GitHub