← back to the board
[[38,12,2]] d =
n
38
k
12
d
2
kd²/n
1.26316
w
5
X/Z
1
g
0.006
r
5.3852
layers
1
swaps
135
eras
0.207

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 5, w_Z = 4 (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)
[1, 4]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness operator (support, 2 qubits)
[0, 12]
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 4
qubit degrees H_X 1–2 (mean 1.447) · H_Z 1–2 (mean 1.579)
trapping sets H_X (1,1)×21 (2,0)×16 (3,0)×32 (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): 17 (2,0): 16 (2,1): 52 (2,2): 42 (3,0): 32 (3,1): 148 (3,2): 132 (3,3): 42 (3,4): 28
trapping sets H_Z (1,1)×16 (2,0)×6 (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): 16 (1,2): 22 (2,0): 6 (2,1): 36 (2,2): 48 (3,0): 12 (3,1): 84 (3,2): 114 (3,3): 24 (3,4): 24
witness diameter X 3.0 · Z 2.2361 (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/38-12-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, Z16862302832311.510,416
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 30 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)
[0, 17]
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)
[354, 355]
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 (38)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 135 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-2 over high-rate CSS parent, witness propagated by DistanceLedger
model Beam 1.0 (claimed, not verified)
builds on https://qecdb.org/codes/67a4b09939376ce8055b7d02 (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

[[38,12,2]] — priced-calculus deletion chain from a high-rate CSS parent

Direction & hypothesis

Weight-6 local-2d-bilayer board cell; aim at a board-advancing point by deforming a high-rate CSS parent with the priced construction calculus. Hypothesis: a depth-2 chain of C-DELETE-CHECK moves on a high-rate parent lands a d>=2 survivor at n=38.

What was searched

Parents: CSS entries with 40<=n<=70, d>=3, k/n>=0.15. Moves: C-DELETE-CHECK (depth 2) via planner.plan with structural screening. Witness search up to weight 4 per side; full validate_candidate gating. d-only gain over [[38,12,1]] audited at matched depth (leader_audit.py pair): both claims held.

Evidence trail

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

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). Depth-2 chain of C-DELETE-CHECK per the priced calculus consumer. Full matrices in codes/38-12-2.json.

Parity checks

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