{
 "schema_version": "0.2",
 "name": "[[49,1,7]] surface code",
 "code_type": "CSS",
 "n": 49,
 "k": 1,
 "checks": {
  "X": [
   [
    0,
    1,
    7,
    8
   ],
   [
    2,
    3,
    9,
    10
   ],
   [
    4,
    5,
    11,
    12
   ],
   [
    6,
    13
   ],
   [
    7,
    14
   ],
   [
    8,
    9,
    15,
    16
   ],
   [
    10,
    11,
    17,
    18
   ],
   [
    12,
    13,
    19,
    20
   ],
   [
    14,
    15,
    21,
    22
   ],
   [
    16,
    17,
    23,
    24
   ],
   [
    18,
    19,
    25,
    26
   ],
   [
    20,
    27
   ],
   [
    21,
    28
   ],
   [
    22,
    23,
    29,
    30
   ],
   [
    24,
    25,
    31,
    32
   ],
   [
    26,
    27,
    33,
    34
   ],
   [
    28,
    29,
    35,
    36
   ],
   [
    30,
    31,
    37,
    38
   ],
   [
    32,
    33,
    39,
    40
   ],
   [
    34,
    41
   ],
   [
    35,
    42
   ],
   [
    36,
    37,
    43,
    44
   ],
   [
    38,
    39,
    45,
    46
   ],
   [
    40,
    41,
    47,
    48
   ]
  ],
  "Z": [
   [
    0,
    1
   ],
   [
    2,
    3
   ],
   [
    4,
    5
   ],
   [
    1,
    2,
    8,
    9
   ],
   [
    3,
    4,
    10,
    11
   ],
   [
    5,
    6,
    12,
    13
   ],
   [
    7,
    8,
    14,
    15
   ],
   [
    9,
    10,
    16,
    17
   ],
   [
    11,
    12,
    18,
    19
   ],
   [
    15,
    16,
    22,
    23
   ],
   [
    17,
    18,
    24,
    25
   ],
   [
    19,
    20,
    26,
    27
   ],
   [
    21,
    22,
    28,
    29
   ],
   [
    23,
    24,
    30,
    31
   ],
   [
    25,
    26,
    32,
    33
   ],
   [
    29,
    30,
    36,
    37
   ],
   [
    31,
    32,
    38,
    39
   ],
   [
    33,
    34,
    40,
    41
   ],
   [
    35,
    36,
    42,
    43
   ],
   [
    37,
    38,
    44,
    45
   ],
   [
    39,
    40,
    46,
    47
   ],
   [
    43,
    44
   ],
   [
    45,
    46
   ],
   [
    47,
    48
   ]
  ]
 },
 "distance": {
  "d": 7,
  "X": {
   "value": 7,
   "confidence": "exact",
   "witness": [
    38,
    39,
    40,
    41,
    42,
    43,
    44
   ]
  },
  "Z": {
   "value": 7,
   "confidence": "exact",
   "witness": [
    0,
    7,
    14,
    21,
    28,
    36,
    43
   ]
  }
 },
 "provenance": {
  "authors": [
   "Kitaev, A. Yu."
  ],
  "origin": "baseline",
  "construction": "Rotated surface code, distance 7.",
  "date": "1997-07-09",
  "references": [
   "arXiv:quant-ph/9707021"
  ],
  "notes": "Distance is exact by construction. 2D layout added 2026-07-23: qubit q at (q//7, q%7) on the 7x7 planar grid; single layer, measured interaction radius sqrt(2)."
 },
 "family": "topological",
 "locality": {
  "coordinates": [
   [
    0.0,
    0.0
   ],
   [
    0.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    0.0,
    3.0
   ],
   [
    0.0,
    4.0
   ],
   [
    0.0,
    5.0
   ],
   [
    0.0,
    6.0
   ],
   [
    1.0,
    0.0
   ],
   [
    1.0,
    1.0
   ],
   [
    1.0,
    2.0
   ],
   [
    1.0,
    3.0
   ],
   [
    1.0,
    4.0
   ],
   [
    1.0,
    5.0
   ],
   [
    1.0,
    6.0
   ],
   [
    2.0,
    0.0
   ],
   [
    2.0,
    1.0
   ],
   [
    2.0,
    2.0
   ],
   [
    2.0,
    3.0
   ],
   [
    2.0,
    4.0
   ],
   [
    2.0,
    5.0
   ],
   [
    2.0,
    6.0
   ],
   [
    3.0,
    0.0
   ],
   [
    3.0,
    1.0
   ],
   [
    3.0,
    2.0
   ],
   [
    3.0,
    3.0
   ],
   [
    3.0,
    4.0
   ],
   [
    3.0,
    5.0
   ],
   [
    3.0,
    6.0
   ],
   [
    4.0,
    0.0
   ],
   [
    4.0,
    1.0
   ],
   [
    4.0,
    2.0
   ],
   [
    4.0,
    3.0
   ],
   [
    4.0,
    4.0
   ],
   [
    4.0,
    5.0
   ],
   [
    4.0,
    6.0
   ],
   [
    5.0,
    0.0
   ],
   [
    5.0,
    1.0
   ],
   [
    5.0,
    2.0
   ],
   [
    5.0,
    3.0
   ],
   [
    5.0,
    4.0
   ],
   [
    5.0,
    5.0
   ],
   [
    5.0,
    6.0
   ],
   [
    6.0,
    0.0
   ],
   [
    6.0,
    1.0
   ],
   [
    6.0,
    2.0
   ],
   [
    6.0,
    3.0
   ],
   [
    6.0,
    4.0
   ],
   [
    6.0,
    5.0
   ],
   [
    6.0,
    6.0
   ]
  ],
  "interaction_radius": 1.4142135623730951,
  "layers": 1
 },
 "circuit": {
  "d_circ": {
   "Z": {
    "value": 7,
    "confidence": "upper_bound",
    "witness": [
     4586,
     4590,
     4658,
     5025,
     5319,
     5430,
     5431
    ]
   },
   "X": {
    "value": 7,
    "confidence": "upper_bound",
    "witness": [
     42,
     44,
     59,
     79,
     98,
     257,
     681
    ]
   }
  },
  "rounds": 7,
  "stim_version": "1.16.0",
  "notes": "standard geometric zigzag schedule (X pattern 'n', Z pattern 'z') derived from the 2D layout; generated by research/circuit_seed.py"
 }
}
