SymPhase: Phase Symbolization for Fast Simulation of Stabilizer Circuits
Abstract
This paper proposes an efficient stabilizer circuit simulation algorithm that only traverses the circuit forward once. We introduce phase symbolization into stabilizer generators, which allows possible Pauli faults in the circuit to be accumulated explicitly as symbolic expressions in the phases of stabilizer generators. This way, the measurement outcomes are also symbolic expressions, and we can sample them by substituting the symbolic variables with concrete values, without traversing the circuit repeatedly. We show how to integrate symbolic phases into the stabilizer tableau and maintain them efficiently using bit-vector encoding. A new data layout of the stabilizer tableau in memory is proposed, which improves the performance of our algorithm (and other stabilizer simulation algorithms based on the stabilizer tableau). We implement our algorithm and data layout in a Julia package named SymPhase.jl, and compare it with Stim, the state-of-the-art simulator, on several benchmarks. We show that SymPhase.jl has superior performance in terms of sampling time, which is crucial for generating a large number of samples for further analysis.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
Related papers
- Symbolic Execution for Quantum Error Correction ProgramsWang Fang, Mingsheng YingPLDI 2024 · 16 citations
- Simulating Quantum Circuits by Model CountingJingyi Mei, Marcello M. Bonsangue, Alfons LaarmanCAV 2024 · 15 citations
- AlphaSyndrome: Tackling the Syndrome Measurement Circuit Scheduling Problem for QEC CodesYuhao Liu, Shuohao Ping, Junyu Zhou, Ethan Decker et al.ASPLOS 2026 · 11 citations
- Qudit Quantum Programming with Projective CliffordsJennifer Paykin, Sam WinnickPOPL 2026 · 1 citation
- Synthetiq: Fast and Versatile Quantum Circuit SynthesisAnouk Paradis, Jasper Dekoninck, Benjamin Bichsel, Martin T. VechevOOPSLA 2024 · 17 citations
