← back to the board
[[39,13,2]] d =
n
39
k
13
d
2
kd²/n
1.33333
w
5
X/Z
1
g
0.0063
r
5.3852
layers
1
swaps
136
eras
0.107

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 5, w_Z = 5 (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)
[0, 5]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness operator (support, 2 qubits)
[0, 36]
certificate exact, d = 2 · CryptoMiniSat 5.14 SAT · level proof_log: the refutation was re-checked by drat-trim and is replayed by CI
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 8 · H_Z 8 (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 5 · H_Z 5
qubit degrees H_X 1–2 (mean 1.667) · H_Z 1–2 (mean 1.667)
trapping sets H_X (1,1)×13 (2,0)×4 (3,0)×12 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 13 (1,2): 26 (2,0): 4 (2,1): 44 (2,2): 82 (3,0): 12 (3,1): 152 (3,2): 264 (3,3): 54 (3,4): 64
trapping sets H_Z (1,1)×13 (2,0)×4 (3,0)×12 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 13 (1,2): 26 (2,0): 4 (2,1): 44 (2,2): 82 (3,0): 12 (3,1): 152 (3,2): 264 (3,3): 54 (3,4): 64
witness diameter X 3.1623 · Z 2.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-13-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, Z16970343233810.611,830
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 34 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)
[2055, 2056]
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)
[2176, 2179]
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
r = 5.385
X checkZ checkqubit site (39)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 136 nearest-neighbor SWAPs per round in total, at most 8 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 Priced construction calculus (code-calculus-dev): C-DELETE-CHECK depth-1 over high-rate CSS parent, witness propagated by DistanceLedger
model Beam 1.0 (claimed, not verified)
builds on https://qecdb.org/codes/67a4b0149edf81e4b7e670ae (isomorphic record; research/provenance/derived.json)
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. The layout is inherited from the parent and restricted to the qubits the child kept.
family other (a tag, not a ranking)
locality 2D-local bilayer (computed from the layout)
weight class weight ≤ 6 (computed)

How this code was found

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

[[39,13,2]] — priced-calculus deletion/peel chain from a high-rate CSS parent

Direction & hypothesis

Weight-6/8/9plus local-2d board cell; aim at a board-advancing point by deforming a high-rate CSS parent with the priced construction calculus. Hypothesis: a single C-DELETE-CHECK move on a high-rate parent (k/n>=0.15, n~40) lands a d>=2 survivor at n=39.

What was searched

Parents: CSS entries with 40<=n<=80, d>=3, k/n>=0.15. Moves: C-DELETE-CHECK (depth 1) via planner.plan with structural screening. Witness search up to weight 4 per side; full validate_candidate gating.

Evidence trail

Witness-backed upper bound: d = 2 (upper bound). Full distance d = 2. Confidence: upper_bound.

Dead ends

Depth-2/3 chains on small parents yielded 11-3-3, 11-8-1, 10-7-1, 10-8-1, 9-7-1. E-EXTEND produced no survivors.

Tools

Model: Beam 1.0. Harness: research/kit, machine/priced_calculus.py and machine/planner.py from github.com/MathysRennela/code-calculus-dev. Gate: verify/validate_candidate.py.

Reproduction

Parent: a high-rate CSS entry (n~40). Single C-DELETE-CHECK per the priced calculus consumer. Full matrices in codes/39-13-2.json.

Parity checks

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