{
 "schema_version": "0.2",
 "name": "[[154,8,8]] reduction of [[161,8,8]]",
 "code_type": "CSS",
 "n": 154,
 "k": 8,
 "checks": {
  "X": [
   [
    0,
    77,
    78
   ],
   [
    1,
    78
   ],
   [
    2,
    79
   ],
   [
    3,
    79,
    80
   ],
   [
    4,
    5,
    80
   ],
   [
    0,
    1,
    7,
    76,
    81,
    82
   ],
   [
    0,
    8,
    82,
    83
   ],
   [
    1,
    9,
    83,
    84
   ],
   [
    2,
    10,
    84,
    85
   ],
   [
    3,
    11,
    85,
    86
   ],
   [
    4,
    12,
    86,
    87
   ],
   [
    5,
    13,
    87,
    88
   ],
   [
    6,
    14,
    88,
    89
   ],
   [
    1,
    7,
    16,
    90,
    91
   ],
   [
    2,
    8,
    17,
    76,
    91,
    92
   ],
   [
    3,
    9,
    18,
    77,
    92,
    93
   ],
   [
    4,
    10,
    19,
    78,
    93,
    94
   ],
   [
    5,
    11,
    20,
    94,
    95
   ],
   [
    6,
    12,
    21,
    79,
    95,
    96
   ],
   [
    13,
    22,
    80,
    96,
    97
   ],
   [
    10,
    17,
    24,
    81,
    100,
    101
   ],
   [
    11,
    18,
    25,
    82,
    101,
    102
   ],
   [
    12,
    19,
    26,
    83,
    102,
    103
   ],
   [
    13,
    20,
    27,
    84,
    103,
    104
   ],
   [
    14,
    21,
    28,
    85,
    104,
    105
   ],
   [
    15,
    22,
    29,
    86,
    105,
    106
   ],
   [
    23,
    30,
    87,
    106,
    107
   ],
   [
    19,
    24,
    34,
    90,
    110,
    111
   ],
   [
    20,
    25,
    35,
    91,
    111,
    112
   ],
   [
    21,
    26,
    36,
    92,
    112,
    113
   ],
   [
    22,
    27,
    37,
    93,
    113,
    114
   ],
   [
    23,
    28,
    38,
    94,
    114,
    115
   ],
   [
    29,
    39,
    95,
    115,
    116
   ],
   [
    25,
    33,
    43,
    98,
    118,
    119
   ],
   [
    26,
    34,
    44,
    99,
    119,
    120
   ],
   [
    27,
    35,
    45,
    100,
    120,
    121
   ],
   [
    28,
    36,
    46,
    101,
    121,
    122
   ],
   [
    29,
    37,
    47,
    102,
    122,
    123
   ],
   [
    30,
    38,
    48,
    103,
    123,
    124
   ],
   [
    31,
    39,
    49,
    104,
    124,
    125
   ],
   [
    32,
    40,
    50,
    105,
    125
   ],
   [
    35,
    43,
    51,
    108,
    126,
    127
   ],
   [
    36,
    44,
    52,
    109,
    127,
    128
   ],
   [
    37,
    45,
    53,
    110,
    128,
    129
   ],
   [
    38,
    46,
    54,
    111,
    129,
    130
   ],
   [
    39,
    47,
    55,
    112,
    130,
    131
   ],
   [
    40,
    48,
    56,
    113,
    131,
    132
   ],
   [
    41,
    49,
    57,
    114,
    132,
    133
   ],
   [
    42,
    50,
    58,
    115,
    133,
    134
   ],
   [
    45,
    51,
    60,
    117,
    136,
    137
   ],
   [
    46,
    52,
    61,
    118,
    137,
    138
   ],
   [
    47,
    53,
    62,
    119,
    138,
    139
   ],
   [
    48,
    54,
    63,
    120,
    139,
    140
   ],
   [
    49,
    55,
    64,
    121,
    140,
    141
   ],
   [
    50,
    56,
    65,
    122,
    141
   ],
   [
    54,
    61,
    69,
    126,
    143,
    144
   ],
   [
    55,
    62,
    70,
    127,
    144,
    145
   ],
   [
    56,
    63,
    128,
    145,
    146
   ],
   [
    57,
    64,
    71,
    129,
    146,
    147
   ],
   [
    58,
    65,
    72,
    130,
    147,
    148
   ],
   [
    59,
    66,
    73,
    131,
    148,
    149
   ],
   [
    62,
    135,
    150
   ],
   [
    63,
    69,
    136,
    150,
    151
   ],
   [
    64,
    70,
    137,
    151
   ],
   [
    65,
    138
   ],
   [
    66,
    71,
    75,
    139,
    152
   ],
   [
    67,
    72,
    140,
    146,
    152,
    153
   ],
   [
    68,
    73,
    141,
    153
   ],
   [
    70,
    142
   ],
   [
    71,
    143
   ],
   [
    72,
    144
   ],
   [
    73,
    75,
    145
   ],
   [
    74,
    148
   ],
   [
    75,
    150
   ],
   [
    146,
    151
   ]
  ],
  "Z": [
   [
    17,
    76,
    81
   ],
   [
    0,
    18,
    77,
    82
   ],
   [
    0,
    1,
    19,
    78,
    83,
    90
   ],
   [
    2,
    3,
    21,
    79,
    85,
    92
   ],
   [
    3,
    4,
    22,
    80,
    86,
    93
   ],
   [
    4,
    5,
    23,
    87,
    94
   ],
   [
    6,
    89,
    96,
    97
   ],
   [
    7,
    24,
    81,
    90
   ],
   [
    7,
    8,
    25,
    82,
    91,
    98
   ],
   [
    8,
    9,
    26,
    83,
    92,
    99
   ],
   [
    9,
    10,
    27,
    84,
    93,
    100
   ],
   [
    10,
    11,
    28,
    85,
    94,
    101
   ],
   [
    11,
    12,
    29,
    86,
    95,
    102
   ],
   [
    12,
    13,
    30,
    87,
    96,
    103
   ],
   [
    13,
    14,
    31,
    88,
    97,
    104
   ],
   [
    14,
    15,
    32,
    89,
    105
   ],
   [
    15,
    106,
    107
   ],
   [
    33,
    98
   ],
   [
    16,
    34,
    90,
    99
   ],
   [
    16,
    17,
    35,
    91,
    100,
    108
   ],
   [
    17,
    18,
    36,
    92,
    101,
    109
   ],
   [
    18,
    19,
    37,
    93,
    102,
    110
   ],
   [
    19,
    20,
    38,
    94,
    103,
    111
   ],
   [
    20,
    21,
    39,
    95,
    104,
    112
   ],
   [
    21,
    22,
    40,
    96,
    105,
    113
   ],
   [
    22,
    23,
    41,
    97,
    106,
    114
   ],
   [
    23,
    42,
    107,
    115,
    116
   ],
   [
    43,
    98,
    108
   ],
   [
    44,
    99,
    109
   ],
   [
    24,
    45,
    100,
    110,
    117
   ],
   [
    24,
    25,
    46,
    101,
    111,
    118
   ],
   [
    25,
    26,
    47,
    102,
    112,
    119
   ],
   [
    26,
    27,
    48,
    103,
    113,
    120
   ],
   [
    27,
    28,
    49,
    104,
    114,
    121
   ],
   [
    28,
    29,
    50,
    105,
    115,
    122
   ],
   [
    29,
    30,
    106,
    116,
    123
   ],
   [
    30,
    31,
    107,
    124
   ],
   [
    31,
    32,
    125
   ],
   [
    51,
    108,
    117
   ],
   [
    33,
    52,
    109,
    118
   ],
   [
    33,
    34,
    53,
    110,
    119
   ],
   [
    34,
    35,
    54,
    111,
    120,
    126
   ],
   [
    35,
    36,
    55,
    112,
    121,
    127
   ],
   [
    36,
    37,
    56,
    113,
    122,
    128
   ],
   [
    37,
    38,
    57,
    114,
    123,
    129
   ],
   [
    38,
    39,
    58,
    115,
    124,
    130
   ],
   [
    39,
    40,
    59,
    116,
    125,
    131
   ],
   [
    31,
    40,
    41,
    125,
    132
   ],
   [
    41,
    42,
    133
   ],
   [
    42,
    134
   ],
   [
    60,
    117
   ],
   [
    43,
    61,
    118,
    126
   ],
   [
    43,
    44,
    62,
    119,
    127,
    135
   ],
   [
    44,
    45,
    63,
    120,
    128,
    136
   ],
   [
    45,
    46,
    64,
    121,
    129,
    137
   ],
   [
    46,
    47,
    65,
    122,
    130,
    138
   ],
   [
    47,
    48,
    66,
    123,
    131,
    139
   ],
   [
    48,
    49,
    67,
    124,
    132,
    140
   ],
   [
    49,
    50,
    68,
    125,
    133,
    141
   ],
   [
    51,
    69,
    126,
    136
   ],
   [
    51,
    52,
    70,
    127,
    137,
    142
   ],
   [
    53,
    54,
    71,
    129,
    139,
    143
   ],
   [
    54,
    55,
    72,
    130,
    140,
    144
   ],
   [
    55,
    56,
    73,
    131,
    141,
    145
   ],
   [
    57,
    58,
    133,
    147
   ],
   [
    58,
    59,
    74,
    134,
    148
   ],
   [
    59,
    149
   ],
   [
    62,
    63,
    75,
    139,
    145,
    150
   ],
   [
    63,
    64,
    140,
    146,
    151
   ],
   [
    66,
    67,
    149,
    152
   ],
   [
    67,
    68,
    153
   ]
  ]
 },
 "distance": {
  "d": 8,
  "X": {
   "value": 8,
   "confidence": "upper_bound",
   "witness": [
    1,
    34,
    53,
    54,
    76,
    81,
    90,
    144
   ],
   "witness_provenance": {
    "found_by": [
     "@dorakingx"
    ],
    "date": "2026-10-02",
    "found_at_samples": 20000,
    "survived_samples": 20000000,
    "tool": "gf2_fast RIS ladder (verify/gf2_fast.cpp), both sides searched jointly",
    "seeds": [
     777001,
     777138,
     777275,
     777412,
     777549
    ]
   }
  },
  "Z": {
   "value": 8,
   "confidence": "upper_bound",
   "witness": [
    66,
    71,
    74,
    108,
    126,
    143,
    147,
    148
   ],
   "witness_provenance": {
    "found_by": [
     "@dorakingx"
    ],
    "date": "2026-10-02",
    "found_at_samples": 4000,
    "survived_samples": 20000000,
    "tool": "gf2_fast RIS in the packaging search; the ladder searched both sides jointly",
    "seeds": [
     7,
     777001,
     777138,
     777275,
     777412,
     777549
    ]
   }
  }
 },
 "provenance": {
  "authors": [
   "@dorakingx"
  ],
  "construction": "Reduction of the board's codes/161-8-8.json ([[161,8,8]]) by 7 qubits at unchanged k, unchanged check-weight class and unchanged locality class, by one move applied to a fixpoint: graft a qubit away using a low-weight element of the stabilizer ROW SPACE. Let S be an element of the row space of H_X with support T and let a be in T. Replace one generator of the subset summing to S by S itself -- the span is unchanged, that generator being S plus the rest of the subset -- and add S into every other X row meeting a, so that a survives only in S. Then apply the CNOT fan-out from a to T\\{a}, which acts on the check matrices as H_X[:, b] ^= H_X[:, a] and H_Z[:, a] ^= H_Z[:, b] for each b in T\\{a}. Only S still meets a, so the first substitution turns S into the weight-1 stabilizer X_a and leaves every other X row alone; the second zeroes column a of H_Z, because commutation forces every Z row to meet T an even number of times. Qubit a is then disentangled and is deleted: n -> n-1, k unchanged, and the Z rows only LOSE an index, so their weights and support diameters cannot rise. The weight of S separates three regimes, and the difference is entirely in the clearing step R ^= S. |S| = 1: nothing is added anywhere, so the weights, the radius AND THE DISTANCE are all preserved exactly, and no distance search is needed -- this is the row-space form of the weight-1 stabilizer cleanup of Liang, Eberhardt and Chen (arXiv:2504.08887 Sec. III D step 4), which the implementation in research/local2d/boundary_engine.py applies only to literal weight-1 generator ROWS. |S| = 2: R loses a and toggles one other index, so its weight changes by 0 or -2 and can never rise. |S| >= 3: R can grow, so every touched row is checked against the code's weight class and its locality radius, measured in the source's own layout. This generalises the capped merge-graft I introduced with [[454,8,17]], which only ever built S from the generators a single qubit happens to lie in. Here the accepted grafts were . Low-weight row-space elements are enumerated as sums of at most three checks with a connected overlap pattern. Every graft with |S| >= 2 was accepted only if k was unchanged and a bit-packed RIS search found nothing lighter than 8, screened once and confirmed twice with independent seeds; those in-loop rungs are a filter, not the evidence. QUBIT POSITIONS ARE THE SOURCE'S: every surviving qubit keeps the coordinate it has in codes/161-8-8.json, so the layout is inherited rather than re-derived, and the reduction only deletes. The surviving qubits' indices into the source numbering are [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13]... (full list implied by the coordinates in this file).",
  "references": [
   "arXiv:2504.08887"
  ],
  "date": "2026-10-02",
  "notes": "Derived from codes/161-8-8.json, not an independent construction; the source's authors are @vprusso and the reduction is mine. The gate reports no exact duplicate and no WL-equivalent entry. It dominates [[161,8,8]], [[162,8,7]] on (n, k, d, w), which therefore leave the frontier of every cell they share with it. The measured interaction radius is unchanged at 4, so the reduced code is no less local than the source. Distance is a witness-backed upper bound: the deepest null result is 20000000 fresh-seed RIS trials. Literature novelty is unverified.",
  "model": "Claude Opus 5 (Claude Code)",
  "origin": "submission",
  "novelty": "unknown"
 },
 "family": "bivariate-bicycle",
 "locality": {
  "coordinates": [
   [
    1.0,
    1.0
   ],
   [
    2.0,
    2.0
   ],
   [
    3.0,
    3.0
   ],
   [
    4.0,
    4.0
   ],
   [
    5.0,
    5.0
   ],
   [
    6.0,
    6.0
   ],
   [
    7.0,
    7.0
   ],
   [
    1.0,
    -1.0
   ],
   [
    2.0,
    0.0
   ],
   [
    3.0,
    1.0
   ],
   [
    4.0,
    2.0
   ],
   [
    5.0,
    3.0
   ],
   [
    6.0,
    4.0
   ],
   [
    7.0,
    5.0
   ],
   [
    8.0,
    6.0
   ],
   [
    9.0,
    7.0
   ],
   [
    2.0,
    -2.0
   ],
   [
    3.0,
    -1.0
   ],
   [
    4.0,
    0.0
   ],
   [
    5.0,
    1.0
   ],
   [
    6.0,
    2.0
   ],
   [
    7.0,
    3.0
   ],
   [
    8.0,
    4.0
   ],
   [
    9.0,
    5.0
   ],
   [
    4.0,
    -2.0
   ],
   [
    5.0,
    -1.0
   ],
   [
    6.0,
    0.0
   ],
   [
    7.0,
    1.0
   ],
   [
    8.0,
    2.0
   ],
   [
    9.0,
    3.0
   ],
   [
    10.0,
    4.0
   ],
   [
    11.0,
    5.0
   ],
   [
    12.0,
    6.0
   ],
   [
    4.0,
    -4.0
   ],
   [
    5.0,
    -3.0
   ],
   [
    6.0,
    -2.0
   ],
   [
    7.0,
    -1.0
   ],
   [
    8.0,
    0.0
   ],
   [
    9.0,
    1.0
   ],
   [
    10.0,
    2.0
   ],
   [
    11.0,
    3.0
   ],
   [
    12.0,
    4.0
   ],
   [
    13.0,
    5.0
   ],
   [
    5.0,
    -5.0
   ],
   [
    6.0,
    -4.0
   ],
   [
    7.0,
    -3.0
   ],
   [
    8.0,
    -2.0
   ],
   [
    9.0,
    -1.0
   ],
   [
    10.0,
    0.0
   ],
   [
    11.0,
    1.0
   ],
   [
    12.0,
    2.0
   ],
   [
    6.0,
    -6.0
   ],
   [
    7.0,
    -5.0
   ],
   [
    8.0,
    -4.0
   ],
   [
    9.0,
    -3.0
   ],
   [
    10.0,
    -2.0
   ],
   [
    11.0,
    -1.0
   ],
   [
    12.0,
    0.0
   ],
   [
    13.0,
    1.0
   ],
   [
    14.0,
    2.0
   ],
   [
    7.0,
    -7.0
   ],
   [
    8.0,
    -6.0
   ],
   [
    9.0,
    -5.0
   ],
   [
    10.0,
    -4.0
   ],
   [
    11.0,
    -3.0
   ],
   [
    12.0,
    -2.0
   ],
   [
    13.0,
    -1.0
   ],
   [
    14.0,
    0.0
   ],
   [
    15.0,
    1.0
   ],
   [
    9.0,
    -7.0
   ],
   [
    10.0,
    -6.0
   ],
   [
    12.0,
    -4.0
   ],
   [
    13.0,
    -3.0
   ],
   [
    14.0,
    -2.0
   ],
   [
    17.0,
    1.0
   ],
   [
    13.0,
    -5.0
   ],
   [
    1.0,
    2.0
   ],
   [
    2.0,
    3.0
   ],
   [
    3.0,
    4.0
   ],
   [
    5.0,
    6.0
   ],
   [
    6.0,
    7.0
   ],
   [
    2.0,
    1.0
   ],
   [
    3.0,
    2.0
   ],
   [
    4.0,
    3.0
   ],
   [
    5.0,
    4.0
   ],
   [
    6.0,
    5.0
   ],
   [
    7.0,
    6.0
   ],
   [
    8.0,
    7.0
   ],
   [
    9.0,
    8.0
   ],
   [
    10.0,
    9.0
   ],
   [
    3.0,
    0.0
   ],
   [
    4.0,
    1.0
   ],
   [
    5.0,
    2.0
   ],
   [
    6.0,
    3.0
   ],
   [
    7.0,
    4.0
   ],
   [
    8.0,
    5.0
   ],
   [
    9.0,
    6.0
   ],
   [
    10.0,
    7.0
   ],
   [
    3.0,
    -2.0
   ],
   [
    4.0,
    -1.0
   ],
   [
    5.0,
    0.0
   ],
   [
    6.0,
    1.0
   ],
   [
    7.0,
    2.0
   ],
   [
    8.0,
    3.0
   ],
   [
    9.0,
    4.0
   ],
   [
    10.0,
    5.0
   ],
   [
    11.0,
    6.0
   ],
   [
    12.0,
    7.0
   ],
   [
    4.0,
    -3.0
   ],
   [
    5.0,
    -2.0
   ],
   [
    6.0,
    -1.0
   ],
   [
    7.0,
    0.0
   ],
   [
    8.0,
    1.0
   ],
   [
    9.0,
    2.0
   ],
   [
    10.0,
    3.0
   ],
   [
    11.0,
    4.0
   ],
   [
    12.0,
    5.0
   ],
   [
    5.0,
    -4.0
   ],
   [
    6.0,
    -3.0
   ],
   [
    7.0,
    -2.0
   ],
   [
    8.0,
    -1.0
   ],
   [
    9.0,
    0.0
   ],
   [
    10.0,
    1.0
   ],
   [
    11.0,
    2.0
   ],
   [
    12.0,
    3.0
   ],
   [
    13.0,
    4.0
   ],
   [
    7.0,
    -4.0
   ],
   [
    8.0,
    -3.0
   ],
   [
    9.0,
    -2.0
   ],
   [
    10.0,
    -1.0
   ],
   [
    11.0,
    0.0
   ],
   [
    12.0,
    1.0
   ],
   [
    13.0,
    2.0
   ],
   [
    14.0,
    3.0
   ],
   [
    15.0,
    4.0
   ],
   [
    7.0,
    -6.0
   ],
   [
    8.0,
    -5.0
   ],
   [
    9.0,
    -4.0
   ],
   [
    10.0,
    -3.0
   ],
   [
    11.0,
    -2.0
   ],
   [
    12.0,
    -1.0
   ],
   [
    13.0,
    0.0
   ],
   [
    8.0,
    -7.0
   ],
   [
    10.0,
    -5.0
   ],
   [
    11.0,
    -4.0
   ],
   [
    12.0,
    -3.0
   ],
   [
    13.0,
    -2.0
   ],
   [
    14.0,
    -1.0
   ],
   [
    15.0,
    0.0
   ],
   [
    16.0,
    1.0
   ],
   [
    11.0,
    -6.0
   ],
   [
    12.0,
    -5.0
   ],
   [
    15.0,
    -2.0
   ],
   [
    16.0,
    -1.0
   ]
  ],
  "interaction_radius": 4.0,
  "layers": 1
 }
}
