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.
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:
- 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.
- 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."
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