← back to the board
[[7,1,3]] d =
n
7
k
1
d
3
kd²/n
1.28571
w
4
X/Z
1
g
0.321
r
2.0
layers
1
swaps
0
eras
0.008

Share this result

Distance

X/Z asymmetry 1 · d_X = 3, d_Z = 3 · 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 3 · witness weight 3 (claimed exact)
witness operator (support, 3 qubits)
[1, 3, 5]
d_Z 3 · witness weight 3 (claimed exact)
witness operator (support, 3 qubits)
[2, 4, 5]
certificate exact, d = 3 · scipy/HiGHS MILP · level proof_log: the refutation was re-checked by drat-trim and is replayed by CI
X: min over 1 Z-logical cosets = 3, all proven; Z: min over 1 X-logical cosets = 3, all proven

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 4 · H_Z 4
qubit degrees H_X 1–3 (mean 1.714) · H_Z 1–3 (mean 1.714)
trapping sets H_X (1,1)×3 (2,1)×9 (3,0)×7 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_X
(1,1): 3 (1,2): 3 (1,3): 1 (2,1): 9 (2,2): 6 (3,0): 7 (3,1): 12 (3,2): 6 (3,3): 3
trapping sets H_Z (1,1)×3 (2,1)×9 (3,0)×7 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for H_Z
(1,1): 3 (1,2): 3 (1,3): 1 (2,1): 9 (2,2): 6 (3,0): 7 (3,1): 12 (3,2): 6 (3,3): 3
witness diameter X 1.7321 · Z 2.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/7-1-3/ · canonical noise recipe, 3 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-19
schedule (computed from the committed circuits; displayed, never ranked)
basisqubitslayerslayers / round2q layers / round2q gates / round2q gates / layerqubit-layers
X, Z192997365.1551
d_circ ≤ 3 (min over bases; penalty-only, each basis clamped to the distance of the logical it protects, so the min is ≤ d) · 9 layers per round (the deeper basis; computed, never ranked)
d_circ^X 3 · fault-set witness of 3 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 3)
[365, 374, 386]
d_circ^Z 3 · fault-set witness of 3 mechanisms (claimed upper_bound)
witness fault set (mechanism indices in the DEM derived from the committed .stim, 3)
[214, 216, 267]
1e-31e-21e-10.0010.0020.0050.01physical rate pX p=0.001 (bposd-cs-10): 0.004/round, pendingX p=0.002 (bposd-cs-10): 0.00931/round, pendingX p=0.005 (bposd-cs-10): 0.028/round, pendingX p=0.01 (bposd-cs-10): 0.0757/round, gateZ p=0.001 (bposd-cs-10): 0.00363/round, pendingZ p=0.002 (bposd-cs-10): 0.00768/round, pendingZ p=0.005 (bposd-cs-10): 0.0269/round, pendingZ p=0.01 (bposd-cs-10): 0.0785/round, gate
basisdecoderpler/round95% CIfailures/shotsstatus
Xbposd-cs-100.010.0757[0.0722, 0.0794]1944/104verified at PR time
Xbposd-cs-100.0050.028[0.0261, 0.03]793/104pending post-merge replication
Xbposd-cs-100.0020.00931[0.00826, 0.0105]274/104pending post-merge replication
Xbposd-cs-100.0010.004[0.00334, 0.00479]119/104pending post-merge replication
Zbposd-cs-100.010.0785[0.0749, 0.0823]2005/104verified at PR time
Zbposd-cs-100.0050.0269[0.025, 0.0289]764/104pending post-merge replication
Zbposd-cs-100.0020.00768[0.00674, 0.00875]227/104pending post-merge replication
Zbposd-cs-100.0010.00363[0.00317, 0.00414]216/2×104pending post-merge replication
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
transversal gates 1 verified (qubit permutation, uniform Clifford, or block-to-block CX; action checked over GF(2) modulo stabilizers)
logical Hadamard H on every qubit · X0 → Z0, Z0 → X0
logical basis the gate actions refer to
X0 = [0, 1, 2, 3, 4, 5, 6]; Z0 = [0, 1, 2, 3, 4, 5, 6]

Verified 2D layout

as measured by the verifier: every check drawn over the submitted coordinates; the interaction radius is the longest dashed pair
r = 2
check (X = Z, self-dual)qubit site (7)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 0 nearest-neighbor SWAPs per round in total, at most 0 for one check (heuristic: MST lower bound on the layout, with one lattice step = the minimum qubit spacing 1; not a rank)

Construction & provenance

authors Steane, Andrew M.
provenance literature baseline
construction Steane code: the distance-3 2D color code.
model classical construction (no AI model)
date 1996-01-29
notes Distance is exact by construction. 2D layout added 2026-07-23: compact unit-spaced triangular patch (qubit 6, shared by all three faces, at the centre); single layer, measured interaction radius 2.0.
family topological (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

[[7,1,3]] — Steane code: the distance-3 2D color code

Direction & hypothesis

Steane code: the distance-3 2D color code.

Origin: baseline.

References: arXiv:quant-ph/9601029.

Distance is exact by construction. 2D layout added 2026-07-23: compact unit-spaced triangular patch (qubit 6, shared by all three faces, at the centre); single layer, measured interaction radius 2.0.

What was searched

Baseline contribution: parameters taken from the cited source; no original search performed for this entry.

Evidence trail

Witness-backed upper bound: d_X <= 3 (exact), d_Z <= 3 (exact), so d <= 3. Verified by verify/validate_candidate.py (passed: true).

Dead ends

Not recorded for this entry.

Tools

Model: unspecified. Authors: Steane, Andrew M.. Verified with verify/validate_candidate.py via research/kit/coordination.py gate.

Reproduction

Steane code: the distance-3 2D color code.

Max check weight: 4. Matrices in codes/7-1-3.json.

Parity checks

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