← back to the board
[[39,23,2]] d =
n
39
k
23
d
2
kd²/n
2.35897
w
9
X/Z
1
g
0.014
r
3.6056
layers
2
swaps
22
eras
0.385

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 9, w_Z = 9 (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)
[8, 11]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness operator (support, 2 qubits)
[0, 19]
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 8–9 (mean 8.857) · H_Z 5–9 (mean 8.556)
qubit degrees H_X 1–4 (mean 1.59) · H_Z 1–4 (mean 1.974)
trapping sets H_X (1,1)×21 (2,0)×35 (3,0)×96 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 21 (1,2): 14 (1,3): 3 (1,4): 1 (2,0): 35 (2,1): 69 (2,2): 75 (2,3): 41 (2,4): 8 (3,0): 96 (3,1): 414 (3,2): 515 (3,3): 384 (3,4): 196 (3,5): 52 (3,6): 4
trapping sets H_Z (1,1)×14 (2,0)×10 (3,0)×46 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 14 (1,2): 15 (1,3): 7 (1,4): 3 (2,0): 10 (2,1): 42 (2,2): 89 (2,3): 77 (2,4): 38 (2,5): 14 (2,6): 1 (3,0): 46 (3,1): 238 (3,2): 545 (3,3): 711 (3,4): 588 (3,5): 286 (3,6): 82 (3,7): 28 (3,8): 3
witness diameter X 3.6056 · 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)

Circuit tier

syndrome-extraction memory circuits committed under circuits/39-23-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-18
schedule (computed from the committed circuits; displayed, never ranked)
basisqubitslayerslayers / round2q layers / round2q gates / round2q gates / layerqubit-layers
X, Z17912059573876.821,480
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 59 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)
[140, 171]
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)
[1074, 1076]
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 · fold_layout.anneal on a 5 x 5 integer grid, 2 per site, seed 5, 100000 iterations (research/local2d/layout_sweep.py) · 2026-11-17
r = 3.606
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 22 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 known parameter set; see provenance notes
construction C-ADD-CHECK strict improvement (code calculus v0.2rc): added 2 checks killing every minimum-weight logical of parent codes/39-25-1.json
model Beam 1.0 (claimed, not verified)
date 2026-10-29
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. Layout added 2026-11-17 by @vprusso: bilayer coordinates with interaction radius 3.6056 (research/local2d/layout_sweep.py, fold stage).
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,23,2]] — C-ADD-CHECK strict improvement of 39-25-1

Direction & hypothesis

Convert the parent (codes/39-25-1.json, d=2) by C-ADD-CHECK strict improvement (Proposition 18.3, code calculus v0.2rc): every minimum-weight logical class of the parent is killed by the added checks, so the child's distance is at least d+1.

What was searched

For d=1 parents: the minimum-weight classes are the bare (weight-1) logicals, enumerated in O(n); the added check supports are their union (plus a GF(2)-solved parity correction when the bare set alone is inadmissible). For d=2 parents: the weight-2 logical classes are enumerated (O(n^2)) and a greedy set-cover over admissible checks kills them within the check budget.

Evidence trail

  • Parent: codes/39-25-1.json.
  • Child witnesses: inherited from the parent where still valid, plus
  • fresh witnesses at the child's distance found by bounded scan.

  • Verified by verify/validate_candidate.py (passed: true), including the
  • random-seed refutation pass.

Dead ends

Parents whose bare-logical set gave an inadmissible check support were fixed by a parity correction solved over GF(2); parents whose system is inconsistent have no single-check fix and were skipped. Multi-check greedy at d=2 succeeds on only a minority of parents (the weight-2 class count grows quickly with n).

Tools

Model: Beam 1.0. Author: @MathysRennela. Construction calculus v0.2rc.

Reproduction

Start from codes/39-25-1.json; add the recorded checks to obtain this entry.

Parity checks

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