Abstract
Classical simulation of quantum circuits containing non-Clifford gates typically suffers from exponential complexity. This paper presents Abstraqt, a framework that applies abstract interpretation to quantum stabilizer simulation. By over-approximating quantum states into single abstract representations, Abstraqt enables the verification of properties in large-scale circuits (up to 62 qubits) where exact simulators fail due to memory or time constraints.
Introduction
Simulating quantum computers on classical hardware is a fundamental challenge. While the Gottesman-Knill theorem allows for the efficient simulation of Clifford circuits (using gates like H, S, and CNOT), universal quantum computing requires non-Clifford gates, such as the T gate. Standard simulation techniques handle these gates by decomposing the quantum state into a sum of multiple stabilizer states. However, each non-Clifford operation causes an exponential increase in the number of summands, leading to a "state explosion" that exhausts computational resources for large circuits.
Methodology: Abstract Stabilizer Simulation
To overcome the exponential wall, Abstraqt leverages Abstract Interpretation, a technique from classical program analysis. Instead of tracking an exact, exponentially growing sum of states, Abstraqt merges them into a single, over-approximated abstract state.
Abstract Domains and Transformers
The core of Abstraqt lies in its definition of mathematical domains that represent sets of possible quantum states. For instance, complex numbers are represented as "bounding boxes" using intervals for magnitude and phase. Pauli matrices are similarly abstracted into sets.
The framework defines Abstract Transformers to model how quantum gates affect these abstract states. When a non-Clifford gate is applied, rather than splitting the state into multiple summands, Abstraqt immediately joins them back into a single abstract summand. This ensures that the simulator only ever tracks one overarching state, maintaining constant memory overhead relative to the number of qubits.
Experimental Evaluation
The authors evaluated Abstraqt using 12 custom benchmark circuits, each featuring 62 qubits. These circuits were designed to be structurally complex, utilizing a mix of Clifford, T, CCX, RX, and RZ gates, along with internal measurements. The specific verification task was to prove that a target qubit would always result in a $|0\rangle$ state upon measurement.
Key Results
- Scalability: Abstraqt successfully verified 100% of the benchmark instances, completing most tasks within minutes (23 to 173 seconds) and requiring less than 600 MB of RAM.
- Comparison with Baselines: State-of-the-art simulators, including Qiskit's ESS, QuiZX, and Feynman, largely failed to handle the 62-qubit circuits. QuiZX managed a 22% success rate but frequently encountered timeouts or memory exhaustion.
- Reliability: Testing revealed a bug in Qiskit’s ESS simulator, which provided incorrect results for certain Clifford+T circuits, highlighting Abstraqt's utility as a verification tool.
Discussion and Conclusion
Abstraqt demonstrates that trading precision for scalability is a viable path for verifying large-scale quantum circuits. By accepting an over-approximation, the tool can prove specific structural properties that are otherwise intractable.
While the current implementation is based on the 2004 Aaronson-Gottesman method, future work could extend these abstraction techniques to more modern frameworks like CH-forms or the ZX-calculus. Additionally, the authors propose a "multi-summand" approach, allowing users to track a small, fixed number of summands to balance precision and performance. This cross-pollination of classical static analysis and quantum computing provides a robust foundation for the future of quantum software verification.
Summary updated