Abstract
The rapid development of quantum computing (QC) in the NISQ era urgently demands a low-level benchmark suite and insightful evaluation metrics for characterizing the properties of prototype NISQ devices, the efficiency of QC programming compilers, schedulers and assemblers, and the capability of quantum system simulators in a classical computer. In this work, we fill this gap by proposing a low-level, easy-to-use benchmark suite called QASMBench based on the OpenQASM assembly representation. It consolidates commonly used quantum routines and kernels from a variety of domains including chemistry, simulation, linear algebra, searching, optimization, arithmetic, machine learning, fault tolerance, cryptography, etc., trading-off between generality and usability. To analyze these kernels in terms of NISQ device execution, in addition to circuit width and depth, we propose four circuit metrics including gate density, retention lifespan, measurement density, and entanglement variance, to extract more insights about the execution efficiency, the susceptibility to NISQ error, and the potential gain from machine-specific optimizations. Applications in QASMBench can be launched and verified on several NISQ platforms, including IBM-Q, Rigetti, IonQ and Quantinuum. For evaluation, we measure the execution fidelity of a subset of QASMBench applications on 12 IBM-Q machines through density matrix state tomography, which comprises 25K circuit evaluations. We also compare the fidelity of executions among the IBM-Q machines, the IonQ QPU and the Rigetti Aspen M-1 system. QASMBench is released at: http://github.com/pnnl/QASMBench.
Introduction
We are currently in the Noisy Intermediate-Scale Quantum (NISQ) era, where devices possess 50 to a few hundred qubits but lack the fault tolerance of full error correction. These machines are inherently "noisy," with gate errors and decoherence—the loss of a quantum state over time—significantly limiting the complexity of viable programs.
As the quantum software stack evolves rapidly, researchers require a standardized method to evaluate compiler efficiency, hardware backend suitability for specific algorithms, and the accuracy of classical simulators. Existing benchmarks often rely on high-level abstractions or random circuits that do not reflect real-world workloads. QASMBench addresses this by providing a low-level, assembly-based suite representing actual quantum algorithms.
The QASMBench Suite
QASMBench is built on OpenQASM, the industry-standard assembly-level intermediate representation. This ensures portability across various hardware backends, including superconducting qubits and trapped ions, via integration with tools like Qiskit or Azure Quantum.
The suite categorizes benchmarks into three distinct scales:
- Small-scale (2–5 qubits): Optimized for intensive verification tasks like state tomography.
- Medium-scale (6–15 qubits): Designed for general benchmarking of near-term devices.
- Large-scale (up to 127 qubits): Intended to stress-test the limits of state-of-the-art hardware and classical simulators.
Workloads span diverse domains, including chemistry (VQE), linear algebra (HHL), search (Grover), cryptography (Shor), and machine learning (Quantum DNN).
Characterizing Quantum Workloads
Beyond standard metrics like circuit width and depth, QASMBench introduces four novel metrics to provide deeper insights into NISQ execution:
- Gate Density: Measures qubit activity; low density suggests idle qubits and potential for scheduling optimization.
- Retention Lifespan: Tracks the maximum duration a qubit must maintain its state, correlating directly to hardware coherence limits (T1/T2 times).
- Measurement Density: Evaluates the frequency of measurements, identifying circuits where final results are highly sensitive to single-point failures.
- Entanglement Variance: Identifies "hotspot" qubits with high connectivity. This is critical for qubit mapping—ensuring the most active logical qubits are placed on the highest-quality physical qubits.
Experimental Evaluation and Results
The authors conducted an extensive evaluation involving 25,000 circuit executions across 12 IBM-Q machines, IonQ, and Rigetti systems.
Key findings include:
- Hardware Architecture Impact: Larger machines do not always yield higher fidelity. For instance, the 127-qubit Washington machine often showed higher noise levels than smaller, more refined chips for identical circuits.
- Cross-Platform Performance: Trapped-ion systems (IonQ) generally achieved higher fidelity for shallow circuits due to superior coherence. However, superconducting devices (IBM-Q) often performed better on deeper circuits where compounding gate errors in ion traps became dominant.
- The "Hotspot" Effect: Circuits with high Entanglement Variance proved extremely sensitive to mapping. If a hotspot qubit was mapped to a low-quality physical qubit, overall circuit fidelity plummeted.
Conclusion
QASMBench provides a vital tool for the NISQ era, enabling "apples-to-apples" comparisons across disparate quantum technologies. While the scalability of gold-standard verification (state tomography) remains a challenge for large-scale circuits, QASMBench establishes a foundation for future research into scalable verification and hybrid quantum-classical algorithm optimization.
Summary updated