← back to the board
[[34,21,2]] d =
n
34
k
21
d
2
kd²/n
2.47059
w
12
X/Z
1
g
0.0247
r
3.1623
layers
2
swaps
12
eras
0.546

Share this result

Distance

X/Z asymmetry 1 · d_X = 2, d_Z = 2 · w_X = 12, w_Z = 10 (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, 1]
d_Z 2 · witness weight 2 (claimed upper_bound)
witness found by @vprusso · QEDist 0.1 aeb7006147b7 exhaustive search (found_at_samples = nodes) · found at 8 trials · 2026-11-20
witness operator (support, 2 qubits)
[1, 30]
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 4 · H_Z acyclic (shortest cycle of each side’s Tanner graph; longer is friendlier to belief propagation)
check weights H_X 6–12 (mean 9.0) · H_Z 6–10 (mean 6.8)
qubit degrees H_X 1–5 (mean 2.118) · H_Z 1
trapping sets H_X (1,1)×12 (2,0)×5 (3,0)×40 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 12 (1,2): 16 (1,4): 2 (1,5): 4 (2,0): 5 (2,1): 56 (2,2): 54 (2,3): 32 (2,4): 68 (2,5): 48 (3,0): 40 (3,1): 196 (3,2): 480 (3,3): 808 (3,4): 664 (3,5): 276 (3,6): 156 (3,7): 52
trapping sets H_Z (1,1)×34 (2,0)×105 (3,1)×200 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 34 (2,0): 105 (3,1): 200
witness diameter X 1.0 · Z 0.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/34-21-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, Z14416079773003.923,040
d_circ ≤ 2 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 79 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)
[1827, 1829]
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)
[262, 263]
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 5 x 5 integer grid, 2 per site, seed 5, 100000 iterations (research/local2d/layout_sweep.py) · 2026-11-17
r = 3.162
X checkZ checkqubit site (19)2 qubits stacked (2 layers)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 C-ADD-CHECK strict improvement (code calculus v0.2rc): added one check killing every minimum-weight logical of parent codes/34-22-1.json
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 3 to 2 by @vprusso on 2026-11-20: QEDist's exhaustive search (yeon-lee/QEDist, through research/certs/qedist_certify.py) exhibited a weight-2 Z-logical; found_at_samples counts the tool's search nodes (issue #6867); d = 2 is unchanged. Layout added 2026-11-17 by @vprusso: bilayer coordinates with interaction radius 3.1623 (research/local2d/layout_sweep.py, fold stage).
family other (a tag, not a ranking)
locality 2D-local bilayer (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

[[34,21,2]] — C-ADD-CHECK strict improvement of 34-22-1

Direction & hypothesis

Convert the parent (codes/34-22-1.json, d=2) by C-ADD-CHECK strict improvement (Proposition 18.3, code calculus v0.2rc): every minimum-weight logical class of the parent is killed by the added check, so the child's distance is at least d+1.

What was searched

For d=1 parents: the minimum-weight classes are the bare (weight-1) logicals, enumerated in O(n); the added check support is their union (plus a GF(2)-solved parity correction when the bare set alone is inadmissible). For d=2 parents: the weight-2 logical classes are enumerated (O(n^2)) and a greedy set-cover over admissible checks kills them within the check budget.

Evidence trail

  • Parent: codes/34-22-1.json.
  • Child witnesses: inherited from the parent where still valid, plus
  • fresh witnesses at the child's distance found by bounded scan.

  • Verified by verify/validate_candidate.py (passed: true), including the
  • random-seed refutation pass.

Dead ends

Parents whose bare-logical set gave an inadmissible check support were fixed by a parity correction solved over GF(2); parents whose system is inconsistent have no single-check fix and were skipped. Multi-check greedy at d=2 succeeds on only a minority of parents (the weight-2 class count grows quickly with n).

Tools

Model: Beam 1.0. Author: @MathysRennela. Construction calculus v0.2rc.

Reproduction

Start from codes/34-22-1.json; add the recorded check to obtain this entry.

Parity checks

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