ftqcp

Parametric Families

Distance-parametric code, gate, and composite constructions instantiated on demand for general odd d (and rectangular lx × ly) into concrete spec-v0.1 entries and self-contained .ftqcp.json bundles.

familygroupgeneratesconnectivityactiondomainanchorsverification
Triangular 6.6.6 color code family (d = 3 Steane, d = 5 [[19,1,5]])color-codecode2d-nncoded in {3, 5}2action verified
Color-code magic-state cultivation |T> / |T_DAG> preparationcolor-codegate2d-nnprep |T>d_cult in {3, 5}, label in {T, T_DAG}3action verified
2D-NN lattice-surgery logical CNOT compositesurface-rotcomposite2d-nnCXodd lx, ly >= 32action verified
Rotated surface code family [[lx*ly, 1, min(lx, ly)]]surface-rotcode2d-nncodelx, ly >= 2 (odd & even), orientation in {standard, rotated}5action verified
Direct color-to-surface escape (Option A: flagged lattice surgery)surface-rotgate2d-nncode-switch Id_cult in {3, 5}, odd target lx, ly >= d_cult3action verified
Compact faithful corner-grafted escape (Option B)surface-rotgate2d-nncode-switch Id_cult in {3, 5}, odd target lx, ly >= d_cult3action verified
8-layer in-place superdense corner-grafted escape (Gidney 2024)surface-rotgate2d-nncode-switch Id_cult in {3, 5}, odd d_out >= 2*d_cult + 13action verified
100% MWPM-matchable delayed-projection corner-grafted escape (Option C)surface-rotgate2d-nncode-switch Id_cult in {3, 5}, odd target lx, ly >= d_cult3action verified
2D-NN spatial domain-wall logical H (0 data H gates)surface-rotgate2d-nnHodd lx, ly >= 3 (outputs ly x lx in standard orientation)3action verified
Fold-transversal H (4-tick flagged ancilla CNOT swap)surface-rotgatefold-nonlocalHodd square d x d (d >= 3)3action verified
Fold-transversal H (shuttle / relabeling)surface-rotgatefold-nonlocalHodd square d x d (d >= 3)3action verified
2D-NN patch-rotation logical Hsurface-rotgate2d-nnHodd lx, ly >= 3 (outputs ly x lx in standard orientation)3action verified
2D-NN in-place SWAP-QEC walking logical Hsurface-rotgate2d-nnHodd lx, ly >= 3 (returns to input grid origin)3action verified
Transversal logical H (orientation-swapping)surface-rotgate2d-nnHlx, ly >= 2 (swaps orientation standard <-> rotated)4action verified
1-col routing-corridor 2D-NN lattice-surgery M_XXsurface-rotgate2d-nnM_XXlx, ly >= 33action verified
Direct-seam 2D-NN lattice-surgery M_XXsurface-rotgate2d-nnM_XXlx, ly >= 33action verified
1-row routing-corridor 2D-NN lattice-surgery M_ZZsurface-rotgate2d-nnM_ZZlx, ly >= 33action verified
Direct-seam 2D-NN lattice-surgery M_ZZsurface-rotgate2d-nnM_ZZlx, ly >= 3 (same patch dimensions)3action verified
Matchable in-place grafted surface code family (d_cult -> d_out)surface-rotcode2d-nncoded_cult in {3, 5}, odd d_out >= 2*d_cult + 13action verified
Fault-tolerant |+>_L preparation on rotated surface codesurface-rotgate2d-nnprep |+>lx, ly >= 23action verified
2D-NN inplace |+i>_L preparation (Gidney 2024)surface-rotgate2d-nnprep |+i>odd square d x d (d >= 3)3action verified
Fault-tolerant |0>_L preparation on rotated surface codesurface-rotgate2d-nnprep |0>lx, ly >= 23action verified
Destructive logical X readout on rotated surface codesurface-rotgate2d-nnM_Xlx, ly >= 24action verified
2D-NN inplace destructive Y_L readout (Gidney 2024)surface-rotgate2d-nnM_Yodd square d x d (d >= 3)3action verified
Destructive logical Z readout on rotated surface codesurface-rotgate2d-nnM_Zlx, ly >= 24action verified
2D-NN corner-twist / domain-wall logical Ssurface-rotgate2d-nnSodd lx, ly >= 3 (arbitrary rectangular)3action verified
2D-NN corner-twist / domain-wall logical S_DAGsurface-rotgate2d-nnS_DAGodd lx, ly >= 3 (arbitrary rectangular)3action verified
Half-cycle unrotated-morph fold-transversal S_DAGsurface-rotgatefold-nonlocalS_DAGsquare d x d (d >= 3, odd & even)3action verified
2D-NN lattice-surgery logical S_DAGsurface-rotgate2d-nnS_DAGodd lx, ly >= 3 (arbitrary rectangular)3action verified
Half-cycle unrotated-morph fold-transversal Ssurface-rotgatefold-nonlocalSsquare d x d (d >= 3, odd & even)3action verified
2D-NN lattice-surgery logical Ssurface-rotgate2d-nnSodd lx, ly >= 3 (arbitrary rectangular)3action verified
Hook-safe 4-tick 2D-NN CSS syndrome extractionsurface-rotgate2d-nnI (SE)lx, ly >= 2 (odd & even)3action verified
End-to-end logical T gate on rotated surface code via cultivationsurface-rotcompositefold-nonlocalTd_cult in {3, 5}, odd square d >= d_cult2action verified
End-to-end cultivation |T> prep on surface code (Option A direct escape)surface-rotcomposite2d-nnprep |T>d_cult in {3, 5}, odd target lx, ly >= d_cult2action verified
End-to-end cultivation |T> prep on surface code (Option B faithful grafted)surface-rotcomposite2d-nnprep |T>d_cult in {3, 5}, odd target lx, ly >= d_cult2action verified
End-to-end cultivation |T> prep (8-layer in-place superdense graft)surface-rotcomposite2d-nnprep |T>d_cult in {3, 5}, odd d_out >= 2*d_cult + 12action verified
End-to-end cultivation |T> prep on surface code (Option C matchable grafted)surface-rotcomposite2d-nnprep |T>d_cult in {3, 5}, odd target lx, ly >= d_cult2action verified
Transversal logical X on rotated surface codesurface-rotgate2d-nnXlx, ly >= 24action verified
Transversal logical Z on rotated surface codesurface-rotgate2d-nnZlx, ly >= 24action verified