{
 "schema_version": "0.2",
 "name": "priced-calculus-30-18-3",
 "code_type": "CSS",
 "n": 30,
 "k": 18,
 "checks": {
  "X": [
   [
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13
   ],
   [
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21
   ],
   [
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29
   ],
   [
    0,
    3,
    4,
    6,
    7,
    10,
    11,
    14,
    15,
    18,
    19,
    22,
    23,
    26,
    27
   ],
   [
    1,
    3,
    5,
    6,
    8,
    10,
    12,
    14,
    16,
    18,
    20,
    22,
    24,
    26,
    28
   ],
   [
    2,
    4,
    5,
    6,
    9,
    11,
    12,
    14,
    17,
    19,
    20,
    22,
    25,
    27,
    28
   ]
  ],
  "Z": [
   [
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13
   ],
   [
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21
   ],
   [
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29
   ],
   [
    0,
    3,
    4,
    7,
    10,
    11,
    13,
    15,
    18,
    19,
    21,
    23,
    26,
    27,
    29
   ],
   [
    1,
    3,
    5,
    8,
    10,
    12,
    13,
    16,
    18,
    20,
    21,
    24,
    26,
    28,
    29
   ],
   [
    2,
    4,
    5,
    9,
    11,
    12,
    13,
    17,
    19,
    20,
    21,
    25,
    27,
    28,
    29
   ]
  ]
 },
 "distance": {
  "d": 3,
  "X": {
   "value": 3,
   "confidence": "upper_bound",
   "witness": [
    1,
    14,
    16
   ],
   "witness_provenance": {
    "found_by": [
     "@mathys"
    ],
    "date": "2026-11-01",
    "found_at_samples": 1000,
    "survived_samples": 1000,
    "tool": "research/kit/surrogate.lightest_logical",
    "seeds": [
     0
    ]
   }
  },
  "Z": {
   "value": 3,
   "confidence": "upper_bound",
   "witness": [
    1,
    22,
    27
   ],
   "witness_provenance": {
    "found_by": [
     "@mathys"
    ],
    "date": "2026-11-01",
    "found_at_samples": 1000,
    "survived_samples": 1000,
    "tool": "research/kit/surrogate.lightest_logical",
    "seeds": [
     1
    ]
   }
  }
 },
 "provenance": {
  "authors": [
   "@mathysrennela"
  ],
  "construction": "priced calculus E-PEEL transform of codes/32-18-4.json",
  "references": [],
  "date": "2026-11-01",
  "notes": "",
  "model": "Beam 1.0"
 },
 "locality": {
  "coordinates": [
   [
    0.0,
    0.0
   ],
   [
    0.0,
    3.0
   ],
   [
    2.0,
    2.0
   ],
   [
    3.0,
    1.0
   ],
   [
    1.0,
    0.0
   ],
   [
    2.0,
    1.0
   ],
   [
    0.0,
    1.0
   ],
   [
    2.0,
    3.0
   ],
   [
    0.0,
    3.0
   ],
   [
    3.0,
    3.0
   ],
   [
    3.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    3.0,
    2.0
   ],
   [
    1.0,
    3.0
   ],
   [
    2.0,
    1.0
   ],
   [
    3.0,
    0.0
   ],
   [
    1.0,
    1.0
   ],
   [
    3.0,
    3.0
   ],
   [
    3.0,
    2.0
   ],
   [
    3.0,
    0.0
   ],
   [
    1.0,
    2.0
   ],
   [
    2.0,
    0.0
   ],
   [
    0.0,
    2.0
   ],
   [
    1.0,
    3.0
   ],
   [
    1.0,
    2.0
   ],
   [
    2.0,
    0.0
   ],
   [
    0.0,
    0.0
   ],
   [
    1.0,
    1.0
   ],
   [
    0.0,
    1.0
   ],
   [
    2.0,
    2.0
   ]
  ],
  "layers": 2,
  "contributed_by": {
   "by": [
    "@vprusso"
   ],
   "date": "2026-11-04",
   "method": "Inherited from the laid-out parent codes/32-18-4.json: the parent's coordinates with the entries of the removed qubits (parent indices 0, 7) dropped, since this peel chain keeps the parent's qubit order. Radius, layer count, and class re-measured by the verifier."
  }
 },
 "circuit": {
  "d_circ": {
   "Z": {
    "value": 3,
    "confidence": "upper_bound",
    "witness": [
     338,
     358,
     909
    ]
   },
   "X": {
    "value": 3,
    "confidence": "upper_bound",
    "witness": [
     2812,
     2826,
     2860
    ]
   }
  },
  "rounds": 3,
  "stim_version": "1.16.0",
  "notes": "Johnson-coil + 4 span flags sequential extraction (max_flags=7 per check, 15 X + 15 Z edge-colored data CX layers per round, coloring candidate 0); generated by qldpc submit (research/circuit_autogen.py, seed 0), the first of up to 6 candidates whose RIS screen at 2 rounds found nothing below d; witnesses from RIS on ker(H_dem) at twice the gate's trial budget, validated in GF(2)",
  "contributed_by": {
   "by": [
    "@vprusso"
   ],
   "date": "2026-11-06",
   "method": "circuit_autogen schedule search (two-block interleaved, then layout, then generic), verified by verify/circuit_verify.py before writing"
  }
 }
}
