← back to the board
[[12,4,2]] d =
n
12
k
4
d
2
kd²/n
1.33333
w
4
X/Z
1
g
0.213
r
2.2361
layers
1
swaps
12
eras
0.157

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 4, 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 found by @MathysRennela · research/kit/surrogate.lightest_logical · found at 100 trials · survived 100 trials · 2026-10-19
witness operator (support, 2 qubits)
[8, 10]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness found by @MathysRennela · research/kit/surrogate.lightest_logical · found at 100 trials · survived 100 trials · 2026-10-19
witness operator (support, 2 qubits)
[2, 3]
certificate exact, d = 2 · tropidist b03ec2d4077f (arXiv:2611.08247) 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 acyclic (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 2–4 (mean 3.6) · H_Z 4
qubit degrees H_X 1–3 (mean 1.5) · H_Z 1
trapping sets H_X (1,1)×8 (2,0)×6 (3,1)×14 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 8 (1,2): 2 (1,3): 2 (2,0): 6 (2,1): 4 (2,2): 8 (2,3): 4 (3,1): 14 (3,2): 28 (3,3): 6
trapping sets H_Z (1,1)×12 (2,0)×18 (3,1)×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): 12 (2,0): 18 (3,1): 12
witness diameter X 1.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/12-4-2-d/ · 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-06
schedule (computed from the committed circuits; displayed, never ranked)
basisqubitslayerslayers / round2q layers / round2q gates / round2q gates / layerqubit-layers
X, Z49623028883.13,038
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)
[1, 3]
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)
[0, 48]
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 and @MathysRennela · fold_layout.search_layout on integer-grid boxes, 1 per site, 12000 iterations, 1 restart per box (research/local2d/fold_layout.py), annealed against the 4.0 single-layer cap · 2026-12-01
r = 2.236
X checkZ checkqubit site (12)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 12 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 repair of codes/12-5-1.json by adding one X-check [2, 3]
model Beam 1.0 (claimed, not verified)
date 2026-10-19
notes Layout added 2026-11-17 by @vprusso: bilayer coordinates with interaction radius 2.2361 (research/local2d/layout_sweep.py, screen stage). Layout replaced 2026-12-01 by @MathysRennela: 1 layer(s) at interaction radius 2.2361 replaces the 2-layer, radius 2.2361 layout contributed by @vprusso on 2026-11-17.
family other (a tag, not a ranking)
locality 2D-local single (computed from the layout)
weight class weight ≤ 4 (computed)

How this code was found

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

[[12,4,2]] — repair of d=1 code by adding one X check

Direction & hypothesis

Unrestricted / weight-4 cell. Raise distance of a d = 1 frontier sliver to 2 by adding one commuting check.

What was searched

Single-check additions on the deficient side of 12 open d = 1 PR codes.

Evidence trail

Repaired code passes verify/qldpc_verify.py and validate_candidate.py. Distance is a witness-backed upper bound (d <= 2).

Dead ends

Eight of twelve repairs were duplicates or dominated; four survived.

Tools

Model: Beam 1.0. Repo tooling: research/kit/coordination.py.

Reproduction

Add X check [2, 3] to the d = 1 code of PR 3934.

Parity checks

X-checks 5 (max weight 4) · Z-checks 3 (max weight 4)
H_X (5 checks, sparse supports)
[4, 5, 6, 7] [8, 9, 10, 11] [0, 1, 4, 5] [4, 5, 8, 9] [2, 3]
H_Z (3 checks, sparse supports)
[0, 1, 2, 3] [4, 5, 6, 7] [8, 9, 10, 11]
Code ID 12-4-2-d · download JSON · raw on GitHub