{
 "schema_version": "0.2",
 "name": "[[40,2,8]], 2D-local bilayer layout",
 "code_type": "CSS",
 "n": 40,
 "k": 2,
 "checks": {
  "X": [
   [
    13,
    18,
    20,
    32,
    33,
    38
   ],
   [
    0,
    4,
    20,
    21,
    24,
    39
   ],
   [
    16,
    19,
    21,
    22,
    36,
    39
   ],
   [
    1,
    17,
    21,
    22,
    23,
    37
   ],
   [
    2,
    18,
    22,
    23,
    24,
    38
   ],
   [
    6,
    8,
    25,
    26,
    28,
    29
   ],
   [
    10,
    19,
    26,
    30,
    31,
    39
   ],
   [
    2,
    6,
    22,
    26,
    27,
    34
   ],
   [
    10,
    13,
    28,
    30,
    33,
    35
   ],
   [
    11,
    15,
    28,
    29,
    31,
    35
   ],
   [
    3,
    14,
    23,
    27,
    30,
    34
   ],
   [
    4,
    7,
    24,
    27,
    30,
    31
   ],
   [
    5,
    17,
    25,
    32,
    37,
    38
   ],
   [
    9,
    14,
    25,
    29,
    33,
    34
   ],
   [
    1,
    11,
    21,
    26,
    31,
    34
   ],
   [
    5,
    7,
    25,
    27,
    33,
    35
   ],
   [
    12,
    15,
    20,
    32,
    35,
    36
   ],
   [
    0,
    8,
    20,
    28,
    36,
    37
   ],
   [
    9,
    16,
    29,
    36,
    37,
    38
   ]
  ],
  "Z": [
   [
    0,
    1,
    16,
    17,
    21,
    37
   ],
   [
    1,
    2,
    3,
    14,
    23,
    34
   ],
   [
    2,
    3,
    4,
    7,
    24,
    27
   ],
   [
    3,
    4,
    10,
    19,
    30,
    39
   ],
   [
    1,
    4,
    11,
    19,
    21,
    31
   ],
   [
    5,
    12,
    13,
    15,
    32,
    35
   ],
   [
    5,
    6,
    7,
    14,
    25,
    27
   ],
   [
    7,
    10,
    11,
    15,
    31,
    35
   ],
   [
    5,
    8,
    9,
    17,
    25,
    37
   ],
   [
    5,
    9,
    13,
    18,
    33,
    38
   ],
   [
    6,
    8,
    10,
    11,
    26,
    28
   ],
   [
    6,
    9,
    11,
    14,
    29,
    34
   ],
   [
    0,
    12,
    16,
    19,
    36,
    39
   ],
   [
    0,
    8,
    13,
    15,
    20,
    28
   ],
   [
    7,
    10,
    13,
    14,
    30,
    33
   ],
   [
    8,
    9,
    15,
    16,
    29,
    36
   ],
   [
    2,
    16,
    17,
    18,
    22,
    38
   ],
   [
    3,
    12,
    17,
    18,
    23,
    32
   ],
   [
    0,
    4,
    12,
    18,
    20,
    24
   ]
  ]
 },
 "distance": {
  "d": 8,
  "X": {
   "value": 8,
   "confidence": "upper_bound",
   "witness": [
    6,
    10,
    14,
    19,
    29,
    31,
    34,
    36
   ]
  },
  "Z": {
   "value": 8,
   "confidence": "upper_bound",
   "witness": [
    5,
    7,
    12,
    15,
    17,
    21,
    31,
    39
   ]
  }
 },
 "provenance": {
  "authors": [
   "@mathysrennela"
  ],
  "construction": "Reconstructed from qecdb.org record (see provenance.references); H-field X/Z row split, k recomputed, witnesses from the kit's random search.",
  "origin": "submission",
  "date": "2026-08-15",
  "model": "DeepSeek V4 Flash 0731",
  "notes": " LAYOUT added 2026-08-20: a 1-layer planar layout with measured interaction radius 6.0828 (integer-grid sites, min site spacing 1.0, at most 1 qubits per site), placing the code in the local-2d-bilayer class with geometric efficiency g = 0.0093. Layout credit and method are recorded in locality.contributed_by; the code, its distance claims, and its authorship are unchanged. Part of the layout-filling effort (issue #654 discussion)."
 },
 "family": "generalized-bicycle",
 "locality": {
  "coordinates": [
   [
    6.0,
    5.0
   ],
   [
    4.0,
    7.0
   ],
   [
    4.0,
    12.0
   ],
   [
    6.0,
    11.0
   ],
   [
    9.0,
    10.0
   ],
   [
    2.0,
    9.0
   ],
   [
    7.0,
    10.0
   ],
   [
    7.0,
    11.0
   ],
   [
    3.0,
    7.0
   ],
   [
    4.0,
    8.0
   ],
   [
    8.0,
    6.0
   ],
   [
    6.0,
    9.0
   ],
   [
    8.0,
    8.0
   ],
   [
    5.0,
    10.0
   ],
   [
    7.0,
    7.0
   ],
   [
    7.0,
    8.0
   ],
   [
    6.0,
    7.0
   ],
   [
    6.0,
    10.0
   ],
   [
    8.0,
    10.0
   ],
   [
    5.0,
    6.0
   ],
   [
    4.0,
    9.0
   ],
   [
    5.0,
    7.0
   ],
   [
    8.0,
    11.0
   ],
   [
    6.0,
    12.0
   ],
   [
    9.0,
    9.0
   ],
   [
    5.0,
    8.0
   ],
   [
    7.0,
    9.0
   ],
   [
    7.0,
    12.0
   ],
   [
    4.0,
    5.0
   ],
   [
    2.0,
    8.0
   ],
   [
    7.0,
    6.0
   ],
   [
    8.0,
    9.0
   ],
   [
    3.0,
    8.0
   ],
   [
    3.0,
    9.0
   ],
   [
    5.0,
    9.0
   ],
   [
    5.0,
    11.0
   ],
   [
    6.0,
    6.0
   ],
   [
    4.0,
    10.0
   ],
   [
    4.0,
    11.0
   ],
   [
    7.0,
    5.0
   ]
  ],
  "layers": 1,
  "interaction_radius": 6.0828,
  "contributed_by": {
   "by": [
    "@willzeng"
   ],
   "date": "2026-08-20",
   "method": "Tier-0/1 pipeline: spectral (Laplacian eigenvector) initialization snapped to an integer grid, then simulated annealing over site assignments (single-qubit relocations + pair swaps, max-diameter objective, 2 seeds per layer option). Search driven by Claude Fable 5."
  }
 }
}
