{
 "schema_version": "0.2",
 "name": "[[84,2,?]] weight-4 multivariate-bicycle finalist 5, 2D-local bilayer layout",
 "code_type": "CSS",
 "n": 84,
 "k": 2,
 "checks": {
  "X": [
   [
    0,
    28,
    42,
    77
   ],
   [
    1,
    29,
    43,
    72
   ],
   [
    2,
    24,
    44,
    73
   ],
   [
    3,
    25,
    45,
    74
   ],
   [
    4,
    26,
    46,
    75
   ],
   [
    5,
    27,
    47,
    76
   ],
   [
    6,
    34,
    48,
    83
   ],
   [
    7,
    35,
    49,
    78
   ],
   [
    8,
    30,
    50,
    79
   ],
   [
    9,
    31,
    51,
    80
   ],
   [
    10,
    32,
    52,
    81
   ],
   [
    11,
    33,
    53,
    82
   ],
   [
    12,
    40,
    47,
    54
   ],
   [
    13,
    41,
    42,
    55
   ],
   [
    14,
    36,
    43,
    56
   ],
   [
    15,
    37,
    44,
    57
   ],
   [
    16,
    38,
    45,
    58
   ],
   [
    17,
    39,
    46,
    59
   ],
   [
    4,
    18,
    53,
    60
   ],
   [
    5,
    19,
    48,
    61
   ],
   [
    0,
    20,
    49,
    62
   ],
   [
    1,
    21,
    50,
    63
   ],
   [
    2,
    22,
    51,
    64
   ],
   [
    3,
    23,
    52,
    65
   ],
   [
    10,
    24,
    59,
    66
   ],
   [
    11,
    25,
    54,
    67
   ],
   [
    6,
    26,
    55,
    68
   ],
   [
    7,
    27,
    56,
    69
   ],
   [
    8,
    28,
    57,
    70
   ],
   [
    9,
    29,
    58,
    71
   ],
   [
    16,
    30,
    65,
    72
   ],
   [
    17,
    31,
    60,
    73
   ],
   [
    12,
    32,
    61,
    74
   ],
   [
    13,
    33,
    62,
    75
   ],
   [
    14,
    34,
    63,
    76
   ],
   [
    15,
    35,
    64,
    77
   ],
   [
    22,
    36,
    71,
    78
   ],
   [
    23,
    37,
    66,
    79
   ],
   [
    18,
    38,
    67,
    80
   ],
   [
    19,
    39,
    68,
    81
   ],
   [
    20,
    40,
    69,
    82
   ],
   [
    21,
    41,
    70,
    83
   ]
  ],
  "Z": [
   [
    0,
    13,
    42,
    62
   ],
   [
    1,
    14,
    43,
    63
   ],
   [
    2,
    15,
    44,
    64
   ],
   [
    3,
    16,
    45,
    65
   ],
   [
    4,
    17,
    46,
    60
   ],
   [
    5,
    12,
    47,
    61
   ],
   [
    6,
    19,
    48,
    68
   ],
   [
    7,
    20,
    49,
    69
   ],
   [
    8,
    21,
    50,
    70
   ],
   [
    9,
    22,
    51,
    71
   ],
   [
    10,
    23,
    52,
    66
   ],
   [
    11,
    18,
    53,
    67
   ],
   [
    12,
    25,
    54,
    74
   ],
   [
    13,
    26,
    55,
    75
   ],
   [
    14,
    27,
    56,
    76
   ],
   [
    15,
    28,
    57,
    77
   ],
   [
    16,
    29,
    58,
    72
   ],
   [
    17,
    24,
    59,
    73
   ],
   [
    18,
    31,
    60,
    80
   ],
   [
    19,
    32,
    61,
    81
   ],
   [
    20,
    33,
    62,
    82
   ],
   [
    21,
    34,
    63,
    83
   ],
   [
    22,
    35,
    64,
    78
   ],
   [
    23,
    30,
    65,
    79
   ],
   [
    24,
    37,
    44,
    66
   ],
   [
    25,
    38,
    45,
    67
   ],
   [
    26,
    39,
    46,
    68
   ],
   [
    27,
    40,
    47,
    69
   ],
   [
    28,
    41,
    42,
    70
   ],
   [
    29,
    36,
    43,
    71
   ],
   [
    1,
    30,
    50,
    72
   ],
   [
    2,
    31,
    51,
    73
   ],
   [
    3,
    32,
    52,
    74
   ],
   [
    4,
    33,
    53,
    75
   ],
   [
    5,
    34,
    48,
    76
   ],
   [
    0,
    35,
    49,
    77
   ],
   [
    7,
    36,
    56,
    78
   ],
   [
    8,
    37,
    57,
    79
   ],
   [
    9,
    38,
    58,
    80
   ],
   [
    10,
    39,
    59,
    81
   ],
   [
    11,
    40,
    54,
    82
   ],
   [
    6,
    41,
    55,
    83
   ]
  ]
 },
 "distance": {
  "d": 9,
  "X": {
   "value": 9,
   "confidence": "upper_bound",
   "witness": [
    8,
    14,
    21,
    27,
    49,
    57,
    63,
    69,
    77
   ]
  },
  "Z": {
   "value": 9,
   "confidence": "upper_bound",
   "witness": [
    4,
    9,
    18,
    49,
    62,
    71,
    75,
    78,
    80
   ]
  }
 },
 "provenance": {
  "authors": [
   "@mathysrennela"
  ],
  "construction": "Two-term multivariate bicycle on Z_7 x Z_6; A=[[0, 0], [4, 4]], B=[[0, 0], [5, 5]]; identity-normalized x/y/xy supports; screen seed=20260816, sample=4.",
  "references": [
   "arXiv:2406.19151"
  ],
  "date": "2026-08-16",
  "notes": "Screened at 160 trials; package witness search used 1600 trials. Distance is an upper bound. LAYOUT added 2026-08-20: a 1-layer planar layout with measured interaction radius 6.4031 (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.0046. 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": "bivariate-bicycle",
 "locality": {
  "coordinates": [
   [
    13.0,
    6.0
   ],
   [
    8.0,
    10.0
   ],
   [
    2.0,
    12.0
   ],
   [
    0.0,
    6.0
   ],
   [
    2.0,
    0.0
   ],
   [
    8.0,
    1.0
   ],
   [
    10.0,
    1.0
   ],
   [
    11.0,
    6.0
   ],
   [
    7.0,
    11.0
   ],
   [
    2.0,
    11.0
   ],
   [
    0.0,
    5.0
   ],
   [
    4.0,
    0.0
   ],
   [
    5.0,
    0.0
   ],
   [
    9.0,
    2.0
   ],
   [
    11.0,
    7.0
   ],
   [
    6.0,
    11.0
   ],
   [
    2.0,
    10.0
   ],
   [
    0.0,
    4.0
   ],
   [
    1.0,
    3.0
   ],
   [
    6.0,
    0.0
   ],
   [
    11.0,
    3.0
   ],
   [
    10.0,
    9.0
   ],
   [
    5.0,
    13.0
   ],
   [
    0.0,
    10.0
   ],
   [
    1.0,
    9.0
   ],
   [
    0.0,
    3.0
   ],
   [
    5.0,
    1.0
   ],
   [
    10.0,
    4.0
   ],
   [
    11.0,
    9.0
   ],
   [
    6.0,
    12.0
   ],
   [
    5.0,
    12.0
   ],
   [
    0.0,
    8.0
   ],
   [
    2.0,
    2.0
   ],
   [
    6.0,
    -1.0
   ],
   [
    11.0,
    4.0
   ],
   [
    9.0,
    9.0
   ],
   [
    10.0,
    11.0
   ],
   [
    4.0,
    12.0
   ],
   [
    0.0,
    7.0
   ],
   [
    2.0,
    1.0
   ],
   [
    7.0,
    -1.0
   ],
   [
    11.0,
    5.0
   ],
   [
    12.0,
    6.0
   ],
   [
    8.0,
    11.0
   ],
   [
    3.0,
    10.0
   ],
   [
    -1.0,
    6.0
   ],
   [
    3.0,
    1.0
   ],
   [
    9.0,
    1.0
   ],
   [
    8.0,
    2.0
   ],
   [
    13.0,
    5.0
   ],
   [
    9.0,
    11.0
   ],
   [
    3.0,
    11.0
   ],
   [
    -1.0,
    5.0
   ],
   [
    3.0,
    0.0
   ],
   [
    3.0,
    -1.0
   ],
   [
    10.0,
    2.0
   ],
   [
    12.0,
    7.0
   ],
   [
    8.0,
    12.0
   ],
   [
    1.0,
    11.0
   ],
   [
    -1.0,
    4.0
   ],
   [
    -1.0,
    3.0
   ],
   [
    4.0,
    -1.0
   ],
   [
    11.0,
    2.0
   ],
   [
    12.0,
    8.0
   ],
   [
    7.0,
    12.0
   ],
   [
    1.0,
    10.0
   ],
   [
    0.0,
    9.0
   ],
   [
    0.0,
    2.0
   ],
   [
    5.0,
    -1.0
   ],
   [
    10.0,
    3.0
   ],
   [
    10.0,
    8.0
   ],
   [
    5.0,
    11.0
   ],
   [
    4.0,
    11.0
   ],
   [
    -1.0,
    8.0
   ],
   [
    1.0,
    2.0
   ],
   [
    7.0,
    0.0
   ],
   [
    12.0,
    4.0
   ],
   [
    11.0,
    10.0
   ],
   [
    10.0,
    10.0
   ],
   [
    3.0,
    12.0
   ],
   [
    -1.0,
    7.0
   ],
   [
    1.0,
    1.0
   ],
   [
    8.0,
    0.0
   ],
   [
    12.0,
    5.0
   ]
  ],
  "layers": 1,
  "interaction_radius": 6.4032,
  "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."
  }
 },
 "circuit": {
  "d_circ": {
   "X": {
    "value": 9,
    "confidence": "upper_bound",
    "witness": [
     27,
     29,
     47,
     50,
     63,
     65,
     117,
     126,
     166
    ]
   },
   "Z": {
    "value": 9,
    "confidence": "upper_bound",
    "witness": [
     56,
     71,
     397,
     405,
     428,
     458,
     698,
     745,
     753
    ]
   }
  },
  "rounds": 9,
  "stim_version": "1.16.0",
  "notes": "Generic sequential two-block extraction: one ancilla per check, X checks then Z checks each round with joint reset/measure layers; CX layers are a proper edge coloring of each Tanner graph (4 X + 4 Z CX layers per round, schedule seed 0; hook-aware orders: every CNOT order suffix needs >= d-1 further data errors to complete a logical, layered by min-conflicts search). Screened by RIS on ker(H_dem) and an observable-constrained seeded BP+OSD search; witnesses validated in GF(2).",
  "contributed_by": {
   "by": [
    "@vprusso"
   ],
   "date": "2026-09-18",
   "method": "generic CSS memory schedule: one ancilla per check, CX layers from a bipartite edge coloring, CNOT orders filtered by a hook-error criterion; screened by RIS on ker(H_dem) and an observable-constrained seeded BP+OSD search"
  }
 }
}
