String Diagrams for Defect-Based Surface Code Computing
arXiv:2508.14672 · doi:10.4204/EPTCS.426.6
Abstract
Surface codes are a popular choice for implementing fault-tolerant quantum computing. Two-qubit gates may be realised in these codes using only nearest-neighbour interactions, either by lattice surgery or by braiding defects around each other. The effect of lattice surgery operations may be simply described using the ZX-calculus: a graphical language that has proven effective for program design and optimisation. In this work, we formalise a similar description via the ZX-calculus of defect braiding, as it is conventionally described. We define a graphical calculus KNOT, denoting the logical effects (in the absence of byproduct operations) of defect braiding in surface codes: we show how these effects may be described via a fragment of ZX-calculus which we call the (0, pi)-fragment. We then use a doubling construction to define a subtheory of KNOT, more specialised to standard encoding techniques in the defect braiding literature. Within this subtheory, we encompass standard braiding techniques by families of ribbon-like and tangle-like diagrams, each with semantics distinct from KNOT, in terms of the (0, pi)-fragment of ZX diagrams (again in the absence of byproducts). These subtheories may be used interoperably, and are each sound and complete for the (0, pi)-fragment of ZX diagrams. This provides a starting point to use the formal diagrammatics to analyse the operational effects of defect braiding procedures.
In Proceedings QPL 2025, arXiv:2508.13619
References in corpus (33)
- Surface codes: Towards practical large-scale quantum computation
- Topological quantum memory
- In defense of the epistemic view of quantum states: a toy theory
- Topological fault-tolerance in cluster state quantum computation
- Surface code quantum computing by lattice surgery
- High threshold universal quantum computation on the surface code
- A fault-tolerant one-way quantum computer
- Graph-theoretic Simplification of Quantum Circuits with the ZX-calculus
- Efficient magic state factories with a catalyzed |CCZ> to 2|T> transformation
- PyZX: Large Scale Automated Diagrammatic Reasoning
- Fault-Tolerant High Level Quantum Circuits: Form, Compilation and Description
- The ZX calculus is a language for surface code lattice surgery
- Interacting Hopf Algebras
- A bridge to lower overhead quantum computation
- Optimized Surface Code Communication in Superconducting Quantum Computers
- Simulating quantum circuits with ZX-calculus reduced stabiliser decompositions
- Unifying flavors of fault tolerance with the ZX calculus
- Quantum picturalism for topological cluster-state computing
- Synthesis of Arbitrary Quantum Circuits to Topological Assembly
- Floquetifying the Colour Code
- Effective Compression of Quantum Braided Circuits Aided by ZX-Calculus
- A Simplified Stabilizer ZX-calculus
- Relating Measurement Patterns to Circuits via Pauli Flow
- Phase-free ZX diagrams are CSS codes (...or how to graphically grok the surface code)
- A complete graphical calculus for Spekkens' toy bit theory
- A Graphical Calculus for Lagrangian Relations
- A Specification Format and a Verification Method of Fault-Tolerant Quantum Circuits
- SurfBraid: A concept tool for preparing and resource estimating quantum circuits protected by the surface code
- The Category CNOT
- Floquetifying stabiliser codes with distance-preserving rewrites
- The Algebra for Stabilizer Codes
- Categorifying the ZX-calculus
- Scalable Spider Nests (...Or How to Graphically Grok Transversal Non-Clifford Gates)