Abstract
While quantum computers provide exciting opportunities for information processing, they currently suffer from noise during computation that is not fully understood. Incomplete noise models have led to discrepancies between quantum program success rate (SR) estimates and actual machine outcomes. For example, the estimated probability of success (ESP) is the state-of-the-art metric used to gauge quantum program performance. The ESP suffers poor prediction since it fails to account for the unique combination of circuit structure, quantum state, and quantum computer properties specific to each program execution. Thus, an urgent need exists for a systematic approach that can elucidate various noise impacts and accurately and robustly predict quantum computer success rates, emphasizing application and device scaling. In this article, we propose quantum vulnerability analysis (QVA) to systematically quantify the error impact on quantum applications and address the gap between current success rate (SR) estimators and real quantum computer results. The QVA determines the cumulative quantum vulnerability (CQV) of the target quantum computation, which quantifies the quantum error impact based on the entire algorithm applied to the target quantum machine. By evaluating the CQV with well-known benchmarks on three 27-qubit quantum computers, the CQV success estimation outperforms the estimated probability of success state-of-the-art prediction technique by achieving on average six times less relative prediction error, with best cases at 30 times, for benchmarks with a real SR rate above 0.1%. Direct application of QVA has been provided that helps researchers choose a promising compiling strategy at compile time.
Introduction
In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, quantum computers are incredibly sensitive to environmental noise. A program's performance is typically measured by its Success Rate (SR)—the probability that the hardware returns the correct answer. Currently, the industry standard for predicting SR is the Estimated Probability of Success (ESP), which calculates the product of individual error rates for every gate and measurement.
However, ESP is often inaccurate because it assumes all errors impact the final result equally. In reality, errors can be "masked" or propagate through CNOT gates, significantly corrupting the final state. This leads to a massive gap between predicted and actual performance on real hardware, such as IBM’s 27-qubit systems.
Methodology: Quantum Vulnerability Analysis (QVA)
To address these inaccuracies, we propose Quantum Vulnerability Analysis (QVA), a framework designed to calculate the Cumulative Quantum Vulnerability (CQV). The predicted success rate is derived as $1 - CQV$.
The QVA methodology involves several key innovations:
- Circuit Array Generator: Breaks down circuits into a 2-D array representing physical qubits at each clock cycle for granular error tracking.
- Error Propagation Modeling: Introduces a weight ($w$) to represent the fraction of cumulative error transferred between qubits during CNOT operations.
- GNN-based Weight Selection: A Graph Neural Network (GNN) is trained to predict the optimal weight $w$ based on machine calibration data and circuit topology.
- Linear Scalability: The algorithm maintains a complexity of $O(G)$, where $G$ is the gate count, ensuring efficiency for large-scale circuits.
Experimental Setup
The framework was evaluated using over 160,000 experiments across six benchmarks: Bernstein-Vazirani (BV), Deutsch-Jozsa (DJ), Hidden Shift (HS), Greenberger-Horne-Zeilinger (GHZ), Quantum Fourier Transform (QFT), and Quantum Phase Estimation (QPE). Testing was conducted on three 27-qubit IBM quantum computers: IBMQ Montreal, IBMQ Toronto, and IBMQ Mumbai, with circuits ranging from 4 to 15 qubits.
Results and Discussion
The CQV metric significantly outperformed ESP, achieving an average of six times less relative prediction error. In some cases, it was up to 30 times more accurate.
Key insights from the study include:
- Positional Impact: A gate's position in the circuit is as critical as its error rate. Errors on qubits that are not subsequently measured do not affect the final SR.
- CNOT Vulnerability: CNOT gates are primary drivers of error propagation. QVA effectively models this "cross-error," which becomes increasingly important as circuits approach a device's Quantum Volume limit.
- Compilation Guidance: QVA can be used at compile-time to select optimal optimization levels and routing strategies, correctly identifying paths that yield the highest real-world SR where ESP might fail.
Conclusion
QVA provides a robust method for predicting quantum program success by modeling error propagation. Future work includes integrating QVA directly into compilers for "vulnerability-aware" mapping and exploring its application in larger devices with partial error correction.
Summary updated