Generating Compilers for Qubit Mapping and Routing
arXiv:2508.10781 · doi:10.1145/3776720
Abstract
To evaluate a quantum circuit on a quantum processor, one must find a mapping from circuit qubits to processor qubits and plan the instruction execution while satisfying the processor's constraints. This is known as the qubit mapping and routing (QMR) problem. High-quality QMR solutions are key to maximizing the utility of scarce quantum resources and minimizing the probability of logical errors affecting computation. The challenge is that the landscape of quantum processors is incredibly diverse and fast-evolving. Given this diversity, dozens of papers have addressed the QMR problem for different qubit hardware, connectivity constraints, and quantum error correction schemes by a developing a new algorithm for a particular context. We present an alternative approach: automatically generating qubit mapping and routing compilers for arbitrary quantum processors. Though each QMR problem is different, we identify a common core structure-device state machine-that we use to formulate an abstract QMR problem. Our formulation naturally leads to a compact domain-specific language for specifying QMR problems and a powerful parametric algorithm that can be instantiated for any QMR specification. Our thorough evaluation on case studies of important QMR problems shows that generated compilers are competitive with handwritten, specialized compilers in terms of runtime and solution quality.
References in corpus (17)
- Surface codes: Towards practical large-scale quantum computation
- A Quantum Approximate Optimization Algorithm
- Universal Quantum Computation with ideal Clifford gates and noisy ancillas
- Suppressing quantum errors by scaling a surface code logical qubit
- Logical quantum processor based on reconfigurable atom arrays
- Quantum error correction below the surface code threshold
- Surface code quantum computing by lattice surgery
- Demonstration of the trapped-ion quantum-CCD computer architecture
- A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery
- An approximate Fourier transform useful in quantum factoring
- Quantum computing with Qiskit
- Quipper: A Scalable Quantum Programming Language
- Optimized Surface Code Communication in Superconducting Quantum Computers
- Compiling Quantum Circuits for Dynamically Field-Programmable Neutral Atoms Array Processors
- Synthesizing Quantum-Circuit Optimizers
- MQT QMAP: Efficient Quantum Circuit Mapping
- Compilation for Dynamically Field-Programmable Qubit Arrays with Efficient and Provably Near-Optimal Scheduling