Accelerating Simulation of Quantum Circuits under Noise via Computational Reuse
Meng Wang, Swamit Tannu, Prashant J. Nair
TL;DR
Noisy quantum circuit simulations are prohibitively slow due to the need to run many trials with noise models. TQSim introduces a tree-based, memory-aware approach that partitions circuits into subcircuits and reuses intermediate states across shots, achieving up to 3.89x speedup on a single node while maintaining tight fidelity bounds. The method employs dynamic circuit partitioning (DCP), careful management of memory overhead, and robust error-bounding techniques to balance speed and accuracy across CPUs, GPUs, and multi-node HPC systems. Evaluations on 48 circuits across multiple backends and noise models show consistent performance gains with fidelity losses bounded by a few percent, enabling scalable exploration of noisy quantum algorithms and VQAs on practical hardware.
Abstract
To realize the full potential of quantum computers, we must mitigate qubit errors by developing noise-aware algorithms, compilers, and architectures. Thus, simulating quantum programs on high-performance computing (HPC) systems with different noise models is a de facto tool researchers use. Unfortunately, noisy simulators iteratively execute a similar circuit for thousands of trials, thereby incurring significant performance overheads. To address this, we propose a noisy simulation technique called Tree-Based Quantum Circuit Simulation (TQSim). TQSim exploits the reusability of intermediate results during the noisy simulation, reducing computation. TQSim dynamically partitions a circuit into several subcircuits. It then reuses the intermediate results from these subcircuits during computation. Compared to a noisy Qulacs-based baseline simulator, TQSim achieves a speedup of up to 3.89x for noisy simulations. TQSim is designed to be efficient with multi-node setups while also maintaining tight fidelity bounds.
