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 FanarXiv 2026

TL;DR

QROB introduces a scalable "reverse-construction" benchmarking framework that evaluates quantum compilers by generating circuits backward from directly realizable hardware configurations. By retaining these inverse paths as baseline references, QROB exposes massive, previously hidden overhead gaps in state-of-the-art compilers. Testing on real 156-qubit IBM processors demonstrates that closing these algorithmic compilation gaps yields a 1.65× boost in physical hardware fidelity.

What Problem Does This Paper Address?

Quantum algorithms are typically written in an idealized, hardware-agnostic format where any qubit can talk to any other qubit. However, real quantum hardware has strict locality constraints: physical qubits can usually only interact with their immediate neighbors on a chip. Compilers must bridge this gap by inserting routing operations—such as SWAP gates in near-term Noisy Intermediate-Scale Quantum (NISQ) devices or allocating dynamic routing channels via lattice surgery in Fault-Tolerant Quantum Computing (FTQC) architectures.

Fig. 1. Compilation of a nonlocal CX gate under NISQ and FTQC architec- ture constraints. C and T denote the Control and Target respectively. (a) On a sparse NISQ coupling graph, a sequence of SWAPs along the blue route moves the control state from its initial location C to C′, where a native CX can be executed with the now-adjacent target (red edge). (b) On a schematic Square- Sparse surface-code layout, the data patches remain stationary. Blue squares denote occupied data patches, white squares denote idle ancilla patches, and the light-blue squares denote routing ancilla temporarily allocated to form the lattice-surgery channel. The channel connects a horizontal Z boundary of the control patch to a vertical X boundary of the target patch. Thus, both regimes mediate the same nonlocal logical interaction, but NISQ incurs state movement and additional gates, whereas FTQC incurs temporary spatial occupation and scheduling cost.

Because finding the absolute mathematically optimal layout and routing path is an NP-hard problem, practical compilers rely on heuristics. Until now, the community lacked a calibrated baseline to measure how good these heuristics actually are at scale. Compilers were only compared against each other, creating a circular evaluation loop where no one knew how much overhead was truly unavoidable versus how much was simply compiler inefficiency.

Methods

The authors flip the compilation problem on its head using reverse construction, exploiting a computational asymmetry similar to a Rubik's Cube: finding the shortest path to solve a scrambled cube is incredibly difficult, but scrambling a solved cube while tracking your steps is trivial.

The QROB pipeline consists of two main phases:

  1. Ideal Circuit Construction: QROB generates an "ideal circuit" by sampling adjacent edges directly from the hardware's topology graph. This circuit can be executed with exactly zero routing overhead.
  2. Influence-Guided Scrambling: It then applies a sequence of qubit exchange operations backward to systematically disrupt this direct layout, turning it into a complex "puzzle circuit."
The QROB reverse construction workflow.

Because the exact sequence of scrambling steps is recorded, the inverse of this sequence provides a guaranteed, feasible reference path. QROB applies this unified framework across three paradigms:

  • NISQ Routing: Measuring SWAP gate overhead on sparse coupling graphs.
  • Fault-Tolerant Routing (FTQC): Measuring execution time (makespan) and space-time volume for static patch layout and dynamic lattice-surgery channel allocation.
  • Quantum Memory-Access Scheduling (QROB-Mem): An extension evaluating capacity-constrained data movement between a small compute region and a larger storage memory.

Datasets

The paper evaluates compilers using a mix of synthetic and real-world datasets:

  • QROB Synthetic Benchmarks: Benchmark suites spanning 18 hardware configurations, including 12 coupling topologies (9 to 156 qubits) and 6 surface-code lattices (16 to 256 logical qubits).
  • Real-World Application Circuits: Sourced from QASMBench and MQT Bench (including QAOA and VQE algorithm families) to test the transferability of QROB-trained models.
  • Structural Coverage Dataset: 216 circuits from 10 standard families in Qiskit’s circuit library used to verify that QROB's synthetic circuits structurally match real workloads.
  • Physical Hardware Data: Execution and fidelity data collected from three 156-qubit IBM Heron-r2 processors (ibm_kingston, ibm_marrakesh, ibm_fez) and the Quafu Baihua processor.

Key Insights and Ideas

  • The Compilation Gap Explodes with Scale: The gap between heuristic compilers and the reference baseline isn't constant; it widens dramatically as system size increases. This suggests that the exponential growth of the mapping search space quickly overwhelms the limited planning horizons of current compilers.
  • Cross-Layer Consistency: This overhead scaling issue isn't unique to near-term (NISQ) hardware. It persists identically in fault-tolerant (FTQC) lattice-surgery architectures, proving it is a fundamental structural property of locality-constrained compilation.
  • Better Labels, Better Machine Learning: Machine learning routers trained on QROB's high-quality reference paths significantly outperform those trained on standard heuristic labels, proving that high-fidelity supervision data is critical for data-driven quantum compilation.

Key Results

  • NISQ Compilers: Industry-standard compilers incur massive overhead. Qiskit SABRE required an average of 7.2× the reference SWAP count, scaling up to 24.1× on 156-qubit systems.
  • FTQC Compilers: Evaluated lattice-surgery compilers (WISQ/DASCOT and EDPC) required 6.3× to 7.0× the reference execution time (makespan) at scale.
  • Machine Learning Boost: A router trained on QROB references outperformed Qiskit SABRE on 84.8% of real-world application circuits.
  • Real Hardware Validation: When deployed on three 156-qubit IBM Heron-r2 processors, circuits compiled using QROB's reference paths achieved a 1.65× median mirror-circuit survival rate compared to full Qiskit O3 optimizations.

Limitations and Future Work

  • Isolated Compilation Layer: QROB focuses strictly on the layout, routing, and scheduling layer. It does not model upstream or downstream compilation steps like logical synthesis, phase folding, gate cancellations, or code-distance-dependent logical errors.
  • Simplified Abstractions: For fault-tolerant evaluations, it assumes an abundant-supply abstraction for magic states and does not investigate complex factory placements or decoder latencies.
  • Future Directions: The authors suggest extending this reverse-construction methodology to other architecture-constrained compilation problems as hardware designs continue to mature.

Summary updated

BibTeX
@misc{li2026qrob,
  author = {Jintao Li and Kaiqi Li and Rui Wang and Yilun Zhao and Kaixuan Huang and Ying Wang and Jialin Zhang and Zheng-An Wang and Xiaoming Sun and Heng Fan},
  title = {{QROB: Quantifying Realization Overhead in Quantum Compilation via Reverse Construction}},
  year = {2026},
  eprint = {2609.07776},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.07776},
}
Figure