Lattice Surgery Compilation Beyond the Surface Code
Laura S. Herzog, Lucas Berent, Aleksander Kubica, Robert Wille
TL;DR
This work broadens fault-tolerant quantum compilation beyond the surface code by introducing a general lattice-surgery compilation formalism applicable to topological codes. It separates the problem into microscopic substrates and a macroscopic routing graph, then demonstrates two substrates (color code and folded surface code) and develops macroscopic routing and qubit-mapping strategies, including distance-preserving snakes. Through numerical studies on color-code substrates, it shows how logical qubit placement, T-gate availability, and circuit parallelism influence compiled depth, and it provides open-source tooling to support further exploration. Overall, it lays foundational methods for practical fault-tolerant compilation in lattice-surgery architectures beyond the surface code.
Abstract
Large-scale fault-tolerant quantum computation requires compiling logical circuits into physical operations tailored to a given architecture. Prior work addressing this challenge has mostly focused on the surface code and lattice surgery schemes. In this work, we broaden the scope by considering lattice surgery compilation for topological codes beyond the surface code. We begin by defining a code substrate - a blueprint for implementing topological codes and lattice surgery. We then abstract from the microscopic details and rephrase the compilation task as a mapping and routing problem on a macroscopic routing graph, potentially subject to substrate-specific constraints. We explore specific substrates and codes, including the color code and the folded surface code, providing detailed microscopic constructions. For the color code, we present numerical simulations analyzing how design choices at the microscopic and macroscopic levels affect the depth of compiled logical $\mathrm{CNOT}+\mathrm{T}$ circuits. An open-source code is available on GitHub https://github.com/cda-tum/mqt-qecc.
