{
 "schema_version": "0.1",
 "name": "[[37,1,7]] triangular 6.6.6 colour code, single-layer 2D-local layout",
 "code_type": "CSS",
 "n": 37,
 "k": 1,
 "checks": {
  "X": [
   [
    1,
    2,
    7,
    8
   ],
   [
    3,
    4,
    9,
    10
   ],
   [
    5,
    6,
    11,
    12
   ],
   [
    0,
    1,
    7,
    13
   ],
   [
    2,
    3,
    8,
    9,
    14,
    15
   ],
   [
    4,
    5,
    10,
    11,
    16,
    17
   ],
   [
    7,
    8,
    13,
    14,
    18,
    19
   ],
   [
    9,
    10,
    15,
    16,
    20,
    21
   ],
   [
    11,
    12,
    17,
    22
   ],
   [
    14,
    15,
    19,
    20,
    23,
    24
   ],
   [
    16,
    17,
    21,
    22,
    25,
    26
   ],
   [
    18,
    19,
    23,
    27
   ],
   [
    20,
    21,
    24,
    25,
    28,
    29
   ],
   [
    23,
    24,
    27,
    28,
    30,
    31
   ],
   [
    25,
    26,
    29,
    32
   ],
   [
    28,
    29,
    31,
    32,
    33,
    34
   ],
   [
    30,
    31,
    33,
    35
   ],
   [
    33,
    34,
    35,
    36
   ]
  ],
  "Z": [
   [
    1,
    2,
    7,
    8
   ],
   [
    3,
    4,
    9,
    10
   ],
   [
    5,
    6,
    11,
    12
   ],
   [
    0,
    1,
    7,
    13
   ],
   [
    2,
    3,
    8,
    9,
    14,
    15
   ],
   [
    4,
    5,
    10,
    11,
    16,
    17
   ],
   [
    7,
    8,
    13,
    14,
    18,
    19
   ],
   [
    9,
    10,
    15,
    16,
    20,
    21
   ],
   [
    11,
    12,
    17,
    22
   ],
   [
    14,
    15,
    19,
    20,
    23,
    24
   ],
   [
    16,
    17,
    21,
    22,
    25,
    26
   ],
   [
    18,
    19,
    23,
    27
   ],
   [
    20,
    21,
    24,
    25,
    28,
    29
   ],
   [
    23,
    24,
    27,
    28,
    30,
    31
   ],
   [
    25,
    26,
    29,
    32
   ],
   [
    28,
    29,
    31,
    32,
    33,
    34
   ],
   [
    30,
    31,
    33,
    35
   ],
   [
    33,
    34,
    35,
    36
   ]
  ]
 },
 "distance": {
  "d": 7,
  "X": {
   "value": 7,
   "confidence": "upper_bound",
   "witness": [
    5,
    12,
    17,
    25,
    29,
    34,
    36
   ]
  },
  "Z": {
   "value": 7,
   "confidence": "upper_bound",
   "witness": [
    5,
    12,
    17,
    25,
    29,
    34,
    36
   ]
  }
 },
 "provenance": {
  "authors": [
   "@FarLab"
  ],
  "construction": "Triangular 6.6.6 (hexagonal) colour code, m=3, d=2m+1=7, n=3m^2+3m+1=37. 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.",
  "origin": "submission",
  "date": "2026-07-26",
  "model": "Claude Opus 5",
  "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.380, versus 0.331 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), reached by basin hopping seeded from the lattice layout from two independent seeds. This code has genuine bulk (18 weight-6 faces), so the compression is not a boundary artifact. 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.",
  "novelty": "known_parameters",
  "references": [
   "arXiv:quant-ph/0605138 (Bombin & Martin-Delgado, Topological quantum distillation)",
   "arXiv:1108.5738",
   "errorcorrectionzoo.org/c/triangular_color"
  ]
 },
 "family": "topological",
 "locality": {
  "coordinates": [
   [
    0.0,
    1.4064736493603427
   ],
   [
    1.0148035353450107,
    1.3570091854617672
   ],
   [
    2.917986834168341,
    1.0411304243609005
   ],
   [
    3.9138735816284003,
    1.131847491847906
   ],
   [
    5.726865017937627,
    1.7990712180655115
   ],
   [
    5.817582085424629,
    0.8031844706054523
   ],
   [
    6.420014586768904,
    0.0
   ],
   [
    1.4336584191015675,
    2.2776152019395255
   ],
   [
    2.0101650778321707,
    1.460510513090359
   ],
   [
    3.8231565141413966,
    2.127734239307965
   ],
   [
    4.730978270477568,
    1.7083541505785083
   ],
   [
    6.634686774273797,
    1.3796911293360534
   ],
   [
    7.630573521733856,
    1.4704081968230562
   ],
   [
    0.5258366627653963,
    2.6969952906689816
   ],
   [
    2.429545166561627,
    2.3683322694265305
   ],
   [
    3.2466498554107943,
    2.9448389281571328
   ],
   [
    5.150358359207025,
    2.616175906914679
   ],
   [
    6.146245106667076,
    2.7068929744016863
   ],
   [
    1.3429413516145625,
    3.2735019493995847
   ],
   [
    2.3388280990746217,
    3.3642190168865898
   ],
   [
    4.242536602870854,
    3.035555995644136
   ],
   [
    5.0596412917200215,
    3.6120626543747383
   ],
   [
    6.9633497955162476,
    3.283399633132281
   ],
   [
    2.7582081878040805,
    4.27204077322276
   ],
   [
    3.6660299441402517,
    3.8526606844933036
   ],
   [
    5.4790213804494785,
    4.519884410710909
   ],
   [
    6.38684313678565,
    4.100504321981453
   ],
   [
    1.7623214403440213,
    4.181323705735756
   ],
   [
    3.575312876653248,
    4.848547431953363
   ],
   [
    4.483134632989419,
    4.429167343223906
   ],
   [
    2.1817015290734787,
    5.089145462071927
   ],
   [
    2.998806217922646,
    5.6656521208025294
   ],
   [
    4.902514721718877,
    5.3369890995600775
   ],
   [
    3.9946929653827046,
    5.756369188289534
   ],
   [
    4.811797654231872,
    6.332875847020137
   ],
   [
    3.351809999756358,
    6.602066354739355
   ],
   [
    4.203408830010462,
    7.127501590937333
   ]
  ],
  "layers": 1
 }
}
