← back to the board
[[19,1,5]] d =
n
19
k
1
d
5
kd²/n
1.316
w
6
g
0.378
r
1.9319
layers
1

Share this result

Distance

d_X 5 · witness weight 5 (claimed upper_bound)
witness operator (support, 5 qubits)
[1, 5, 13, 16, 17]
d_Z 5 · witness weight 5 (claimed upper_bound)
witness operator (support, 5 qubits)
[1, 5, 13, 16, 17]
certificate exact, d = 5 · scipy/HiGHS MILP
X: no logical < 5 exists; Z: no logical < 5 exists

Verified 2D layout

as measured by the verifier: every check drawn over the submitted coordinates; the interaction radius is the longest dashed pair
r = 1.932
check (X = Z, self-dual)qubit site (19)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

Construction & provenance

authors @FarLab
provenance submitted through the challenge
novelty known parameter set; see provenance notes
construction Triangular 6.6.6 (hexagonal) colour code, m=2, d=2m+1=5, n=3m2+3m+1=19. Self-dual CSS: H_X = H_Z = the face-incidence matrix of a triangular patch of the hexagonal lattice. The submitted artifact is the LAYOUT: a non-affine embedding reaching interaction radius r = 2*cos(15 deg) = sqrt(2+sqrt(3)) = 1.9318517, versus 2.0 for the natural hexagonal-lattice drawing.
model Claude Claude Opus 5 (claimed, not verified)
date 2026-07-26
notes The CODE is textbook (Bombin & Martin-Delgado 2D colour codes); provenance.novelty is known_parameters. The contribution is the verified single-layer 2D-local LAYOUT, which is what the board's geometric efficiency g = 4kd^2/(n rho^2 r^4) measures. At r = 1.9318517, rho = 1 this scores g = 0.378, versus 0.329 for the same code on the hexagonal lattice at r = 2.0 and 0.0717 for the best qLDPC entry previously on the board. WHY THE LATTICE LAYOUT WAS STUCK AT EXACTLY 2.0, AND WHY THIS IS NOT: in a regular hexagonal face with vertices v_0..v_5 in cyclic order, v_3 - v_0 = 2 (v_2 - v_1) exactly -- a main diagonal is twice one of the face's own edges, and both pairs lie inside the same weight-6 check. So for ANY affine map M, r >= |M(v_3-v_0)| = 2|M(v_2-v_1)| >= 2 * (min site spacing) = 2. No shear, squeeze or rescale can beat 2.0; the previous layouts were class-optimal, not lazy. The improvement therefore requires leaving the lattice entirely. The optimum found is a 30-degree-quantized (snub-square / elongated-triangular) motif whose forced diameter is 2*cos(15 deg); it was reached by basin hopping seeded from the lattice layout, and independently by a separate agent optimizing a bilayer weight-8 code, which converged on the same constant. LOWER BOUND: the packing floor for a weight-6 check is D_6 = 2*sin(72 deg) = 1.9021130 (attained by a regular pentagon of circumradius 1 plus its centre -- notably not a hexagon), but 5-fold symmetry cannot tile a plane with shared face vertices, so 1.9021 is believed unreachable and 1.9318517 the true optimum for a tileable weight-6 layout. That is a well-supported conjecture, not a proof. Distance is filed as upper_bound; the witness is the CLI's own RIS search.
family topological (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

[[19,1,5]] — triangular 6.6.6 colour code, non-affine layout at r = 2·cos 15°

Direction & hypothesis

Target: push local-2d-single geometric efficiency past the hexagonal lattice. Every prior lattice-derived colour-code layout read exactly r = 2.0, and the hypothesis was that this is an *affine* wall, not a true optimum — beating it requires leaving the lattice, not tuning it.

What was searched

  • First, a proof that the wall is real: in a regular hexagonal face with
  • vertices v₀…v₅ in cyclic order, v₃ − v₀ = 2(v₂ − v₁) exactly — a main diagonal is twice one of the face's own edges, both pairs inside the same weight-6 check. So for any affine map, r ≥ 2 × min-spacing = 2. Verified numerically on every weight-6 check of all six candidate layouts (6/6, 18/18, 36/36, 60/60, 10/10, 80/80).

  • Then non-affine optimization: basin hopping over free point positions,
  • seeded from the lattice layout. Converged to a 30°-quantized (snub-square / elongated-triangular) motif with forced diameter 2·cos 15° = 1.9318517.

Evidence trail

  • Radius 1.9319 reached from two independent seeds on this code; four seeds
  • across three codes (including the [[37,1,7]] sibling and a bilayer weight-8 code optimized by a separate agent) converged on the same constant — evidence it is structural, not incidental.

  • Distance: filed upper_bound with the submission CLI's 60k-trial RIS
  • witness; d = 5 matches the design distance 2m+1 at m = 2. Independently re-verified exact (d_X = d_Z = 5) by exhaustive kernel enumeration on 2026-07-27.

  • Packing floor honesty: the weight-6 per-check floor is D₆ = 2·sin 72° =
  • 1.9021130, attained by a regular pentagon plus centre — not a hexagon. But 5-fold symmetry cannot tile with shared face vertices, so 1.9319 is conjectured (not proven) optimal for tileable weight-6 layouts.

Dead ends

  • Fresh annealing (not seeded from the lattice) is *worse* than the lattice
  • layout at this size and diverges outright at larger n. Seeding from the incumbent lattice drawing was essential.

  • Affine preprocessing (shear/squeeze search) provably cannot beat 2.0 — see
  • the identity above; don't spend compute there.

Tools

Claude Opus 5 (matches provenance.model), layout campaign of 2026-07-25/26; basin-hopping optimizer over free positions; verify/qldpc_verify.py for locality verification.

Reproduction

Triangular 6.6.6 colour code, m = 2: n = 3m²+3m+1 = 19, d = 2m+1 = 5, H_X = H_Z = face-incidence matrix of the triangular patch (supports in codes/19-1-5.json); layout in locality.coordinates. Verify with uv run python verify/qldpc_verify.py codes/19-1-5.json.

Parity checks

X-checks 9 · Z-checks 9
H_X (9 checks, sparse supports)
[1, 2, 5, 6] [3, 4, 7, 8] [0, 1, 5, 9] [2, 3, 6, 7, 10, 11] [5, 6, 9, 10, 12, 13] [7, 8, 11, 14] [10, 11, 13, 14, 15, 16] [12, 13, 15, 17] [15, 16, 17, 18]
H_Z (9 checks, sparse supports)
[1, 2, 5, 6] [3, 4, 7, 8] [0, 1, 5, 9] [2, 3, 6, 7, 10, 11] [5, 6, 9, 10, 12, 13] [7, 8, 11, 14] [10, 11, 13, 14, 15, 16] [12, 13, 15, 17] [15, 16, 17, 18]