family family/surface-rot/h-swap-qec@1 · action verified · raw JSON
2D-NN in-place SWAP-QEC walking logical H
generates
gate
family
surface-rot
connectivity
2d-nn
action
H
verified anchors
3
Domain: odd lx, ly >= 3 (returns to input grid origin)
Rules: Provide either odd d >= 3, or odd lx and ly >= 3.
Parameters
| parameter | type | constraints | description |
|---|---|---|---|
| d | integer | >= 3, odd | Odd square distance (shorthand for lx=ly=d). |
| lx | integer | >= 3, odd | Odd X-distance (patch rows). |
| ly | integer | >= 3, odd | Odd Z-distance (patch columns). |
| orientation | string | default=standard, in {standard, rotated} | Boundary orientation of the rotated surface-code patch. |
Instantiate / Run
ftqcp instantiate 'family/surface-rot/h-swap-qec@1[d=3]' ftqcp instantiate 'family/surface-rot/h-swap-qec@1[d=3]' --bundle --p 1e-3 --out gadget.ftqcp.json ftqcp run 'family/surface-rot/h-swap-qec@1[d=3]' --p 1e-3 --shots 20000
Verified anchors
| parameters |
|---|
| d=3 |
| d=5 |
| lx=3, ly=5 |
Verification
| field | value |
|---|---|
| status | action verified |
| method | family-anchors-block-contract-v2 |
| patterns_checked | 3 |
| date | 2026-12-05 |
| tools.xtim | xtim-engine-18 |
| tools.adaptq | 7bdecb63de074e54f480d8d736cde1ea225124e5 |
| notes | verified 3/3 anchors: d=3; d=5; lx=3,ly=5 |
Provenance
| field | value |
|---|---|
| submitter | ikim |
| source | McEwen, Bacon & Gidney, Quantum 7, 1172 (2023); Geher et al., Quantum 8, 1394 (2024) |
| created | 2026-11-26 |