arXiv:2611.22315
Circuit compilation in the quspect quantum SDK: selecting routings after coupling-constrained resynthesis
Xusheng Xu, Runqing Zhang, Hongtao Xue, Jize Han, Jingwei Wen, Ruoyu Zhou, Lei Jin, Xiaoxiao Hu, Gui-Lu Long
Abstract
quspect is an open-source quantum computing SDK that provides circuit construction, C++ state-vector simulation with adjoint gradients, support for variational and combinatorial-optimization algorithms, Hamiltonian simulation, control-pulse envelopes and backends for several cloud quantum processors. Here we describe and evaluate its circuit compiler. Routing and synthesis interact: inserting a SWAP can change the circuit structure that later optimization exploits. At its highest optimization level, the compiler evaluates a screened set of routing candidates by their cost after coupling-constrained resynthesis. The pipeline combines parity-state A* search for small CNOT-phase regions, heuristic synthesis for larger regions, and numerical three-qubit instantiation with a per-block 10^-9 check. For a fixed phase polynomial, A* certifies the minimum CX count when it reaches a goal within budget. On an evaluation set of 55 circuits from 41 arXiv papers on five topologies, the compiler uses 0.616 times as many two-qubit gates as Qiskit O3 (95% circuit-cluster bootstrap interval 0.555-0.679) at 0.592 times its depth. BQSKit level 2 reaches 0.853 and tket 0.930. On a 17-qubit superconducting processor, the compiled circuits had the fewest CZ gates in all six scenarios of the main run. Ablations assess the contributions within the integrated pipeline.
AI Summary
Quantum routing and synthesis interact: a SWAP-minimal routing need not minimize the final entangling-gate count after resynthesis. This paper describes the quspect SDK compiler, which screens multiple routing candidates and selects among them after coupling-constrained resynthesis rather than by SWAP count alone. The pipeline combines block- and commutation-aware routing, merge-aware A* window refinement, specialized path/ring routing, CNOT–phase region resynthesis, numerical three-qubit synthesis, recompilation, and commutation-aware scheduling. For small CNOT–phase regions, budgeted parity-state A* certifies the minimum CX count for the extracted, fixed phase polynomial and coupling graph when it reaches a goal; this is not unrestricted unitary-synthesis optimality. Numerical replacements receive emitted-unitary checks with a per-block elementwise tolerance of $10^{-9}$. On 55 circuits from 41 arXiv papers across five topologies, the geometric-mean two-qubit count relative to Qiskit O3 is $0.616$ (95% circuit-cluster bootstrap interval $[0.555,0.679]$), with depth ratio $0.592$. BQSKit level 2 and tket reach count ratios $0.853$ and $0.930$. Including additional opponents, quspect wins/ties/loses against the per-case best tested configuration in 175/89/11 cases. Ablations indicate interacting, substitutable contributions. Hardware tests use one 17-qubit superconducting chip. Stated limitations include development exposure to aggregate evaluation results, unequal compute budgets, missing direct comparisons with several closest methods, and no fixed-candidate-pool isolation of the ranking objective. Size caps restrict resynthesis on large circuits, most large outputs remain formally unverified, and per-block tolerances do not bound whole-circuit error. Hardware evidence is device- and calibration-limited; layout is noise-unaware.
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.