Pith. sign in

REVIEW 5 minor 63 references

Color-code lattice surgery can be drawn and optimized as pipe diagrams that match ZX calculus, then compiled down to syndrome circuits.

Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →

T0 review · grok-4.5

2026-07-11 06:45 UTC pith:OHGOXNC3

load-bearing objection Solid constructive foundation for color-code pipe diagrams; the STDW/star-operator choice is a real design constraint but does not break the delivered framework.

arxiv 2607.05501 v1 pith:OHGOXNC3 submitted 2026-07-06 quant-ph cs.ET

Towards Lattice Surgery Compilation for the Color Code Using Pipe Diagrams

classification quant-ph cs.ET
keywords color codelattice surgerypipe diagramsZX calculuscorrelation surfacessyndrome extractionspacetime compilationtriangular 6.6.6 lattice
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

Surface-code lattice surgery already has a flexible intermediate language: pipe diagrams that let you rearrange a computation in spacetime before turning it into physical circuits. Color codes look attractive for the same job because they need fewer qubits and can do single-qubit Clifford gates transversally, but they lacked an analogous language. This paper supplies one for the triangular color code on the 6.6.6 lattice. It defines distance-independent prisms and pipes, shows how to build the correlation surfaces that track logical operators, and proves that those surfaces obey the same rules as ZX spiders. The resulting diagrams can be optimized at the macroscopic level for compact spacetime volume and then expanded into concrete stabilizers and syndrome-extraction circuits at any chosen distance. Proof-of-principle simulations of movement and CNOT operations confirm that the compiled circuits produce usable logical error rates. The work therefore opens automated compilation and diagrammatic optimization for color-code architectures that previously relied on fixed gate blocks.

Core claim

A distance-independent pipe-diagram calculus for the triangular color code on the 6.6.6 lattice, built from semi-transparent domain walls and star-shaped logical operators, corresponds exactly to ZX diagrams and supplies both macroscopic spacetime embeddings and microscopic syndrome-extraction circuits for lattice-surgery computation.

What carries the argument

Color-code pipe diagrams: triangular prisms linked by vertical and horizontal pipes whose faces encode preparation/measurement bases and domain-wall type; star-shaped correlation surfaces are generated by reflection across the triangle group and match ZX spider fusion and π-copy rules.

Load-bearing premise

The clean ZX match and distance-independent surfaces only hold when semi-transparent single-type domain walls and default star-shaped logical operators are used; other surgery schemes would break the construction.

What would settle it

Compile a multi-gate color-code circuit both with the new pipe diagrams and with a fixed-gate lattice-surgery schedule, then measure whether the pipe-diagram version yields strictly lower spacetime volume and still produces the predicted logical observables under circuit-level noise.

Watch this falsifier — get emailed when new claim-graph text bears on it.

If this is right

  • Macroscopic compilers can now embed ZX-optimized color-code circuits into spacetime with fewer prisms than naive sequential stacking of CNOTs.
  • Transversal single-qubit Cliffords can be inserted as zero-overhead black planes inside temporal pipes, cutting spacetime volume relative to surface-code deformation or Y-basis injection.
  • Higher-degree (up to 5) ZX junctions embed directly, so fewer auxiliary nodes are required than for the surface code’s degree-4 limit.
  • The same diagrams expand automatically into stabilizers and interleaved superdense/folding syndrome circuits for any odd distance d.
  • Magic-state cultivation becomes simpler because grafting is unnecessary, extending the pipeline toward universal fault-tolerant computation.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If automated macroscopic embedding tools are built, color-code spacetime volume may undercut surface-code volume for Clifford-heavy subroutines even before decoding improvements.
  • The 3-valent spatial connectivity of triangular patches may force extra routing overhead that offsets the higher-degree junction advantage; quantitative trade-off studies are needed.
  • Weight-2 folding along domain walls reduces circuit distance only locally; large-scale layouts that keep most volume in the bulk should still approach full distance.
  • Extending the diagrams to fully transparent domain walls or multi-logical-qubit patches would test how tightly the ZX correspondence is tied to the present surgery scheme.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit.

Referee Report

0 major / 5 minor

Summary. The manuscript develops a distance-independent pipe-diagram representation for the triangular color code on the 6.6.6 lattice, based on lattice surgery via semi-transparent domain walls with single-type stabilizers and default star-shaped logical operators. It constructs explicit correlation surfaces (vertical surfaces by triangle-group reflections of a seed star operator; horizontal CS_X/CS_Z via bulk sublattice rules or the linear system H_X^T cs_X = ℓ_X), establishes a direct correspondence to ZX diagrams (including degree-5 junctions), and supplies syndrome-extraction circuits that interleave superdense measurement of double-type plaquettes with inline folding for weight-2 STDW stabilizers. Macroscopic examples (CNOT, three consecutive CNOTs, single-qubit Cliffords) illustrate spacetime-volume reductions relative to naïve stacking, while microscopic simulations with stim and the tesseract decoder serve as proof-of-principle comparisons against surface-code baselines generated by tqec.

Significance. If the constructions hold, the paper supplies the first systematic pipe-diagram foundation for color-code lattice surgery, closing a clear gap relative to the mature surface-code literature (tqec, Topologiq, etc.). The explicit, distance-agnostic rules for stabilizers, correlation surfaces and ZX embedding, together with the transversal Clifford advantage and higher-valence junctions, give a concrete route to automated macroscopic spacetime optimization and microscopic circuit generation. Reproducible simulation code and the linear-algebra characterization of CS_X are concrete strengths that make the framework immediately usable by others. The work is constructive methodology rather than a performance claim, so its value lies in enabling subsequent compilation tools and comparative studies.

minor comments (5)
  1. Sec. III.C–E: the dependence of the clean ZX correspondence and reflection construction on the specific choice of semi-transparent single-type domain walls and star-shaped seeds is correctly noted in the conclusion, but a short explicit caveat in the abstract or introduction would help readers who might otherwise assume the framework is scheme-agnostic.
  2. Sec. V.A and Figs. 28–29: the folding schedule reduces circuit-level distance to ⌈d/2⌉ along STDWs and visibly degrades vertical correlation surfaces at small d; while the text already flags this, a quantitative estimate of the asymptotic impact (or a pointer to an alternative schedule that preserves full distance) would strengthen the microscopic section.
  3. Fig. 1 and the compilation pipeline description: the figure caption and surrounding text could more clearly distinguish the distance-independent pipe diagram from the subsequent d-dependent stabilizer and circuit realizations, to avoid any impression that the macroscopic STV counts already include microscopic overhead.
  4. Sec. IV.D: the comparison of spatial connectivity (3-valent vs 4-valent) and spatiotemporal valence (5-valent vs 4-valent) is useful; a brief remark on how the same-color horizontal-pipe restriction interacts with these numbers would complete the picture.
  5. Typographical and notational polish: occasional missing spaces after punctuation, inconsistent use of STV versus STV_naive, and a few figure labels that become hard to read when walls are removed (e.g., Fig. 23) could be cleaned in production.

Circularity Check

0 steps flagged

No significant circularity: constructive definitions of color-code pipes, STDW stabilizers, star-shaped correlation surfaces and ZX embedding rules, not predictions forced by fits or self-citation chains.

full rationale

The paper is a constructive methodology contribution. Pipe diagrams, correlation surfaces (vertical via triangle-group reflections of star-shaped seeds; horizontal via explicit CS_X stabilizer products or the linear equation H_X^T cs_X = ℓ_X), and syndrome-extraction circuits (superdense + inline folding) are defined from the chosen lattice-surgery scheme (semi-transparent single-type domain walls on the 6.6.6 lattice) and then shown to match ZX spider rules by direct anyon/STDW analysis. Spacetime-volume counts are obtained by enumerating prisms/nodes after ordinary ZX rewrites (spider fusion, identity insertion), not by free parameters fitted to a target. Self-citations ([7,8] on fixed-gate color-code compilation, Fowler’s surface-code pipe literature) supply background and contrast; none supplies a uniqueness theorem or numerical input that forces the new constructions. Simulations are explicitly proof-of-principle under a uniform depolarizing model and acknowledge decoder and folding-distance caveats. No step reduces a claimed prediction or first-principles result to its own inputs by construction.

Axiom & Free-Parameter Ledger

0 free parameters · 5 axioms · 2 invented entities

The paper rests on standard QEC and ZX machinery plus a deliberate lattice-surgery design choice (STDWs + star operators) that makes the pipe/ZX picture work. No numerical free parameters are fitted; invented content is the representational framework itself, which is constructive and checkable rather than a new physical entity.

axioms (5)
  • domain assumption Stabilizer formalism and lattice surgery implement logical multi-qubit operations via merges/splits with random outcomes tracked by correlation surfaces.
    Background throughout Secs. I–II; assumed standard, not re-proved.
  • domain assumption ZX calculus rewrite rules (spider fusion, π-copy, identity removal, etc.) correctly describe Pauli flow for lattice-surgery diagrams independent of code family.
    Sec. II.D and III.E; used to justify macroscopic optimization and surface correspondence.
  • domain assumption Semi-transparent domain walls with single-type X or Z stabilizers (weight ≤6) correctly couple triangular 6.6.6 color-code patches and force the anyon condensation rules used for star-shaped operator extension.
    Sec. III.C citing Kesselring et al. and related color-code surgery work; choice among several possible surgery schemes.
  • domain assumption Uniform circuit-level depolarizing noise and the chosen superdense + inline-folding schedules model relevant error mechanisms for the reported logical error rates.
    Sec. V.B simulation model; standard but not hardware-specific.
  • ad hoc to paper Triangle-group reflections of a seed star-shaped operator yield consistent vertical correlation surfaces across STDWs for arbitrary d.
    Sec. III.D construction principle specific to this framework; correctness argued from anyon matching rather than a formal theorem with machine-checked proof.
invented entities (2)
  • Color-code pipe diagrams (triangular prisms, uncolored vertical walls, colored horizontal pipes, black Clifford planes) independent evidence
    purpose: Distance-independent intermediate representation linking ZX diagrams to color-code lattice surgery and SE circuits.
    Core contribution of Sec. III; defined by construction from microscopic stabilizers rather than postulated as a new physical object.
  • Distance-agnostic graphical rules for horizontal CS_X/CS_Z on 3-colorable STDW tessellations independent evidence
    purpose: Build correlation surfaces without case-by-case string routing for arbitrary d and patch graphs.
    Sec. III.D–E; also recoverable by solving H_X^T cs_X = ℓ_X, giving a falsifiable algebraic check.

pith-pipeline@v1.1.0-grok45 · 27462 in / 3171 out tokens · 29234 ms · 2026-07-11T06:45:10.133495+00:00 · methodology

0 comments
read the original abstract

Pipe diagrams have emerged as a powerful framework for flexible lattice surgery compilation and spacetime optimization for the surface code. In contrast, analogous compilation techniques for color code architectures remain largely unexplored, despite the color code's favorable properties, including reduced qubit overhead and transversal single-qubit Clifford gates. In this work, we develop a pipe diagram representation for the triangular color code on the 6.6.6 lattice and establish its correspondence to ZX-diagrammatic descriptions of computation. We present distance-independent constructions of color code pipe diagrams together with explicit realizations of correlation surfaces, stabilizers, and syndrome extraction circuits. This framework enables both macroscopic optimization of logical computations in spacetime and microscopic compilation to executable syndrome extraction circuits. We demonstrate the potential for compact spacetime embeddings with the color code's geometry. These results provide a foundation for automated lattice surgery compilation and diagrammatic optimization in color code architectures.

Figures

Figures reproduced from arXiv: 2607.05501 by Austin Fowler, Gilad Kishony, Laura S. Herzog, Robert Wille.

Figure 1
Figure 1. Figure 1: FIG. 1. Overview of steps in compilation using pipe diagrams. Starting with a logical circuit (i) it is translated into a ZX [PITH_FULL_IMAGE:figures/full_fig_p002_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: FIG. 2. (a) [PITH_FULL_IMAGE:figures/full_fig_p003_2.png] view at source ↗
Figure 4
Figure 4. Figure 4: FIG. 4. ZX rules for pipe diagrams. (a) Representation of [PITH_FULL_IMAGE:figures/full_fig_p004_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: FIG. 5. Standalone prisms that represent separate memory [PITH_FULL_IMAGE:figures/full_fig_p005_5.png] view at source ↗
Figure 7
Figure 7. Figure 7: FIG. 7. Merge of two [PITH_FULL_IMAGE:figures/full_fig_p006_7.png] view at source ↗
Figure 9
Figure 9. Figure 9: FIG. 9. Given different choices of sublattices for the stabilizer [PITH_FULL_IMAGE:figures/full_fig_p007_9.png] view at source ↗
Figure 8
Figure 8. Figure 8: FIG. 8. Horizontal [PITH_FULL_IMAGE:figures/full_fig_p007_8.png] view at source ↗
Figure 10
Figure 10. Figure 10: a displays a vertical correlation surface (blue) which is retrieved by reflections as explained above. Note that the vertical correlation surface (a) spreads through￾out the structure and the horizontal correlation surface (b) “decides” for a particular path. This behavior is linked to ZX diagrams that have a direct relation to such structures [PITH_FULL_IMAGE:figures/full_fig_p008_10.png] view at source ↗
Figure 11
Figure 11. Figure 11: FIG. 11. Pipe diagram of a rank-5 junction (a) of a blue ZX [PITH_FULL_IMAGE:figures/full_fig_p009_11.png] view at source ↗
Figure 12
Figure 12. Figure 12: FIG. 12. Multiple junctions with a total of [PITH_FULL_IMAGE:figures/full_fig_p009_12.png] view at source ↗
Figure 13
Figure 13. Figure 13: FIG. 13. Transversal [PITH_FULL_IMAGE:figures/full_fig_p010_13.png] view at source ↗
Figure 14
Figure 14. Figure 14: FIG. 14. Execution of a spatial Hadamard gate, that swaps [PITH_FULL_IMAGE:figures/full_fig_p010_14.png] view at source ↗
Figure 15
Figure 15. Figure 15: FIG. 15. The CNOT gate in terms of a ZX diagram together [PITH_FULL_IMAGE:figures/full_fig_p011_15.png] view at source ↗
Figure 16
Figure 16. Figure 16: FIG. 16. Two variations of the CNOT gate by embedding [PITH_FULL_IMAGE:figures/full_fig_p011_16.png] view at source ↗
Figure 19
Figure 19. Figure 19: FIG. 19. Having reduced the 3 CNOTs in terms of ZX di [PITH_FULL_IMAGE:figures/full_fig_p012_19.png] view at source ↗
Figure 20
Figure 20. Figure 20: FIG. 20. Given the ZX diagram from Fig. 19, a direct trans [PITH_FULL_IMAGE:figures/full_fig_p012_20.png] view at source ↗
Figure 22
Figure 22. Figure 22: FIG. 22. With the compact ZX diagram of the 3 CNOTs (i) [PITH_FULL_IMAGE:figures/full_fig_p013_22.png] view at source ↗
Figure 24
Figure 24. Figure 24: FIG. 24. CNOT gate together with single-qubit Clifford gates [PITH_FULL_IMAGE:figures/full_fig_p013_24.png] view at source ↗
Figure 26
Figure 26. Figure 26: FIG. 26. Folding syndrome extraction purely on data qubits [PITH_FULL_IMAGE:figures/full_fig_p015_26.png] view at source ↗
Figure 27
Figure 27. Figure 27: FIG. 27. How the superdense and folding syndrome extraction scheme are interleaved such that only a constant time overhead [PITH_FULL_IMAGE:figures/full_fig_p016_27.png] view at source ↗
Figure 28
Figure 28. Figure 28: FIG. 28. Comparison of logical error rates between the surface code and color code for a movement for all four possibilities [PITH_FULL_IMAGE:figures/full_fig_p017_28.png] view at source ↗
Figure 29
Figure 29. Figure 29: FIG. 29. Comparison of logical error rates between the surface code and color code for a logical CNOT gate with the different [PITH_FULL_IMAGE:figures/full_fig_p018_29.png] view at source ↗

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

63 extracted references · 15 linked inside Pith

  1. [1]

    The bulk is formed by all color code patches along the path that are supposed to have trivial action. In Fig. 8, the patches marked withb, c, d, eare bulk patches

  2. [2]

    free”. To choose the correct subset of stabilizers for the horizontalX-type correlation surfaceCS X, one has to determine the “color

    In the given structure, each bulk patch has two sides that are connected to another patch via an STDW, and one of the triangle’s sides is “free”. To choose the correct subset of stabilizers for the horizontalX-type correlation surfaceCS X, one has to determine the “color” of the adjacent STDWs. The color of the STDW is determined by the color of the singl...

  3. [3]

    There are multiple possibilities, in particular if the sublattice differs between adjacent bulk patches

    After the stabilizer subset is chosen from the bulk’s patches, one has to determine which stabilizers from the STDW are included in the subset as well. There are multiple possibilities, in particular if the sublattice differs between adjacent bulk patches. These possibilities are shown in Fig. 9

  4. [4]

    star-shaped

    After the correct stabilizers from the bulk patches and STDWs are added to the subset, one has to take care of the two boundary patches. One can say that the star operators ‘split’ the patch into three thirds. In Fig. 8, one can see three sections of stabilizers in the boundary patchaandfindicated bya ′, a′′, a′′′ andf ′, f ′′, f ′′′ respectively. One nee...

  5. [5]

    free” sides have to be made trivial in the (a) (b) FIG. 10. (a) “Spreading

    Then, also the subset from the STDW adjacent to each boundary patch has to be chosen accordingly, such that trivial action is guaranteed everywhere except the star operator. For this, a mixture of Fig. 9 is applied. While this example had the structure of a chain of triangular color code patches, the structures can differ from such shapes as, for instance...

  6. [6]

    Init. aux

    In this section, however, we adopt a less conservative FIG. 17. By allowing open spatial ports, one can create a CNOT gate pipe diagram with only two involved nodes. a b c a' b' c' a b c a' b' c' a b c a b c a' b' c' a' b' c' FIG. 18. Three consecutive CNOT gates as a circuit and translated into a ZX diagram (left). Naively stacking the two variations of ...

  7. [7]

    Bombin and M

    H. Bombin and M. A. Martin-Delgado, Quantum mea- surements and gates by code deformation, Journal of Physics A: Mathematical and Theoretical42, 095302 (2009)

  8. [8]

    Horsman, A

    D. Horsman, A. G. Fowler, S. Devitt, and R. V. Meter, Surface code quantum computing by lattice surgery, New J. Phys.14, 123011, publisher: IOP Publishing

  9. [9]

    A. J. Landahl and C. Ryan-Anderson, Quantum comput- ing by color-code lattice surgery (2014), arXiv:1407.5103 [quant-ph]

  10. [10]

    Molavi, A

    A. Molavi, A. Xu, S. Tannu, and A. Albarghouthi, Dependency-aware compilation for surface code quantum architectures, Proceedings of the ACM on Programming Languages9, 57–84 (2025)

  11. [11]

    Beverland, V

    M. Beverland, V. Kliuchnikov, and E. Schoute, Surface code compilation via edge-disjoint paths, PRX Quantum 3, 020342 (2022), publisher: American Physical Society

  12. [12]

    Watkins, H

    G. Watkins, H. M. Nguyen, K. Watkins, S. Pearce, H.-K. Lau, and A. Paler, A high performance compiler for very large scale surface code computations, Quantum8, 1354 (2024), arXiv:2302.02459

  13. [13]

    L. S. Herzog, L. Berent, A. Kubica, and R. Wille, Lat- tice surgery compilation beyond the surface code, in2025 IEEE International Conference on Quantum Computing and Engineering (QCE), Vol. 01 (2025) pp. 489–500

  14. [14]

    L. S. Herzog, L. Berent, A. Kubica, and R. Wille, Exploit- ing movable logical qubits for lattice surgery compilation (2025), arXiv:2512.04169 [quant-ph]

  15. [15]

    Fowler, Surface code quantum compu- tation,https://drive.google.com/file/d/ 1gCNpSdvE7Xtnf6Onh05vz9PX_WkjNv2r/view(2025), unpublished manuscript

    A. Fowler, Surface code quantum compu- tation,https://drive.google.com/file/d/ 1gCNpSdvE7Xtnf6Onh05vz9PX_WkjNv2r/view(2025), unpublished manuscript

  16. [16]

    A. Suau, Y. Zhang, P. Thakre, Y. Zhao, K. Dubey, J. A. Bolanos, A. Schelpe, T. Hao, P. Seitz, G. G. Guerreschi, A. E. A. P´ erez, R. Stahn, J. Lenssen, B. Reid, and A. Fowler, tqec: A python package for topological quan- tum error correction, Journal of Open Source Software 11, 9142 (2026)

  17. [17]

    A. G. Fowler, M. Mariantoni, J. M. Martinis, and A. N. Cleland, Surface codes: Towards practical large-scale quantum computation, Phys. Rev. A86, 032324 (2012), arXiv:1208.0928

  18. [18]

    Bombin and M

    H. Bombin and M. A. Martin-Delgado, Topological quan- tum distillation, Phys. Rev. Lett.97, 180501 (2006), quant-ph/0605138

  19. [19]

    Koutsioumpas, T

    S. Koutsioumpas, T. Noszko, H. Sayginel, M. Webster, and J. Roffe, Colour codes reach surface code perfor- mance using vibe decoding (2025), 2508.15743 [quant- ph]

  20. [20]

    Kubica and N

    A. Kubica and N. Delfosse, Efficient color code decoders ind≥2 dimensions from toric code decoders, Quantum 7, 929 (2023)

  21. [22]

    Gidney and C

    C. Gidney and C. Jones, New circuits and an open source decoder for the color code (2023), arXiv:2312.08813 [quant-ph]

  22. [23]

    S.-H. Lee, A. Li, and S. D. Bartlett, Color code decoder with improved scaling for correcting circuit-level noise, Quantum9, 1609 (2025), arXiv:2404.07482

  23. [24]

    Silva, X

    A. Silva, X. Zhang, Z. Webb, M. Kramer, C.-W. Yang, X. Liu, J. Lemieux, K.-W. Chen, A. Scherer, and P. Ron- agh, Multi-qubit Lattice Surgery Scheduling, in19th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2024), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 310, edited by F. Magniez and A. B. Grilo...

  24. [25]

    D. Herr, F. Nori, and S. J. Devitt, Lattice surgery transla- tion for quantum computation, New J. Phys.19, 013034 (2017), publisher: IOP Publishing

  25. [26]

    M. Zhu, H. Fu, J. Wu, C. Zhang, W. Xie, and X.-Y. Li, Ecmas: Efficient circuit mapping and scheduling for sur- face code, in2024 IEEE/ACM International Symposium on Code Generation and Optimization (CGO)(2024) pp. 158–169

  26. [27]

    J. Zhou, Y. Liu, E. Decker, J. Kalloor, M. Wei- den, K. Chen, C. Iancu, and G. Li, Topols: Lattice surgery compilation via topological program transforma- tions (2026), arXiv:2601.23109 [quant-ph]

  27. [28]

    TQEC Community, Topologiq: Algorithmic lattice surgery,https://github.com/tqec/topologiq(2025), accessed: 2026-05-15

  28. [29]

    D. B. Tan, M. Y. Niu, and C. Gidney, A sat scalpel for lattice surgery: Representation and synthesis of subrou- tines for surface-code fault-tolerant quantum computing, in2024 ACM/IEEE 51st Annual International Sympo- sium on Computer Architecture (ISCA)(2024) pp. 325– 339

  29. [30]

    Thomsen, M

    F. Thomsen, M. S. Kesselring, S. D. Bartlett, and B. J. Brown, Low-overhead quantum computing with the color code, Phys. Rev. Res.6, 043125, publisher: American Physical Society

  30. [31]

    Litinski, M

    D. Litinski, M. S. Kesselring, J. Eisert, and F. v. Oppen, Combining topological hardware and topological soft- ware: Color code quantum computing with topological superconductor networks, Phys. Rev. X7, 031048 (2017), arXiv:1704.01589

  31. [32]

    Bombin, Topological subsystem codes, Phys

    H. Bombin, Topological subsystem codes, Phys. Rev. A 81, 032301 (2010), publisher: American Physical Society

  32. [33]

    Bomb´ ın, Topological codes, inQuantum Error Correc- tion, edited by D

    H. Bomb´ ın, Topological codes, inQuantum Error Correc- tion, edited by D. A. Lidar and T. A. Brun (Cambridge University Press, 2013) p. 455–481

  33. [34]

    D. E. Gottesman,Stabilizer Codes and Quantum Error Correction, Ph.D. thesis (1997)

  34. [35]

    Kitaev, Fault-tolerant quantum computation by anyons, Annals of Physics303, 2–30 (2003)

    A. Kitaev, Fault-tolerant quantum computation by anyons, Annals of Physics303, 2–30 (2003). 20

  35. [36]

    Dennis, A

    E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, Journal of Mathematical Physics43, 4452–4505 (2002)

  36. [37]

    Kubica,The ABCs of the Color Code: A Study of Topological Quantum Codes as Toy Models for Fault- Tolerant Quantum Computation and Quantum Phases Of Matter, Ph.D

    A. Kubica,The ABCs of the Color Code: A Study of Topological Quantum Codes as Toy Models for Fault- Tolerant Quantum Computation and Quantum Phases Of Matter, Ph.D. thesis (2018)

  37. [38]

    The constructions of this work do not explicitly rely on a strict rotational symmetry

    Note, however, in general, a ‘star-shaped’ logical operator does not necessarily require a strict symmetry of 2π/3 rotations. The constructions of this work do not explicitly rely on a strict rotational symmetry

  38. [39]

    A. G. Fowler and C. Gidney, Low overhead quantum com- putation using lattice surgery (2019), arXiv:1808.06709 [quant-ph]

  39. [40]

    Gidney, Inplace Access to the Surface Code Y Basis, Quantum8, 1310 (2024)

    C. Gidney, Inplace Access to the Surface Code Y Basis, Quantum8, 1310 (2024)

  40. [41]

    M. E. Beverland, A. Kubica, and K. M. Svore, Cost of universality: A comparative study of the overhead of state distillation and code switching with color codes, PRX Quantum2, 020341 (2021)

  41. [42]

    Gidney and A

    C. Gidney and A. G. Fowler, Efficient magic state facto- ries with a catalyzed ccz to 2 t transformation, Quantum 3, 135 (2019)

  42. [43]

    J. v. d. Wetering, ZX-calculus for the working quantum computer scientist (2020), arXiv:2012.13966

  43. [44]

    Kissinger and J

    A. Kissinger and J. van de Wetering,Picturing Quan- tum Software: An Introduction to the ZX-Calculus and Quantum Compilation(Preprint, 2024)

  44. [45]

    de Beaudrap and D

    N. de Beaudrap and D. Horsman, The ZX calculus is a language for surface code lattice surgery, Quantum4, 218 (2020), arXiv:1704.08670

  45. [46]

    J. C. Magdalena de la Fuente, J. Old, A. Townsend- Teague, M. Rispler, J. Eisert, and M. M¨ uller, XYZ ruby code: Making a case for a three-colored graphical cal- culus for quantum error correction in spacetime, PRX Quantum6, 010360 (2025)

  46. [47]

    M. S. Kesselring, J. C. Magdalena de la Fuente, F. Thom- sen, J. Eisert, S. D. Bartlett, and B. J. Brown, Anyon condensation and the color code, PRX Quantum5, 010342 (2024), publisher: American Physical Society

  47. [48]

    Kubica and M

    A. Kubica and M. E. Beverland, Universal transversal gates with color codes: A simplified approach, Phys. Rev. A91, 032330, publisher: American Physical Society

  48. [49]

    Vuillot, L

    C. Vuillot, L. Lao, B. Criger, C. G. Almud´ ever, K. Ber- tels, and B. M. Terhal, Code deformation and lattice surgery are gauge fixing, New J. Phys.21, 033028 (2019), publisher: IOP Publishing

  49. [50]

    Simulations of pipe diagrams require a deterministic observable, i.e., a correlation surface with deterministic measurement outcomes

    A few words on simulating such structures are in order here. Simulations of pipe diagrams require a deterministic observable, i.e., a correlation surface with deterministic measurement outcomes. To achieve this, one usually adds prisms/cubes at the open ports of a pipe diagram. While diagrams ending temporally are straightforward to sim- ulate, diagrams e...

  50. [51]

    But this adds logical action which is not desired here

    Of course, if a spatial Hadamard was applied within a spatial pipe, blue and red prisms can be connected also in the bulk of a diagram. But this adds logical action which is not desired here

  51. [52]

    Note that the application of spatial gates would possibly further reduce the spacetime volume

  52. [53]

    Gidney, N

    C. Gidney, N. Shutty, and C. Jones, Magic state cultiva- tion: growing t states as cheap as CNOT gates (2024), 2409.17595

  53. [54]

    Koutsioumpas and J

    S. Koutsioumpas and J. Roffe, Vibe Decoding Quantum Error Correction with CUDA

  54. [55]

    T. J. Yoder and I. H. Kim, The surface code with a twist, Quantum1, 2 (2017), arXiv:1612.04795

  55. [56]

    Kishony and A

    G. Kishony and A. Fowler, Surface code off-the- hook: diagonal syndrome-extraction scheduling (2026), arXiv:2602.09099 [quant-ph]

  56. [57]

    Chamberland, A

    C. Chamberland, A. Kubica, T. J. Yoder, and G. Zhu, Triangular color codes on trivalent graphs with flag qubits, New Journal of Physics22, 023019 (2020)

  57. [58]

    Kishony and A

    G. Kishony and A. Fowler, Color code off-the-hook: avoiding hook errors with a single auxiliary per plaquette (2026), arXiv:2603.28852 [quant-ph]

  58. [59]

    One timestep is defined by a multitude of gates that can be applied in parallel, i.e., with disjoint physical qubit overlap

  59. [60]

    Gidney, Stim: a fast stabilizer circuit simulator, Quan- tum5, 497 (2021)

    C. Gidney, Stim: a fast stabilizer circuit simulator, Quan- tum5, 497 (2021)

  60. [61]

    Higgott and C

    O. Higgott and C. Gidney, Sparse Blossom: correcting a million errors per core second with minimum-weight matching, Quantum9, 1600 (2025)

  61. [62]

    A. G. Fowler, Optimal complexity correction of corre- lated errors in the surface code (2013), arXiv:1310.0863 [quant-ph]

  62. [63]

    Aghababaie Beni, O

    L. Aghababaie Beni, O. Higgott, and N. Shutty, Tesser- act: A search-based decoder for quantum error correction (2025), arXiv:2503.10988 [quant-ph]

  63. [64]

    An explanation of binomial confidence intervals in stim can be found here