TopoLS: Lattice Surgery Compilation via Topological Program Transformations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhou, Junyu, Liu, Yuhao, Decker, Ethan, Kalloor, Justin, Weiden, Mathias, Chen, Kean, Iancu, Costin, Li, Gushu
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914428658647040
author Zhou, Junyu
Liu, Yuhao
Decker, Ethan
Kalloor, Justin
Weiden, Mathias
Chen, Kean
Iancu, Costin
Li, Gushu
author_facet Zhou, Junyu
Liu, Yuhao
Decker, Ethan
Kalloor, Justin
Weiden, Mathias
Chen, Kean
Iancu, Costin
Li, Gushu
contents Lattice surgery is a leading approach for implementing fault-tolerant logical operations in surface code quantum computing, but compiling efficient lattice surgery layouts remains challenging. Existing compilers are largely circuit-centric and operate directly on gate sequences, limiting their ability to exploit the topological flexibility of merge-split operations and minimize space--time volume. We present TopoLS, a topology-centric compiler that uses ZX diagrams as an intermediate representation for lattice surgery compilation. TopoLS combines semantic-preserving ZX-level program transformations, including spider fusion and topology-aware slicing, with a Monte Carlo Tree Search (MCTS)-based synthesis procedure that constructs pipe-diagram embeddings by jointly optimizing placement and routing in 3D space--time. To scale to large circuits, TopoLS further introduces topology-aware partitioning that decomposes the compilation task into bounded subproblems and limits the routing frontier during embedding. Across evaluated benchmarks, TopoLS achieves an average $46\%$ reduction in space--time volume over prior circuit-centric compilers, with improvements ranging from $25\%$ to $90\%$, and exhibits strong empirical scalability on large benchmark families. Compared with SAT-based formulations that become intractable on larger instances, TopoLS offers a practical end-to-end solution for optimized lattice surgery compilation. TopoLS has been integrated into the TQEC ecosystem, enabling downstream circuit-level simulation and resource estimation workflows.
format Preprint
id arxiv_https___arxiv_org_abs_2601_23109
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle TopoLS: Lattice Surgery Compilation via Topological Program Transformations
Zhou, Junyu
Liu, Yuhao
Decker, Ethan
Kalloor, Justin
Weiden, Mathias
Chen, Kean
Iancu, Costin
Li, Gushu
Quantum Physics
Lattice surgery is a leading approach for implementing fault-tolerant logical operations in surface code quantum computing, but compiling efficient lattice surgery layouts remains challenging. Existing compilers are largely circuit-centric and operate directly on gate sequences, limiting their ability to exploit the topological flexibility of merge-split operations and minimize space--time volume. We present TopoLS, a topology-centric compiler that uses ZX diagrams as an intermediate representation for lattice surgery compilation. TopoLS combines semantic-preserving ZX-level program transformations, including spider fusion and topology-aware slicing, with a Monte Carlo Tree Search (MCTS)-based synthesis procedure that constructs pipe-diagram embeddings by jointly optimizing placement and routing in 3D space--time. To scale to large circuits, TopoLS further introduces topology-aware partitioning that decomposes the compilation task into bounded subproblems and limits the routing frontier during embedding. Across evaluated benchmarks, TopoLS achieves an average $46\%$ reduction in space--time volume over prior circuit-centric compilers, with improvements ranging from $25\%$ to $90\%$, and exhibits strong empirical scalability on large benchmark families. Compared with SAT-based formulations that become intractable on larger instances, TopoLS offers a practical end-to-end solution for optimized lattice surgery compilation. TopoLS has been integrated into the TQEC ecosystem, enabling downstream circuit-level simulation and resource estimation workflows.
title TopoLS: Lattice Surgery Compilation via Topological Program Transformations
topic Quantum Physics
url https://arxiv.org/abs/2601.23109