{
 "schema_version": "0.2",
 "name": "[[90,4,9]] weight-5 mixed-monomial BB code (LLM-guided evolutionary search)",
 "code_type": "CSS",
 "n": 90,
 "k": 4,
 "checks": {
  "X": [
   [
    0,
    26,
    34,
    45,
    69
   ],
   [
    1,
    18,
    35,
    46,
    70
   ],
   [
    2,
    19,
    27,
    47,
    71
   ],
   [
    3,
    20,
    28,
    48,
    63
   ],
   [
    4,
    21,
    29,
    49,
    64
   ],
   [
    5,
    22,
    30,
    50,
    65
   ],
   [
    6,
    23,
    31,
    51,
    66
   ],
   [
    7,
    24,
    32,
    52,
    67
   ],
   [
    8,
    25,
    33,
    53,
    68
   ],
   [
    9,
    35,
    43,
    54,
    78
   ],
   [
    10,
    27,
    44,
    55,
    79
   ],
   [
    11,
    28,
    36,
    56,
    80
   ],
   [
    12,
    29,
    37,
    57,
    72
   ],
   [
    13,
    30,
    38,
    58,
    73
   ],
   [
    14,
    31,
    39,
    59,
    74
   ],
   [
    15,
    32,
    40,
    60,
    75
   ],
   [
    16,
    33,
    41,
    61,
    76
   ],
   [
    17,
    34,
    42,
    62,
    77
   ],
   [
    7,
    18,
    44,
    63,
    87
   ],
   [
    8,
    19,
    36,
    64,
    88
   ],
   [
    0,
    20,
    37,
    65,
    89
   ],
   [
    1,
    21,
    38,
    66,
    81
   ],
   [
    2,
    22,
    39,
    67,
    82
   ],
   [
    3,
    23,
    40,
    68,
    83
   ],
   [
    4,
    24,
    41,
    69,
    84
   ],
   [
    5,
    25,
    42,
    70,
    85
   ],
   [
    6,
    26,
    43,
    71,
    86
   ],
   [
    8,
    16,
    27,
    51,
    72
   ],
   [
    0,
    17,
    28,
    52,
    73
   ],
   [
    1,
    9,
    29,
    53,
    74
   ],
   [
    2,
    10,
    30,
    45,
    75
   ],
   [
    3,
    11,
    31,
    46,
    76
   ],
   [
    4,
    12,
    32,
    47,
    77
   ],
   [
    5,
    13,
    33,
    48,
    78
   ],
   [
    6,
    14,
    34,
    49,
    79
   ],
   [
    7,
    15,
    35,
    50,
    80
   ],
   [
    17,
    25,
    36,
    60,
    81
   ],
   [
    9,
    26,
    37,
    61,
    82
   ],
   [
    10,
    18,
    38,
    62,
    83
   ],
   [
    11,
    19,
    39,
    54,
    84
   ],
   [
    12,
    20,
    40,
    55,
    85
   ],
   [
    13,
    21,
    41,
    56,
    86
   ],
   [
    14,
    22,
    42,
    57,
    87
   ],
   [
    15,
    23,
    43,
    58,
    88
   ],
   [
    16,
    24,
    44,
    59,
    89
   ]
  ],
  "Z": [
   [
    0,
    30,
    45,
    65,
    73
   ],
   [
    1,
    31,
    46,
    66,
    74
   ],
   [
    2,
    32,
    47,
    67,
    75
   ],
   [
    3,
    33,
    48,
    68,
    76
   ],
   [
    4,
    34,
    49,
    69,
    77
   ],
   [
    5,
    35,
    50,
    70,
    78
   ],
   [
    6,
    27,
    51,
    71,
    79
   ],
   [
    7,
    28,
    52,
    63,
    80
   ],
   [
    8,
    29,
    53,
    64,
    72
   ],
   [
    9,
    39,
    54,
    74,
    82
   ],
   [
    10,
    40,
    55,
    75,
    83
   ],
   [
    11,
    41,
    56,
    76,
    84
   ],
   [
    12,
    42,
    57,
    77,
    85
   ],
   [
    13,
    43,
    58,
    78,
    86
   ],
   [
    14,
    44,
    59,
    79,
    87
   ],
   [
    15,
    36,
    60,
    80,
    88
   ],
   [
    16,
    37,
    61,
    72,
    89
   ],
   [
    17,
    38,
    62,
    73,
    81
   ],
   [
    3,
    18,
    46,
    63,
    83
   ],
   [
    4,
    19,
    47,
    64,
    84
   ],
   [
    5,
    20,
    48,
    65,
    85
   ],
   [
    6,
    21,
    49,
    66,
    86
   ],
   [
    7,
    22,
    50,
    67,
    87
   ],
   [
    8,
    23,
    51,
    68,
    88
   ],
   [
    0,
    24,
    52,
    69,
    89
   ],
   [
    1,
    25,
    53,
    70,
    81
   ],
   [
    2,
    26,
    45,
    71,
    82
   ],
   [
    12,
    27,
    47,
    55,
    72
   ],
   [
    13,
    28,
    48,
    56,
    73
   ],
   [
    14,
    29,
    49,
    57,
    74
   ],
   [
    15,
    30,
    50,
    58,
    75
   ],
   [
    16,
    31,
    51,
    59,
    76
   ],
   [
    17,
    32,
    52,
    60,
    77
   ],
   [
    9,
    33,
    53,
    61,
    78
   ],
   [
    10,
    34,
    45,
    62,
    79
   ],
   [
    11,
    35,
    46,
    54,
    80
   ],
   [
    21,
    36,
    56,
    64,
    81
   ],
   [
    22,
    37,
    57,
    65,
    82
   ],
   [
    23,
    38,
    58,
    66,
    83
   ],
   [
    24,
    39,
    59,
    67,
    84
   ],
   [
    25,
    40,
    60,
    68,
    85
   ],
   [
    26,
    41,
    61,
    69,
    86
   ],
   [
    18,
    42,
    62,
    70,
    87
   ],
   [
    19,
    43,
    54,
    71,
    88
   ],
   [
    20,
    44,
    55,
    63,
    89
   ]
  ]
 },
 "distance": {
  "d": 9,
  "X": {
   "value": 9,
   "confidence": "exact",
   "witness": [
    0,
    1,
    24,
    30,
    31,
    50,
    59,
    70,
    87
   ]
  },
  "Z": {
   "value": 9,
   "confidence": "exact",
   "witness": [
    1,
    9,
    35,
    37,
    50,
    51,
    65,
    66,
    72
   ]
  }
 },
 "provenance": {
  "authors": [
   "@cbjuan"
  ],
  "construction": "Bivariate bicycle code over F_2[x,y]/(x^5-1, y^9-1), weight-5 mixed-monomial polynomials A = 1 + x^2 y^8 + x^3 y^7, B = 1 + x^2 y^6, found by an LLM-guided evolutionary search (OpenEvolve, weight-5 mixed-monomial campaign) over CSS BB polynomial pairs. This connected (ell=5, m=9) presentation is BLISS-isomorphic to one of 2 identical connected components of a disconnected parent BB code (ell=10, m=9, k=8, n=180, A = 1 + x^4 y^8 + x^6 y^7, B = 1 + x^4 y^6) whose exact distance d=9 was established by MILP in the source repository; the component presentation used here was independently re-verified exact (d_X=d_Z=9, no lighter logical on either side) with this repository's own verify/certify.py (scipy/HiGHS MILP, tlim=600s, 70s wall time).",
  "references": [
   "an internal weight-5 bivariate-bicycle evolutionary campaign in github.com/qiskit-community/qcode-discovery (branch weight5-campaigns, not part of a public branch at the time of this submission -- this submission's own distance/CSS claims are independently re-derived and re-verified using only this repository's tools and do not rely on that source being externally checkable)"
  ],
  "date": "2026-09-07",
  "notes": "Independently corroborated with this repo's own tools before submission: research/kit/surrogate.py distance_rand at 5,000 and 50,000 trials both returned d=9; research/kit/distance.py decoder_distance (BP+OSD, 200,000 injected-error trials) returned d_heuristic=9, verdict=corroborated; research/kit/distance.py exact_distance (scipy/HiGHS MILP) proved d_X=d_Z=9 exact. Per the source campaign's own per-candidate model-attribution log, this code was independently discovered by both GPT 5.6 Sol (first, chronologically, within the ensemble run) and Claude Opus 5 (rediscovered later, independently, in the same run) -- this is recorded as joint/dual attribution, not resolved to a single model. This submission's re-verification and packaging was done separately by Claude Sonnet 5.",
  "model": [
   "GPT 5.6 Sol",
   "Claude Opus 5"
  ]
 },
 "family": "bivariate-bicycle",
 "circuit": {
  "d_circ": {
   "X": {
    "value": 9,
    "confidence": "upper_bound",
    "witness": [
     11,
     15,
     54,
     58,
     63,
     67,
     91,
     114,
     116
    ]
   },
   "Z": {
    "value": 9,
    "confidence": "upper_bound",
    "witness": [
     60,
     72,
     174,
     188,
     567,
     571,
     1231,
     1245,
     1646
    ]
   }
  },
  "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 (5 X + 5 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, with the exact completion cost, layered by min-conflicts search). Pairs of hooks on different ancillas of the same type are also constrained: an assignment pair is admitted only if every such hook pair needs >= d faults in total (2 + flags + completion cost). 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-19",
   "method": "generic CSS memory schedule with one flag qubit per check: CX layers from a bipartite edge coloring, the flag coupled to the ancilla after the first and the second-to-last CX slot and measured every round, slot assignments filtered by an exact hook-cost criterion over single, same-ancilla and cross-ancilla hook pairs; screened by RIS and a seeded BP+OSD search"
  }
 }
}
