{
 "schema_version": "0.2",
 "name": "[[60,8,6]] twisted-torus BB code (arXiv:2503.03827)",
 "code_type": "CSS",
 "n": 60,
 "k": 8,
 "checks": {
  "X": [
   [
    0,
    1,
    11,
    30,
    32,
    33
   ],
   [
    1,
    3,
    16,
    31,
    34,
    36
   ],
   [
    2,
    4,
    17,
    32,
    35,
    37
   ],
   [
    3,
    6,
    21,
    33,
    37,
    40
   ],
   [
    4,
    7,
    22,
    34,
    38,
    41
   ],
   [
    0,
    5,
    8,
    35,
    39,
    42
   ],
   [
    6,
    10,
    20,
    36,
    41,
    45
   ],
   [
    7,
    11,
    26,
    37,
    42,
    46
   ],
   [
    1,
    8,
    12,
    38,
    43,
    47
   ],
   [
    2,
    9,
    13,
    39,
    44,
    48
   ],
   [
    10,
    15,
    24,
    40,
    44,
    46
   ],
   [
    11,
    16,
    25,
    41,
    47,
    51
   ],
   [
    3,
    12,
    17,
    42,
    48,
    52
   ],
   [
    4,
    13,
    18,
    30,
    43,
    49
   ],
   [
    5,
    14,
    19,
    44,
    50,
    53
   ],
   [
    14,
    15,
    27,
    45,
    49,
    51
   ],
   [
    16,
    21,
    28,
    46,
    50,
    52
   ],
   [
    6,
    17,
    22,
    30,
    47,
    56
   ],
   [
    0,
    7,
    18,
    31,
    48,
    53
   ],
   [
    8,
    19,
    23,
    32,
    49,
    54
   ],
   [
    9,
    20,
    24,
    50,
    55,
    57
   ],
   [
    20,
    21,
    29,
    51,
    54,
    56
   ],
   [
    10,
    22,
    26,
    31,
    52,
    55
   ],
   [
    2,
    12,
    23,
    34,
    53,
    57
   ],
   [
    13,
    24,
    27,
    35,
    54,
    58
   ],
   [
    14,
    25,
    28,
    36,
    55,
    59
   ],
   [
    15,
    25,
    26,
    33,
    56,
    58
   ],
   [
    5,
    18,
    27,
    38,
    57,
    59
   ],
   [
    19,
    28,
    29,
    39,
    40,
    58
   ],
   [
    9,
    23,
    29,
    43,
    45,
    59
   ]
  ],
  "Z": [
   [
    0,
    13,
    17,
    30,
    35,
    48
   ],
   [
    1,
    18,
    22,
    30,
    31,
    38
   ],
   [
    0,
    2,
    19,
    32,
    39,
    53
   ],
   [
    0,
    3,
    26,
    31,
    33,
    42
   ],
   [
    1,
    4,
    23,
    32,
    34,
    43
   ],
   [
    2,
    5,
    24,
    35,
    44,
    57
   ],
   [
    1,
    6,
    25,
    33,
    36,
    47
   ],
   [
    2,
    3,
    7,
    34,
    37,
    48
   ],
   [
    4,
    8,
    27,
    35,
    38,
    49
   ],
   [
    5,
    9,
    28,
    39,
    50,
    59
   ],
   [
    3,
    10,
    28,
    36,
    40,
    52
   ],
   [
    4,
    6,
    11,
    30,
    37,
    41
   ],
   [
    5,
    7,
    12,
    38,
    42,
    53
   ],
   [
    8,
    13,
    29,
    39,
    43,
    54
   ],
   [
    9,
    10,
    14,
    44,
    45,
    55
   ],
   [
    6,
    15,
    29,
    40,
    45,
    56
   ],
   [
    7,
    10,
    16,
    31,
    41,
    46
   ],
   [
    8,
    11,
    17,
    32,
    42,
    47
   ],
   [
    9,
    12,
    18,
    43,
    48,
    57
   ],
   [
    13,
    15,
    19,
    44,
    49,
    58
   ],
   [
    14,
    16,
    20,
    36,
    50,
    51
   ],
   [
    11,
    15,
    21,
    33,
    46,
    51
   ],
   [
    12,
    16,
    22,
    34,
    47,
    52
   ],
   [
    14,
    18,
    23,
    49,
    53,
    59
   ],
   [
    19,
    21,
    24,
    40,
    50,
    54
   ],
   [
    20,
    22,
    25,
    41,
    55,
    56
   ],
   [
    17,
    21,
    26,
    37,
    52,
    56
   ],
   [
    20,
    23,
    27,
    45,
    54,
    57
   ],
   [
    24,
    26,
    28,
    46,
    55,
    58
   ],
   [
    25,
    27,
    29,
    51,
    58,
    59
   ]
  ]
 },
 "distance": {
  "d": 6,
  "X": {
   "value": 6,
   "confidence": "upper_bound",
   "witness": [
    14,
    24,
    44,
    50,
    58,
    59
   ]
  },
  "Z": {
   "value": 6,
   "confidence": "upper_bound",
   "witness": [
    2,
    8,
    13,
    23,
    35,
    43
   ]
  }
 },
 "provenance": {
  "authors": [
   "Zijian Liang",
   "Ke Liu",
   "Hao Song",
   "Yu-An Chen"
  ],
  "construction": "Twisted-torus bivariate-bicycle code from Generalized toric codes on twisted tori for quantum error correction (PRX Quantum 6, 020357, 2025). Stabilizers f(x,y)=1+x+y^-2, g(x,y)=1+y+x^2 on the abelian quotient group Z^2/L with twist basis a_1=[0, 10], a_2=[3, 3] (n=2|det[a_1,a_2]|=2*30). Reconstructed from the published polynomials and twist; CSS form H_X=[f|g], H_Z=[gbar|fbar].",
  "references": [
   "arXiv:2503.03827"
  ],
  "date": "2025",
  "notes": "Reconstructed baseline from Liang, Liu, Song, Chen, Generalized toric codes on twisted tori for quantum error correction (PRX Quantum 6, 020357, 2025), arXiv:2503.03827. The [[n,k,d]] parameter set and stabilizer polynomials are published in that paper; this entry reproduces them. Distance is an upper bound per the paper (probabilistic for d>20); the witness is the surrogate logical of that weight. Seeded to fill a board coverage gap at this block size, not a discovery.\n\nLayout certification: a verifier-accepted honest bilayer layout (stacked 5x6 grid, 2 qubits per site, layers=2, measured interaction radius ~5.831) was found by @mathysrennela (Aug 2026). It earns the code the local-2d-bilayer class and makes the site's geometric efficiency g = 4kd^2/(n rho^2 r^4) computable. Code authorship unchanged; layout credit to @mathysrennela.",
  "origin": "baseline",
  "novelty": "known_parameters"
 },
 "family": "bivariate-bicycle",
 "locality": {
  "coordinates": [
   [
    0.0,
    0.0
   ],
   [
    1.0,
    0.0
   ],
   [
    2.0,
    0.0
   ],
   [
    3.0,
    0.0
   ],
   [
    4.0,
    0.0
   ],
   [
    0.0,
    1.0
   ],
   [
    1.0,
    1.0
   ],
   [
    2.0,
    1.0
   ],
   [
    3.0,
    1.0
   ],
   [
    4.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    1.0,
    2.0
   ],
   [
    2.0,
    2.0
   ],
   [
    3.0,
    2.0
   ],
   [
    4.0,
    2.0
   ],
   [
    0.0,
    3.0
   ],
   [
    1.0,
    3.0
   ],
   [
    2.0,
    3.0
   ],
   [
    3.0,
    3.0
   ],
   [
    4.0,
    3.0
   ],
   [
    0.0,
    4.0
   ],
   [
    1.0,
    4.0
   ],
   [
    2.0,
    4.0
   ],
   [
    3.0,
    4.0
   ],
   [
    4.0,
    4.0
   ],
   [
    0.0,
    5.0
   ],
   [
    1.0,
    5.0
   ],
   [
    2.0,
    5.0
   ],
   [
    3.0,
    5.0
   ],
   [
    4.0,
    5.0
   ],
   [
    0.0,
    0.0
   ],
   [
    1.0,
    0.0
   ],
   [
    2.0,
    0.0
   ],
   [
    3.0,
    0.0
   ],
   [
    4.0,
    0.0
   ],
   [
    0.0,
    1.0
   ],
   [
    1.0,
    1.0
   ],
   [
    2.0,
    1.0
   ],
   [
    3.0,
    1.0
   ],
   [
    4.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    1.0,
    2.0
   ],
   [
    2.0,
    2.0
   ],
   [
    3.0,
    2.0
   ],
   [
    4.0,
    2.0
   ],
   [
    0.0,
    3.0
   ],
   [
    1.0,
    3.0
   ],
   [
    2.0,
    3.0
   ],
   [
    3.0,
    3.0
   ],
   [
    4.0,
    3.0
   ],
   [
    0.0,
    4.0
   ],
   [
    1.0,
    4.0
   ],
   [
    2.0,
    4.0
   ],
   [
    3.0,
    4.0
   ],
   [
    4.0,
    4.0
   ],
   [
    0.0,
    5.0
   ],
   [
    1.0,
    5.0
   ],
   [
    2.0,
    5.0
   ],
   [
    3.0,
    5.0
   ],
   [
    4.0,
    5.0
   ]
  ],
  "layers": 2
 },
 "circuit": {
  "d_circ": {
   "X": {
    "value": 6,
    "confidence": "upper_bound",
    "witness": [
     249,
     258,
     478,
     696,
     771,
     1220
    ]
   },
   "Z": {
    "value": 6,
    "confidence": "upper_bound",
    "witness": [
     232,
     235,
     394,
     396,
     592,
     750
    ]
   }
  },
  "rounds": 6,
  "stim_version": "1.16.0",
  "notes": "Interleaved two-block extraction (Bravyi et al. arXiv:2308.07915 Table 5 style): joint reset and measurement layers, 7 CX layers per round; X-check term slots [4, 3, 2, 1, 5, 6], Z-check term slots [4, 3, 2, 5, 0, 1] over terms A_0..A_2, B_0..B_2; terms recovered from H by commuting permutation decomposition; order chosen by a seeded BP+OSD search on the DEM plus RIS (see PR #923)"
 }
}
