← back to the board
[[20,4,4]] d =
n
20
k
4
d
4
kd²/n
3.2
w
8
X/Z
1
g
0.0757
r
3.6056
layers
1
swaps
22
eras
0.001

Share this result

Distance

X/Z asymmetry 1 · d_X = 4, d_Z = 4 · w_X = 8, w_Z = 8 (max(d_X,d_Z)/min(d_X,d_Z); each side carries its own earned tier: = certified exact, ≤ witness upper bound)
d_X 4 · witness weight 4 (claimed upper_bound)
witness found by @mathysrennela · gf2_fast · found at 2×106 trials · 2026-11-12
witness operator (support, 4 qubits)
[2, 4, 10, 11]
d_Z 4 · witness weight 4 (claimed upper_bound)
witness found by @vprusso · QEDist 0.1 aeb7006147b7 exhaustive search (found_at_samples = nodes) · found at 94 trials · 2026-11-20
witness operator (support, 4 qubits)
[13, 14, 16, 17]
certificate exact, d = 4 · CryptoMiniSat 5.14 SAT · level solver: a solver verdict, no artifact a third party can check without re-running the encoding
X: no logical < 4 exists; Z: no logical < 4 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 · H_Z 8
qubit degrees H_X 1–7 (mean 3.2) · H_Z 1–7 (mean 3.2)
trapping sets H_X (1,1)×8 (2,2)×5 (3,1)×8 (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,3): 1 (1,4): 4 (1,5): 6 (1,7): 1 (2,2): 5 (2,3): 28 (2,4): 60 (2,5): 16 (2,6): 9 (2,7): 4 (3,1): 8 (3,2): 92 (3,3): 254 (3,4): 188 (3,5): 142 (3,6): 72 (3,7): 16 (3,8): 4
trapping sets H_Z (1,1)×8 (2,2)×5 (3,1)×8 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 8 (1,3): 1 (1,4): 4 (1,5): 6 (1,7): 1 (2,2): 5 (2,3): 28 (2,4): 60 (2,5): 16 (2,6): 9 (2,7): 4 (3,1): 8 (3,2): 92 (3,3): 254 (3,4): 188 (3,5): 142 (3,6): 72 (3,7): 16 (3,8): 4
witness diameter X 3.6056 · Z 2.8284 (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/20-4-4/ · canonical noise recipe, 4 rounds, stim 1.16.0
circuit contributed by @FarLab · SAT interleaved X+Z + co-scheduled minimal-flag schedule search, verified by verify/circuit_verify.py · 2026-11-20
schedule (computed from the committed circuits; displayed, never ranked)
basisqubitslayerslayers / round2q layers / round2q gates / round2q gates / layerqubit-layers
X, Z5266161416011.43,432
d_circ ≤ 4 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 16 layers per round (the deeper basis; computed, never ranked)
d_circ^X 4 · fault-set witness of 4 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 4)
[3192, 3201, 3645, 3722]
d_circ^Z 4 · fault-set witness of 4 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 4)
[3674, 3677, 3773, 3782]
1e-21e-10.0010.002physical rate pX p=0.001 (bposd-cs-10): 0.0189/round, verifiedX p=0.002 (bposd-cs-10): 0.0679/round, gateZ p=0.001 (bposd-cs-10): 0.0188/round, verifiedZ p=0.002 (bposd-cs-10): 0.068/round, gate
basisdecoderpler/round95% CIfailures/shotsstatus
Xbposd-cs-100.0020.0679[0.0648, 0.0711]2211/104verified at PR time
Xbposd-cs-100.0010.0189[0.0175, 0.0203]713/104verified post-merge (716/9999 replica shots, 2026-11-30)
Zbposd-cs-100.0020.068[0.0649, 0.0712]2213/104verified at PR time
Zbposd-cs-100.0010.0188[0.0174, 0.0203]711/104verified post-merge (681/9999 replica shots, 2026-11-30)
bposd-cs-10: ldpc 2.4.1 BpOsdDecoder. The headline rate and the LER record read the reference decoder bposd-cs-10; other decoders are separate, dashed curves. Rates are compared across entries only at equal p and equal decoder; a point whose per-shot failure fraction would exceed 1/2 is not admitted

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 = 3.606
check (X = Z, self-dual)qubit site (20)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 novelty not audited
construction code-calculus v0.2rc greedy gated
model Beam 1.0 (claimed, not verified)
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. Z-side value lowered from 7 to 4 by @vprusso on 2026-11-20: QEDist's exhaustive search (yeon-lee/QEDist, through research/certs/qedist_certify.py) exhibited a weight-4 Z-logical; found_at_samples counts the tool's search nodes (issue #6867); d = 4 is unchanged. Layout added 2026-11-17 by @vprusso: bilayer coordinates with interaction radius 4.1232 (research/local2d/layout_sweep.py, screen stage). Layout replaced 2026-12-01 by @MathysRennela: 1 layer(s) at interaction radius 3.6056 replaces the 2-layer, radius 4.1232 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 ≤ 8 (computed)

How this code was found

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

[[20,4,4]] — 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, up to 3 greedy steps, budget 32 RIS trials per candidate, sector swap enabled, domination pruning.

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 v0.2rc, research/kit coordination.

Reproduction

Run the greedy gated campaign (code-calculus v0.2rc).

Parity checks

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