arXiv:2609.07776quant-phSep 2026

Manuscript Offprint

arXiv:2609.07776

QROB: Quantifying Realization Overhead in Quantum Compilation via Reverse Construction

Jintao Li, Kaiqi Li, Rui Wang, Yilun Zhao, Kaixuan Huang, Ying Wang, Jialin Zhang, Zheng-An Wang, Xiaoming Sun, Heng Fan

Jintao Li1^{1}, Kaiqi Li2^{2}, Rui Wang2^{2}, Yilun Zhao2^{2}, Kaixuan Huang1^{1}, Ying Wang2^{2}, Jialin Zhang2^{2}, Zheng-An Wang1,†^{1,\dagger}, Xiaoming Sun2,†^{2,\dagger}, Heng Fan3,4,1,5,†^{3,4,1,5,\dagger}

1^{1} Beijing Key Laboratory of Fault-Tolerant Quantum Computing, Beijing Academy of Quantum Information Sciences, Beijing, China

2^{2} Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China

3^{3} Beijing National Laboratory for Condensed Matter Physics, Institute of Physics, Chinese Academy of Sciences, Beijing, China

4^{4} Beijing Key Laboratory of Advanced Quantum Technology, Beijing, China

5^{5} Hefei National Laboratory, Hefei, China

{lijt, huangkx, wangza}@baqis.ac.cn, {likaiqi, wangrui, wangying2009, zhangjialin, sunxiaoming}@ict.ac.cn, zyilun8@gmail.com, hfan@iphy.ac.cn

Abstract—Quantum compilation reconciles a program's idealized interaction topology with hardware locality constraints, yet evaluations at scale lack calibrated references for realization overhead. We present QROB, a scalable reverse-construction methodology that generates compilation instances backward from directly realizable configurations, retaining the inverse paths as feasible, compiler-independent references. QROB provides a common evaluation substrate for NISQ SWAP routing and fault-tolerant lattice-surgery scheduling, while extending its reference-preserving principle to capacity-constrained quantum memory-access scheduling.

Across systems ranging from 9 to 156 qubits, evaluations highlight QROB's utility as both a diagnostic benchmark and a data source. First, for compiler characterization, QROB reveals substantial realization gaps in existing tools, with NISQ compilers incurring up to 24.1×24.1\times the reference SWAP cost and fault-tolerant compilers requiring up to 7.0×7.0\times the reference makespan. Second, as a supervision source for data-driven compilation, a router trained on QROB references outperforms Qiskit SABRE on 84.8% of real-world application circuits. Finally, on real hardware, QROB reference realizations achieve a median mirror-circuit survival rate 1.65×1.65\times that of full Qiskit O3 compilations across three 156-qubit IBM Heron-r2 processors, demonstrating that closing algorithmic compilation gaps translates directly into physical fidelity gains.

Index Terms—quantum compilation, fault-tolerant quantum computing, lattice surgery, benchmarking, reverse construction

I. INTRODUCTION

Quantum computing is approaching an inflection point. Recent progress in suppressing errors below the fault-tolerant threshold [1]–[3] and demonstrating early logical-qubit operations [2], [4] indicates that the field is beginning to transition from noisy experimental devices to systems capable of fault-tolerant execution. As this transition unfolds, physical resource efficiency becomes the dominant systems bottleneck. The underlying error-correction protocol determines the baseline cost of protected computation, but compilation determines how much additional physical overhead is required to realize a hardware-agnostic program under machine locality constraints. As a result, physical resource efficiency is shaped not only by the fault-tolerant execution model itself, but also by how the compiler maps a hardware-agnostic program onto a constrained machine [5]–[7].

This compiler dependence arises from a deeper abstraction gap: quantum algorithms are expressed in a hardware-agnostic circuit representation that does not expose the true machine-level cost of execution [8]. In classical computing, source programs do not explicitly encode the execution cost of cache-line movement, register allocation, or instruction scheduling; those costs emerge only at lower abstraction layers. Quantum computing exhibits an analogous gap. The root cause is a mismatch between the idealized interaction topology assumed by the program and the hardware locality constraints imposed by the target platform. To build intuition for a classical computer architect, imagine a CPU where Arithmetic Logic Units (ALUs) can only perform operations between physically adjacent registers. If a program requires an operation between two distant registers, the compiler must explicitly insert a sequence of data-swapping instructions to route them together before the operation can occur. Superconducting-qubit processors, for example, face an analogous constraint: their sparse coupling graphs permit direct two-qubit gates only between hardware-connected qubits [5], [9]. Fault-tolerant surface-code architectures impose a related locality constraint at the logical-patch level.

These architectural constraints determine which operations are directly realizable and which require costly mediation. On near-term devices, they are captured by the coupling map, so

†^{\dagger} Corresponding authors: Zheng-An Wang, Xiaoming Sun, and Heng Fan. Accepted to the 59th IEEE/ACM International Symposium on Microarchitecture (MICRO 2026). © 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

nonlocal interactions incur SWAP-based routing overhead [5], [9]. In lattice-surgery-based fault-tolerant architectures, patch layouts and routing resources constrain logical interactions, so nonlocal operations incur additional space-time overhead [7], [10], [11]. Beyond geometric routing, some fault-tolerant architectures separate a storage-efficient memory region from a smaller compute region, introducing a capacity-constrained logical-qubit residency-management problem [12]–[14]. These constraints persist across near-term and fault-tolerant systems, although the mechanisms and costs of mediation differ.

Bridging this mismatch is difficult in general, because optimal compilation under locality constraints remains NP-hard [9], [15]. This difficulty has motivated a broad spectrum of compilation approaches, including exact formulations for small instances [16]–[18], scalable heuristics for practical Noisy Intermediate-Scale Quantum (NISQ) routing [5], [19], [20], learning-based methods that infer routing policies from data [21], [22], specialized frameworks for fault-tolerant lattice-surgery compilation [7], [10], [11]. Across these regimes, however, evaluating solution quality at practical scale remains difficult because the achievable optimum is generally unknown.

One common limitation of existing quantum compilation approaches is that they are developed without calibrated reference points for the achievable optimum. In systems optimization, progress is most informative when one can reason about the distance to a principled bound rather than relative improvement alone. For example, classical kernel optimization is guided by performance ceilings like the roofline model [23]. Although quantum analogues like the quantum hardware roofline [24] exist, they are fundamentally compiler-dependent. Because their evaluation relies on specific synthesis and compilation workflows to determine algorithmic implementation metrics, their ceilings are fixed per algorithmic workload based on existing compiler outputs. This dependency makes them somewhat circular for judging the true quality of a compiler itself. What remains missing is the compiler-independent complement to these models. Such a complement would provide a calibrated reference for the minimum realization overhead required to map an ideal program onto constrained hardware.

In response, we present QROB (Quantum Realization Overhead Benchmark), a reference-preserving reverse-construction framework for quantifying realization overhead under quantum architecture constraints.

The key insight is a computational asymmetry between forward optimization and reverse construction. Consider a Rubik's Cube: finding a shortest solution to an arbitrary scramble requires expensive search, whereas a designer who starts from the solved state and applies a controlled sequence of moves obtains a valid return path simply by reversing that sequence, although the path is not necessarily shortest.

QROB exploits the same asymmetry in quantum compilation. It starts from a circuit that is directly realizable under the target constraints and applies influence-guided scrambling to construct a more challenging instance. Recording the inverse transformations yields a feasible reference realization and its cost without solving the intractable forward optimization problem. This reference is reproducible and independent of the compiler under evaluation, but it is not assumed to be globally optimal; we assess its quality against exact solvers on tractable instances and provide certification under restricted constructions.

At its core, QROB operates at the level of interaction-locality reconciliation and applies uniformly to NISQ routing and fault-tolerant lattice-surgery scheduling. We additionally test whether its higher-level reference-preserving principle extends beyond geometric routing through a capacity-constrained memory-access case study.

Our contributions can be summarized as follows:

  • QROB, a unified and scalable reverse-construction methodology. We present a methodology that retains feasible reference realizations while generating benchmark instances from 9 to 900 qubits in sub-second time (§III).

  • A practical tool for characterizing compiler-reference gaps. QROB provides calibrated references against which a compiler's realization overhead can be rigorously measured, enabling evaluation of performance-scalability trade-offs (§IV).

  • A high-quality data source for learning-based quantum compilation. QROB generates calibrated references that can be used as supervision for data-driven compilation, providing scalable training targets for learning-based methods that would otherwise lack validated labels (§IV-E).

Our evaluation demonstrates the value of QROB as both a characterization tool and a data source. Qiskit SABRE incurs 7.2× the QROB reference SWAP count on average, with the ratio growing from 3× on 16-qubit systems to 24× on 156-qubit processors. In the fault-tolerant regime, the evaluated lattice-surgery compilers incur 6.3–7.0× the QROB reference execution time. QROB-Mem further provides a retained reference for capacity-constrained memory-access scheduling, enabling quantitative evaluation of scheduling policies in this setting.

As a data source, compilers trained on QROB references outperform SABRE on 84.8% of real circuits, whereas an identical model trained on adversarial benchmark labels achieves 94.7% validation accuracy yet fails on 75% of real workloads. The compiler-reference gap also translates into hardware performance: with full Qiskit O3 enabled on three 156-qubit IBM Heron-r2 processors, QROB reference realizations achieve 1.65× the median mirror-circuit survival of O3's own compilations, with the advantage widening as system size increases.

References (51)