一句话:提出设备状态机抽象与DSL,可自动为任意量子处理器生成量子比特映射与路由编译器。
量子电路需将逻辑量子比特映射到处理器量子比特并规划指令执行,同时满足连接与纠错等约束,即量子比特映射与路由(QMR)问题。由于量子处理器硬件多样且快速演进,已有工作通常针对特定上下文设计专用算法。本文提出自动生成QMR编译器的方法:识别QMR问题的共同核心结构——设备状态机,据此定义抽象QMR问题,并设计紧凑的领域特定语言来声明QMR规约,以及可针对任意规约实例化的参数化算法。作者在多个重要QMR案例上评估,生成的编译器在运行时间和解质量上与手写专用编译器相当。
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.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@article{MolaviXCTA26,
title = {Generating Compilers for Qubit Mapping and Routing},
author = {Abtin Molavi and Amanda Xu and Ethan Cecchetti and Swamit Tannu and Aws Albarghouthi},
journal = {Proceedings of the ACM on Programming Languages},
volume = {10},
number = {POPL},
year = {2026},
doi = {10.1145/3776720}
}