Untangling Surface Codes: Bridging Braids and Lattice Surgery
Alexandru Paler
TL;DR
This work introduces a ZX-calculus–driven framework to translate fault-tolerant surface-code circuits between braiding and lattice surgery representations, enabling semantics-preserving, bidirectional conversions for arbitrary circuits. By defining two reduced instruction sets (LSIS for lattice surgery and RBIS for braids) and casting both formalisms as ICM-like circuits, the authors show how LS and braided operations reduce to multibody measurements expressed via $XX$- and $ZZ$-type measurements, and how the Raussendorf compression rule subsumes existing braid/bridge optimizations. The methodology leverages translations through loops, spiders, and bridges, and uses the bialgebra rule to realize multibody measurements that implement CNOTs in either paradigm. A new LS circuit for CNOT is demonstrated and proven equivalent to its braided counterpart, establishing a foundation for automated verification, compilation, and benchmarking toward a unified language for topological quantum computation. The work also outlines future directions for a formal categorical treatment to solidify the theoretical underpinnings and broad applicability of these translations.
Abstract
We present a systematic method for translating fault-tolerant quantum circuits between their braiding and lattice surgery (LS) representations within the surface code. Our approach employs the ZX calculus to establish an equivalence between these two paradigms, enabling verified, bidirectional conversion of arbitrary surface-code-level circuits. We show that both braiding and LS operations can be uniformly expressed as compositions of multibody measurements and demonstrate that the Raussendorf compression rule encompasses all known braid and bridge optimizations. We also introduce a novel CNOT circuit with LS. Our framework provides a foundation for the automated verification, compilation, and benchmarking of large-scale surface code computations, advancing toward a unified formal language for topological quantum computation.
