Simulating the machine
How do you rehearse a machine that does not exist yet?
Before a code or a decoder meets real qubits, it is rehearsed on a classical model of the machine, with its gates, noise, mid-circuit measurements and checks. Every kind of simulator buys its speed by giving something up, whether certain gates, realistic noise, or size.
Measured
- 1,000 — shots per second, 20,000 qubits, Clifford and Pauli only (Gidney 2021)
- 200 billion — shots of a 42-qubit circuit with 72 real T gates (preprint) (Li et al. 2025)
- 21% — extra detections from a Pauli stand-in (preprint) (Follet et al. 2026)
Who studies it
Daniel Gottesman, Guifré Vidal, Scott Aaronson, Huazhe Lou, Ke Liu, Keli Zheng, Riling Li, Shenggang Ying, Xiaoming Sun, Yiming Zhang, Craig Gidney
Read
- The Heisenberg Representation of Quantum Computers — Gottesman, 1998. Gottesman: Clifford gates, Pauli measurements and classical feedback can be simulated in polynomial time on a classical computer
- General Noise Channels and Mid-Circuit Measurements for Pre-Trajectory Sampling with Batched Execution — Follet et al., 2026. Generalized PTSBE: exact pre-sampled simulation with mid-circuit measurements and general noise; 11–24× over CUDA-Q trajectories on d=3 memories (preprint)
- SOFT: a high-performance simulator for universal fault-tolerant quantum circuits — Li et al., 2025. SOFT: GPU simulation of d=5 magic state cultivation with its real T gates and mid-circuit measurements, over 200 billion shots (preprint)
- Augmenting Simulated Noisy Quantum Data Collection by Orders of Magnitude Using Pre-Trajectory Sampling with Batched Execution — Patti et al., 2025. PTSBE: sample the noise first, evolve each distinct trajectory once, draw its shots in one batch; up to 10⁶× on a 35-qubit code (vendor)
- Stim: a fast stabilizer circuit simulator — Gidney, 2021. Stim: a distance-100 surface-code circuit analyzed in 15 s, then sampled at 1 kHz; Pauli noise only
- Improved Simulation of Stabilizer Circuits — Aaronson and Gottesman, 2004. Aaronson–Gottesman: the tableau algorithm without Gaussian elimination; CHP handles thousands of qubits
- Efficient classical simulation of slightly entangled quantum computations — Vidal, 2003. Vidal: simulation cost grows linearly in qubits and exponentially in entanglement
- Learning to Decode the Surface Code with a Recurrent, Transformer-Based Neural Network — Bausch et al., 2023. AlphaQubit: a neural decoder pre-trained on 2 × 10⁹ simulated samples per fold before fine-tuning on experimental ones
- cuQuantum SDK: A High-Performance Library for Accelerating Quantum Science — Bayraktar et al., 2023. cuQuantum: GPU building blocks for state-vector and tensor-network simulators (vendor)
- Simulations of Quantum Circuits with Approximate Noise using qsim and Cirq — Isakov et al., 2021. qsim: state-vector and trajectory simulation, with the delayed inner product that later pre-sampling builds on (preprint)
- Improved classical simulation of quantum circuits dominated by Clifford gates — Bravyi and Gosset, 2016. Bravyi–Gosset: Clifford circuits with t T gates simulated at a cost exponential only in t
- Simulating quantum computation by contracting tensor networks — Markov and Shi, 2005. Markov–Shi: contracting a circuit's tensor network costs exponential only in treewidth