{
 "schema_version": "0.2",
 "name": "[[64,2,8]] toric code",
 "code_type": "CSS",
 "n": 64,
 "k": 2,
 "checks": {
  "X": [
   [
    0,
    7,
    56,
    63
   ],
   [
    1,
    2,
    57,
    58
   ],
   [
    3,
    4,
    59,
    60
   ],
   [
    5,
    6,
    61,
    62
   ],
   [
    0,
    1,
    8,
    9
   ],
   [
    2,
    3,
    10,
    11
   ],
   [
    4,
    5,
    12,
    13
   ],
   [
    6,
    7,
    14,
    15
   ],
   [
    8,
    15,
    16,
    23
   ],
   [
    9,
    10,
    17,
    18
   ],
   [
    11,
    12,
    19,
    20
   ],
   [
    13,
    14,
    21,
    22
   ],
   [
    16,
    17,
    24,
    25
   ],
   [
    18,
    19,
    26,
    27
   ],
   [
    20,
    21,
    28,
    29
   ],
   [
    22,
    23,
    30,
    31
   ],
   [
    24,
    31,
    32,
    39
   ],
   [
    25,
    26,
    33,
    34
   ],
   [
    27,
    28,
    35,
    36
   ],
   [
    29,
    30,
    37,
    38
   ],
   [
    32,
    33,
    40,
    41
   ],
   [
    34,
    35,
    42,
    43
   ],
   [
    36,
    37,
    44,
    45
   ],
   [
    38,
    39,
    46,
    47
   ],
   [
    40,
    47,
    48,
    55
   ],
   [
    41,
    42,
    49,
    50
   ],
   [
    43,
    44,
    51,
    52
   ],
   [
    45,
    46,
    53,
    54
   ],
   [
    48,
    49,
    56,
    57
   ],
   [
    50,
    51,
    58,
    59
   ],
   [
    52,
    53,
    60,
    61
   ],
   [
    54,
    55,
    62,
    63
   ]
  ],
  "Z": [
   [
    0,
    1,
    56,
    57
   ],
   [
    2,
    3,
    58,
    59
   ],
   [
    4,
    5,
    60,
    61
   ],
   [
    6,
    7,
    62,
    63
   ],
   [
    0,
    7,
    8,
    15
   ],
   [
    1,
    2,
    9,
    10
   ],
   [
    3,
    4,
    11,
    12
   ],
   [
    5,
    6,
    13,
    14
   ],
   [
    8,
    9,
    16,
    17
   ],
   [
    10,
    11,
    18,
    19
   ],
   [
    12,
    13,
    20,
    21
   ],
   [
    14,
    15,
    22,
    23
   ],
   [
    16,
    23,
    24,
    31
   ],
   [
    17,
    18,
    25,
    26
   ],
   [
    19,
    20,
    27,
    28
   ],
   [
    21,
    22,
    29,
    30
   ],
   [
    24,
    25,
    32,
    33
   ],
   [
    26,
    27,
    34,
    35
   ],
   [
    28,
    29,
    36,
    37
   ],
   [
    30,
    31,
    38,
    39
   ],
   [
    32,
    39,
    40,
    47
   ],
   [
    33,
    34,
    41,
    42
   ],
   [
    35,
    36,
    43,
    44
   ],
   [
    37,
    38,
    45,
    46
   ],
   [
    40,
    41,
    48,
    49
   ],
   [
    42,
    43,
    50,
    51
   ],
   [
    44,
    45,
    52,
    53
   ],
   [
    46,
    47,
    54,
    55
   ],
   [
    48,
    55,
    56,
    63
   ],
   [
    49,
    50,
    57,
    58
   ],
   [
    51,
    52,
    59,
    60
   ],
   [
    53,
    54,
    61,
    62
   ]
  ]
 },
 "distance": {
  "d": 8,
  "X": {
   "value": 8,
   "confidence": "exact",
   "witness": [
    0,
    8,
    17,
    26,
    35,
    43,
    50,
    57
   ]
  },
  "Z": {
   "value": 8,
   "confidence": "exact",
   "witness": [
    6,
    7,
    56,
    57,
    58,
    59,
    60,
    61
   ]
  }
 },
 "provenance": {
  "authors": [
   "Kitaev, A. Yu."
  ],
  "origin": "baseline",
  "construction": "Rotated toric code on an 8x8 torus, distance 8.",
  "date": "1997-07-09",
  "references": [
   "arXiv:quant-ph/9707021"
  ],
  "notes": "Distance is exact by construction. 2D layout added 2026-07-23: the 8x8 torus folded into the plane (ring fold i -> 2i / 2(L-i)-1 per axis), making the wrap-around checks geometrically local; single layer, measured interaction radius 2*sqrt(2)."
 },
 "family": "topological",
 "locality": {
  "coordinates": [
   [
    0.0,
    0.0
   ],
   [
    0.0,
    2.0
   ],
   [
    0.0,
    4.0
   ],
   [
    0.0,
    6.0
   ],
   [
    0.0,
    7.0
   ],
   [
    0.0,
    5.0
   ],
   [
    0.0,
    3.0
   ],
   [
    0.0,
    1.0
   ],
   [
    2.0,
    0.0
   ],
   [
    2.0,
    2.0
   ],
   [
    2.0,
    4.0
   ],
   [
    2.0,
    6.0
   ],
   [
    2.0,
    7.0
   ],
   [
    2.0,
    5.0
   ],
   [
    2.0,
    3.0
   ],
   [
    2.0,
    1.0
   ],
   [
    4.0,
    0.0
   ],
   [
    4.0,
    2.0
   ],
   [
    4.0,
    4.0
   ],
   [
    4.0,
    6.0
   ],
   [
    4.0,
    7.0
   ],
   [
    4.0,
    5.0
   ],
   [
    4.0,
    3.0
   ],
   [
    4.0,
    1.0
   ],
   [
    6.0,
    0.0
   ],
   [
    6.0,
    2.0
   ],
   [
    6.0,
    4.0
   ],
   [
    6.0,
    6.0
   ],
   [
    6.0,
    7.0
   ],
   [
    6.0,
    5.0
   ],
   [
    6.0,
    3.0
   ],
   [
    6.0,
    1.0
   ],
   [
    7.0,
    0.0
   ],
   [
    7.0,
    2.0
   ],
   [
    7.0,
    4.0
   ],
   [
    7.0,
    6.0
   ],
   [
    7.0,
    7.0
   ],
   [
    7.0,
    5.0
   ],
   [
    7.0,
    3.0
   ],
   [
    7.0,
    1.0
   ],
   [
    5.0,
    0.0
   ],
   [
    5.0,
    2.0
   ],
   [
    5.0,
    4.0
   ],
   [
    5.0,
    6.0
   ],
   [
    5.0,
    7.0
   ],
   [
    5.0,
    5.0
   ],
   [
    5.0,
    3.0
   ],
   [
    5.0,
    1.0
   ],
   [
    3.0,
    0.0
   ],
   [
    3.0,
    2.0
   ],
   [
    3.0,
    4.0
   ],
   [
    3.0,
    6.0
   ],
   [
    3.0,
    7.0
   ],
   [
    3.0,
    5.0
   ],
   [
    3.0,
    3.0
   ],
   [
    3.0,
    1.0
   ],
   [
    1.0,
    0.0
   ],
   [
    1.0,
    2.0
   ],
   [
    1.0,
    4.0
   ],
   [
    1.0,
    6.0
   ],
   [
    1.0,
    7.0
   ],
   [
    1.0,
    5.0
   ],
   [
    1.0,
    3.0
   ],
   [
    1.0,
    1.0
   ]
  ],
  "interaction_radius": 2.8284271247461903,
  "layers": 1
 },
 "circuit": {
  "d_circ": {
   "Z": {
    "value": 8,
    "confidence": "upper_bound",
    "witness": [
     10580,
     10581,
     10586,
     10589,
     10594,
     10599,
     10600,
     10606
    ]
   },
   "X": {
    "value": 8,
    "confidence": "upper_bound",
    "witness": [
     840,
     848,
     984,
     1010,
     1700,
     1701,
     2373,
     2419
    ]
   }
  },
  "rounds": 8,
  "stim_version": "1.16.0",
  "notes": "uniform plaquette coupling order (X pattern 'kf_x', Z pattern 'kf_x'; kf_* are the Kishony-Fowler diagonal orders of arXiv:2602.09099) on the natural row-major torus indexing; generated by research/circuit_seed_toric.py"
 }
}
