← back to the board
[[38,16,2]] d =
n
38
k
16
d
2
kd²/n
1.68421
w
5
X/Z
1
g
0.0399
r
3.6056
layers
1
swaps
46
eras
0.298

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 found by @mathysrennela · gf2_fast · found at 2×106 trials · 2026-11-12
witness operator (support, 2 qubits)
[13, 24]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness operator (support, 2 qubits)
[3, 35]
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 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.447) · H_Z 1–2 (mean 1.447)
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)×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_Z
(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
witness diameter X 2.0 · Z 3.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/38-16-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, Z1487034322868.910,360
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)
[86, 106]
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)
[389, 390]
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 7 x 7 integer grid, 1 per site, seed 7, 100000 iterations (research/local2d/layout_sweep.py) · 2026-11-17
r = 3.606
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 46 nearest-neighbor SWAPs per round in total, at most 4 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 code-calculus v0.2rc greedy gated
model Beam 1.0 (claimed, not verified)
builds on https://qecdb.org/codes/67a4b0149edf81e4b7e670ae (isomorphic record; research/provenance/derived.json)
date 2026-11-12
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: single-layer coordinates with interaction radius 3.6056 (research/local2d/layout_sweep.py, fold stage).
family other (a tag, not a ranking)
locality 2D-local single (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,16,2]] — code-calculus v0.2rc greedy gated

Direction & hypothesis

Frontier gaps in the CSS track via greedy multi-step composition of C-DELETE-CHECK, E-PEEL, and E-PUNCTURE (code-calculus v0.2rc).

What was searched

CSS parents from codes/ with n <= 10, up to 3 greedy steps, budget 16 RIS trials per candidate, sector swap enabled, domination pruning. See the greedy gated campaign (code-calculus v0.2rc).

Evidence trail

Witness-backed upper bound validated by verify/validate_candidate.py (passed: true). Model: Beam 1.0.

Dead ends

Sector-swap-only, strict C-ADD-CHECK addition, and E-GLUE produced no board-advancing codes in this campaign.

Tools

code-calculus-dev (latest), research/kit coordination.

Reproduction

Run the greedy gated campaign (code-calculus v0.2rc) at n<=10, 3 steps, budget 16.

Parity checks

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