Abstract
Quantum computing, which has the power to accelerate many computing applications, is currently a technology under development. As a result, the existing noisy intermediate-scale quantum (NISQ) computers suffer from different hardware noise effects, which cause errors in the output of quantum programs. These errors cause a high degree of variability in the performance (i.e., output fidelity) of quantum programs, which varies from one computer to another and from one day to another. Consequently, users are unable to get consistent results even when running the same program multiple times. Current solutions, while focusing on reducing the errors faced by quantum programs, do not address the variability challenge. To address this challenge, we propose Anchor, a first-of-its-kind technique that leverages linear programming to reduce the performance variability by 73% on average over the state-of-the-art implementation focused on error reduction.
The Challenge of NISQ Variability
We are currently in the NISQ (Noisy Intermediate-Scale Quantum) era. While quantum computers promise exponential speedups, they are currently incredibly sensitive to environmental noise. This sensitivity manifests in two primary ways that hinder reliable research:
- Temporal Variability: Running the exact same circuit on the same machine on different days can yield wildly different results due to fluctuations in temperature or hardware recalibration.
- Spatial Variability: Performance varies significantly between different physical machines of the same model because each chip contains unique manufacturing defects.
For iterative algorithms like Quantum Machine Learning (QML) or the Variational Quantum Eigensolver (VQE), this inconsistency is a critical failure point. If a gradient signal changes solely due to hardware drift, the algorithm cannot converge. Existing solutions typically prioritize reducing the average error, often ignoring this massive variability problem.
The Anchor Framework
Anchor shifts the paradigm from "finding the best map" to "finding the most stable distribution of maps." It utilizes a three-stage pipeline to ensure consistent and reliable results.
1. Circuit Maps Generator
Instead of picking a single "optimal" mapping (OptiMap), Anchor generates a diverse pool of mappings. It combines noise-adaptive maps with "RandMaps" (generated via random walks on the qubit coupling graph) to provide the optimizer with a wide variety of noise profiles.
2. TVD Predictor
To evaluate maps without the overhead of execution, Anchor uses a Random Forest regressor. This model predicts the Total Variation Distance (TVD)—a metric representing how much noisy output deviates from the ideal—by analyzing the sequence of gate types and qubit indices within the circuit.
3. Linear Programmer
This is the core of the Anchor system. Anchor formulates a linear programming problem to determine the optimal distribution of "shots" (executions) across the generated maps. The objective is to equalize the expected TVD across different potential computers, effectively "anchoring" performance to a consistent, predictable level.
Evaluation and Results
The framework was evaluated using QASMBench across 20 different algorithms (including QAOA and QFT) and tested on noise models from five IBM quantum computers, as well as real 127-qubit hardware.
- Variability Reduction: Anchor reduced the standard deviation of performance (TVD) by 73% compared to state-of-the-art noise-adaptive mapping.
- Improved Fidelity: Beyond stability, Anchor also reduced the average error by 27% over standard techniques by optimizing shot distribution.
- Real-World Stability: On 127-qubit IBM processors, Anchor maintained a stable TVD (12-15%), whereas traditional methods fluctuated between 10% and 40%.
- Efficiency: The linear programming step is computationally efficient, typically solving in under 2 seconds, making it suitable for cloud-based quantum services.
Conclusion
Anchor demonstrates that for many quantum applications, stability is as vital as optimality. By prioritizing consistency through diverse mapping and linear programming, Anchor provides a path toward reliable results in the noisy NISQ era. While there is some classical overhead in map generation, the significant reduction in performance variability makes it a powerful tool for the next generation of quantum algorithms.
Summary updated