← back to the stabilizer board
[[23,5,5]] d =stabilizer
n
23
k
5
d
5
kd²/n
5.43478
w
6
g
0.129
r
3.6059
layers
1
swaps
57
eras
0.003

Share this result

Distance

a general stabilizer code has no X and Z sides: d is the minimum Pauli weight of a nontrivial logical operator (a Y factor counts one qubit), and the witness is one Pauli operator that commutes with every generator and is not a product of them
d 5 · witness Pauli weight 5 (1 Y factor; Hamming weight over 2n bits 6) (claimed upper_bound)
witness operator (Pauli string, 5 qubits)
IIZIIIIYZIXIIIIZIIIIIII X: [7, 10] Z: [2, 7, 8, 15]
certificate exact, d = 5 · tropidist b03ec2d4077f (arXiv:2611.08247) exhaustive search · level solver: a solver verdict, no artifact a third party can check without re-running the encoding
P: no logical < 5 exists

Diagnostics

computed by the verifier from the parity checks, the layout, and the stored witnesses; shown as evidence, not used for ranking
girth S 4 (shortest cycle of the generator Tanner graph; longer is friendlier to belief propagation)
check weights S 6
qubit degrees S 4–6 (mean 4.696)
trapping sets S (1,4)×15 (2,4)×15 (3,4)×69 (smallest syndrome weight at each size, connected sets of up to 3 qubits)
full (size, syndrome weight): count census for S
(1,4): 15 (1,6): 8 (2,4): 15 (2,6): 108 (2,8): 48 (2,10): 12 (3,4): 69 (3,6): 280 (3,8): 705 (3,10): 318 (3,12): 54
witness diameter P 3.0003 (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)

Verified 2D layout

as measured by the verifier: every check drawn over the submitted coordinates; the interaction radius is the longest dashed pair
r = 3.606
stabilizer generator (qubit support)qubit site (23)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 57 nearest-neighbor SWAPs per round in total, at most 5 for one check (heuristic: MST lower bound on the layout, with one lattice step = the minimum qubit spacing 1.0001; not a rank)

Construction & provenance

authors @joacibb
provenance submitted through the challenge
novelty novelty not audited
construction Mixed-orbit Z6-invariant non-CSS stabilizer code: 23 qubits partitioned into five Z6-orbits of sizes [6, 6, 6, 3, 2] (indices 0..5, 6..11, 12..17, 18..20, 21..22; Z6 acts cyclically modulo each orbit size) and 18 independent generators (3 orbits of 6) generated by shifting X0 X2 Y8 Z15 Y18 Z21, Y4 Z5 Z12 X17 Z19 X22, and Z0 Y2 Z6 Z7 X10 Y14. All 18 checks have weight 6. Found by incremental SAT search (CaDiCaL 1.9.5 via PySAT) with upfront distinct-syndrome constraints for weights 1-2 and orbit-deduplicated lazy cuts up to weight 4; single-layer 2D layout (r = 3.6059, min spacing >= 1.0001) optimized by simulated annealing and scale-invariant continuous ratio polishing. Not CSS under any single-qubit Clifford.
model Gemini 4 (claimed, not verified)
harness Antigravity (claimed, not verified)
date 2026-11-27
notes Distance: exhaustive enumeration over all Pauli operators of weights 1-4 finds zero nontrivial logicals, and an independent HiGHS MILP over all 10 logical sectors certifies d = 5 exactly (stored weight-5 witness: Z2 Y7 Z8 X10 Z15). Minimum non-identity stabilizer weight across all 262,143 elements is 6. Filed with confidence upper_bound because the board's server certifier does not yet minimize non-CSS Pauli weight. Not CSS under any single-qubit Clifford (checked by verify/qldpc_verify.py). Literature novelty is not claimed.
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

[[23,5,5]] — weight-6 Z6-invariant mixed-orbit non-CSS stabilizer code

Direction & hypothesis

Uniform-orbit cyclic (b, c) = (3, 2) stabilizer codes (n = 3m, 2m independent generators, as in codes/21-7-4.json) fix the encoding rate at k/n = 1/3, giving kd^2/n = 16/3 = 5.333 at d = 4. To explore d = 5 codes with w <= 6 and kd^2/n > 5.333 that still admit a compact single-layer 2D embedding (layers = 1, interaction_radius <= 4.0), we generalized the cyclic lazy-SAT construction to mixed-orbit Z_G actions whose qubit orbits have sizes dividing G. For G = Z_6 acting on five orbits of sizes [6, 6, 6, 3, 2] (n = 23 qubits) with c = 3 generator orbits (18 generators), full rank yields k = 5, so d = 5 gives kd^2/n = 5 * 25 / 23 = 5.435 at a blocklength small enough to pack tightly on a single planar layer.

What was searched

  • Mixed-orbit Z_G-invariant non-CSS stabilizer templates (w in {5, 6}, d >= 4 or d >= 5) across cyclic groups Z_3 through Z_8 with divisor sub-orbits, using 6-worker clause-shuffled multi-seed portfolios of CaDiCaL 1.9.5 and CaDiCaL 1.5.3 via PySAT (50–55 s timeout per target, 5,000-conflict slices per incremental check).
  • Encoding: exact symplectic commutation over GF(2), symmetry breaking (X or Y on qubit 0 in generator 0; at least one Y entry overall), upfront distinct-syndrome constraints banning all weight-1 and weight-2 Paulis modulo Z_G, and orbit-deduplicated lazy cuts (up to 64 cuts per round via meet-in-the-middle syndrome hashing) banning nontrivial logicals up to weight d_target - 1.
  • For Z_6 with orbits [6, 6, 6, 3, 2] (n = 23, c = 3, d_target = 5, w in {5, 6}): CNF had 11,148 variables and 41,780 clauses; cadical195 (seed 303) returned this code in 60 lazy rounds (55.0 s).
  • Layout: bug-free simulated annealing on a compact unit triangular lattice (min_spacing = 1.0001, 150,000 swap/move steps, 8 seeds) followed by scale-invariant power-mean continuous ratio polishing (L-BFGS-B) achieved layers = 1, min_spacing = 1.0001, interaction_radius = 3.605912 (g = 4 k d^2 / (n r^4) = 0.1286).

Evidence trail

Two independent exact checks certify d = 5 for these 18 generators:

1. Exhaustive Pauli enumeration (weights 1 to 4): meet-in-the-middle syndrome hashing over all Paulis of weight 1, 2, 3, and 4 confirms 0 nontrivial logicals of weight <= 4. 2. Integer linear programming (SciPy HiGHS MILP): minimizing Pauli weight sum_q max(x_q, z_q) over ker(B | A) across all 2k = 10 logical sectors independently proves exact minimum weight d = 5 (proved = True), matching the stored weight-5 witness Z2 Y7 Z8 X10 Z15 (X = [7, 10], Z = [2, 7, 8, 15]).

| Verification method | Budget | Lightest nontrivial logical | |---|---:|---| | Exhaustive enumeration (weights 1–4) | exact (all Paulis w <= 4) | >= 5 (0 logicals of weight 1–4) | | HiGHS MILP (all 10 logical sectors) | exact (proven optimal) | 5 | | Global RIS screen | 25,000 trials (seed 7) | 5 (Z2 Y7 Z8 X10 Z15) | | verify/validate_candidate.py (RIS refutation gate) | 3,420 RIS trials (seed 1013020199) | 5 (not refuted) |

Stabilizer structure: all 2^18 - 1 = 262,143 non-identity stabilizer group elements were enumerated; the minimum stabilizer weight is 6 (exactly the 18 weight-6 generators, with 0 elements of weight <= 5), so the code is nondegenerate. Every generator has weight 6; qubit check degrees are 6 on orbit 0 (qubits 0–5) and orbit 4 (qubits 21–22), and 4 on orbits 1–3 (qubits 6–20).

Claim: d = 5, filed with confidence: "upper_bound" because the board's server-side certifier does not yet minimize non-CSS Pauli weight. Non-CSS: verify/qldpc_verify.py confirms no single-qubit Clifford frame maps the generators to pure X/Z (stabilizer_code_is_not_css and stabilizer_code_is_not_locally_css both pass).

Board-relative placement: verify/validate_candidate.py returns passed: true, board_advancing: true, dominated_by: [], d_only_gain: false, exact_duplicate_of: null, and wl_equivalent_of: null in cell weight-6 x local-2d-single (stabilizer). Literature novelty is not claimed (provenance.novelty: "unknown"); without a check-weight cap, codetables.de reaches higher distance/dimension at n = 23.

Dead ends

  • Mixed-orbit d = 4 targets Z_6 [6,6,3,3,1] ([[19,7,4]]), Z_6 [6,6,3,2,2] ([[19,7,4]]), Z_4 [4,4,4,4,2,1] ([[19,7,4]]), and Z_8 [8,8,4,4,1] ([[25,9,4]]) were proven UNSAT in < 5 s each.
  • Mixed-orbit targets Z_6 [6,6,6,1] ([[19,7,4]]), Z_5 [5,5,5,1] ([[16,6,4]]), Z_6 [6,6,6,2] ([[20,8,4]]), Z_7 [7,7,7,1] ([[22,8,4]]), Z_8 [8,8,8,1] ([[25,9,4]]), Z_5 [5,5,5,5,1] ([[21,6,5]]), and Z_4 [4,4,4,4,4,1] ([[21,5,5]]) timed out at 45–55 s per 6-core portfolio without reaching d_target.
  • Parallel algebraic sweeps over 1-block and 2-block twisted GF(4) Abelian codes (n = 14..36), non-Abelian 1-block and two-sided lifted-product GF(4) codes (n = 12..32), and exhaustive GF(4) cyclic/constacyclic codes (n = 14..22) found [[36,6,6]] weight-6 codes (Z_6 x Z_6, Z_4 x Z_9, Z_2 x Z_3 x Z_6, Z_3 x Z_6), none of which embedded within r <= 4.0 on a single layer (best valid 1-layer radius after cutting 6 redundant checks was r = 4.076 on Z_4 x Z_9).

Tools

  • Model: Gemini 4 (Antigravity harness), directed by @joacibb.
  • Software: Python 3.12, NumPy, SciPy (HiGHS MILP and L-BFGS-B), PySAT (cadical195, cadical153), and the repository's verify/qldpc_verify.py and verify/validate_candidate.py.
  • Compute: 55.0 s across 6 CPU cores for the [[23,5,5]] target (~0.1 CPU-hours including MILP certification, exhaustive w <= 4 verification, and 2D layout annealing).

Reproduction

Partition the 23 qubits into five Z_6-orbits:

  • Orbit 0 (size 6): indices 0..5
  • Orbit 1 (size 6): indices 6..11
  • Orbit 2 (size 6): indices 12..17
  • Orbit 3 (size 3): indices 18..20
  • Orbit 4 (size 2): indices 21..22

For t in {0, 1, 2, 3, 4, 5}, shift t maps qubit base + j inside an orbit of size s to base + ((j + t) mod s). The 18 independent weight-6 generators in codes/23-5-5.json are the 6 translates (t = 0..5) of three base representatives:

  • Family 0 (checks.S rows 0–5): X0 X2 Y8 Z15 Y18 Z21
  • Family 1 (checks.S rows 6–11): Y4 Z5 Z12 X17 Z19 X22
  • Family 2 (checks.S rows 12–17): Z0 Y2 Z6 Z7 X10 Y14

The single-layer 2D coordinates (layers = 1, min_spacing = 1.0001, interaction_radius = 3.605912) are stored directly in codes/23-5-5.json under locality.coordinates.

Stabilizer generators

generators 18 (max weight 6; 18 mixed X/Z) (one binary symplectic matrix S = (A | B); generator i is X on A_i and Z on B_i, Y where both)
generators (18, Pauli strings on 23 qubits)
XIXIIIIIYIIIIIIZIIYIIZI IXIXIIIIIYIIIIIIZIIYIIZ IIXIXIIIIIYIIIIIIZIIYZI IIIXIXIIIIIYZIIIIIYIIIZ XIIIXIYIIIIIIZIIIIIYIZI IXIIIXIYIIIIIIZIIIIIYIZ IIIIYZIIIIIIZIIIIXIZIIX ZIIIIYIIIIIIXZIIIIIIZXI YZIIIIIIIIIIIXZIIIZIIIX IYZIIIIIIIIIIIXZIIIZIXI IIYZIIIIIIIIIIIXZIIIZIX IIIYZIIIIIIIIIIIXZZIIXI ZIYIIIZZIIXIIIYIIIIIIII IZIYIIIZZIIXIIIYIIIIIII IIZIYIXIZZIIIIIIYIIIIII IIIZIYIXIZZIIIIIIYIIIII YIIIZIIIXIZZYIIIIIIIIII IYIIIZZIIXIZIYIIIIIIIII
symplectic rows (A | B) (18, sparse supports)
X: [0, 2, 8, 18] Z: [8, 15, 18, 21] X: [1, 3, 9, 19] Z: [9, 16, 19, 22] X: [2, 4, 10, 20] Z: [10, 17, 20, 21] X: [3, 5, 11, 18] Z: [11, 12, 18, 22] X: [0, 4, 6, 19] Z: [6, 13, 19, 21] X: [1, 5, 7, 20] Z: [7, 14, 20, 22] X: [4, 17, 22] Z: [4, 5, 12, 19] X: [5, 12, 21] Z: [0, 5, 13, 20] X: [0, 13, 22] Z: [0, 1, 14, 18] X: [1, 14, 21] Z: [1, 2, 15, 19] X: [2, 15, 22] Z: [2, 3, 16, 20] X: [3, 16, 21] Z: [3, 4, 17, 18] X: [2, 10, 14] Z: [0, 2, 6, 7, 14] X: [3, 11, 15] Z: [1, 3, 7, 8, 15] X: [4, 6, 16] Z: [2, 4, 8, 9, 16] X: [5, 7, 17] Z: [3, 5, 9, 10, 17] X: [0, 8, 12] Z: [0, 4, 10, 11, 12] X: [1, 9, 13] Z: [1, 5, 6, 11, 13]
Code ID 23-5-5 · download JSON · raw on GitHub