{
  "id": "family/surface-rot/readout-x",
  "version": 1,
  "kind": "family",
  "name": "Destructive logical X readout on rotated surface code",
  "provenance": {
    "submitter": "ikim",
    "source": "Fowler et al., PRA 86, 032324 (2012)",
    "created": "2026-11-26",
    "notes": ""
  },
  "verification": {
    "status": "verified",
    "method": "family-anchors-block-contract-v2",
    "patterns_checked": 4,
    "patterns_total": 4,
    "tools": {
      "xtim": "xtim-engine-18",
      "adaptq": "7bdecb63de074e54f480d8d736cde1ea225124e5"
    },
    "date": "2026-12-05",
    "notes": "verified 4/4 anchors: d=3; d=5; d=7; lx=3,ly=5"
  },
  "generates": "gate",
  "family": "surface-rot",
  "connectivity": "2d-nn",
  "arity": 1,
  "domain": "lx, ly >= 2",
  "action_summary": "M_X",
  "parameters": {
    "d": {
      "type": "integer",
      "minimum": 2,
      "description": "Square patch distance (shorthand for lx=ly=d)."
    },
    "lx": {
      "type": "integer",
      "minimum": 2,
      "description": "X-distance (patch rows)."
    },
    "ly": {
      "type": "integer",
      "minimum": 2,
      "description": "Z-distance (patch columns)."
    },
    "orientation": {
      "type": "string",
      "enum": [
        "standard",
        "rotated"
      ],
      "default": "standard",
      "description": "Boundary orientation of the rotated surface-code patch."
    }
  },
  "generator": "surface-rot:readout-x",
  "anchors": [
    {
      "d": 3
    },
    {
      "d": 5
    },
    {
      "d": 7
    },
    {
      "lx": 3,
      "ly": 5
    }
  ],
  "parameter_rules": "Provide either d, or both lx and ly (>= 2)."
}
