Scalable Parallel Simulation of Quantum Circuits on CPU and GPU Systems

Guolong Zhong, Yi Fan, Zhenyu Li · 2025

Read Scalable Parallel Simulation of Quantum Circuits on CPU and GPU Systems by Guolong Zhong, Yi Fan, Zhenyu Li (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-04955.txt.

Introduction

Simulating quantum circuits on classical computers remains essential while quantum hardware stays noisy and limited. Guolong Zhong, lead author with two co-authors, present a parallelisation solution for a chemistry simulator package in a 2025 paper. Their work speeds up a full-amplitude simulator on both CPU and GPU systems.

Three optimisations drive the gains: batch-buffered overlap processing, dependency-aware gate contraction, and staggered multi-gate parallelism. Each one splits the work in a smarter way. Benchmarks across circuit types show the package beating leading open-source tools in their tests. The authors argue the results show hybrid-level parallelism can handle large-scale quantum simulation efficiently and portably on high-performance systems.

Catalog record

CREATORGuolong Zhong, Yi Fan, Zhenyu Li
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE57 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2509-04955

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Scalable Parallel Simulation of Quantum Circuits on CPU and GPU Systems Guolong Zhong, Yi Fan, Zhenyu Li Abstract Quantum computing enables parallelism through superposition and entanglement and offers advantages over classical computing architectures. However, due to the limitations of current quantum hardware in the noisy intermediate-scale quantum (NISQ) era, classical simulation remains a critical tool for developing quantum algorithms. In this research, we present a comprehensive parallelization solution for the Q 2 Chemistry software package, delivering significant performance improvements for the full-amplitude simulator on both CPU and GPU platforms. By incorporating batch-buffered overlap processing, dependency-aware gate contraction and staggered multi-gate parallelism, our optimizations significantly enhance the simulation speed compared to unoptimized baselines, demonstrating the effectiveness of hybrid-level parallelism in HPC systems. Benchmark results show that Q 2 Chemistry consistently outperforms current state-of-the-art open-source simulators across various circuit types. These benchmarks highlight the capability of Q 2 Chemistry to effectively handle large-scale quantum simulations with high efficiency and high portability. keywords Quantum Computing, Quantum Simulation, High-performance Computing, Heterogeneous systems 1 Introduction The central challenge in quantum chemistry lies in solving the electronic structure problem through numerical solutions of the Schrödinger equation. Over the past century, researchers have developed several computational methods on supercomputers, including wavefunction-based approaches such as Hartree-Fock (HF), coupled-cluster (CC) theory, and configuration interaction (CI), as well as the widely adopted density functional theory (DFT) frameworks [ 1 , 2 , 3 , 4 ] . These methods, while highly successful, face an intrinsic trade-off between computational accuracy and efficiency. Fast, approximate methods such as orbital-free DFT and machine-learned neural network potentials allow large-scale simulations at the order of millions of atoms, yet often fails in strongly correlated systems. In contrast, high-accuracy methods such as full configuration interaction (FCI) exhibit exponential scaling with system size, limiting their applicability to only small active spaces (e.g., 24 electrons in 24 orbitals) even on top-tier supercomputers [ 5 ] . A simple approach to push forward the boundary of quantum chemistry simulations is increasing the computational power of high-performance computing (HPC) clusters. However, such progression is encountering critical bottlenecks. The manufacturing of transistors has nearly reached physical limits due to quantum tunneling, while enlarging the size of supercomputer clusters suffers from increased energy consumption and thermal dissipation. These constraints motivate the development of fundamentally new paradigms for computational chemistry. Quantum computing which was first proposed by Manin and Feynman in the early 1980s offers an innovative approach [ 6 , 7 , 8 , 9 ] . By leveraging quantum superposition and entanglement, quantum computing is supposed to simulate many-body quantum systems more efficiently and quantum chemistry is a particularly promising application. Among the quantum algorithms developed for this domain, hybrid quantum-classical algorithms including variational quantum eigensolver (VQE) [ 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 ] has emerged with great application potential. VQE encodes molecular wavefunctions into quantum states, maps electronic Hamiltonians to sums of Pauli operators, and optimizes parameterized quantum circuits in an iterative quantum-classical loop. Physically motivated ansätze such as unitary coupled-cluster (UCC) and hardware-efficient circuits enable chemically meaningful simulations. [ 35 , 36 , 17 , 26 ] However, they often demand enormous quantum resources which far beyond the capability of current NISQ hardwares. For example, a typical UCCSD simulation of C 3 H 6 in the STO-3G basis requires 42 entangled qubits and over 6.6\times 10^{6} CNOT gates. Such an experimental setting significantly exceeds the performance of any existing quantum devices in both qubit scale and gate fidelity. Classical quantum simulators thus play a critical role in this paradigm by enabling algorithm development, testing, and validation on a classical computer before deployment on physical devices. The Schrödinger-style full-amplitude simulation is one of the most important quantum circuit simulation methods. Unlike tensor-network based methods such as matrix product state simulators [ 37 , 38 , 39 ] which comprise accuracy for larger simulation scale, full-amplitude method gives accurate results for simulating quantum circuit evolution, performing resource estimation, and exploring circuit design for small- and medium-scale quantum algorithms on a classical computer. There has been considerable research interests in developing such quantum simulators, leading to the creation of several software packages tailored for different computational objectives [ 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 , 49 , 50 , 51 , 52 , 53 , 54 ] . However, existing full-amplitude simulators face three major limitations: (1) Inefficient gate operation execution due to sequential processing of high-density single- and two-qubit gates which often occur in ansatzes such as UCCSD and HEA; (2) Limited exploitation of data locality in distributed systems through fragmented optimization strategies; (3) Suboptimal GPU utilization from underdeveloped multi-dimensional single instruction multiple thread (SIMT) parallelism, as listed in Table 1 . These fundamental limitations collectively hinder simulations of complex quantum circuits required for practical chemistry applications. To address these challenges, we present a series of parallel performance optimization solutions for the quantum chemistry simulation software Q 2 Chemistry. Our contributions include: 1. Batch-Buffered Overlap Processing (BBOP): A multi-buffering strategy that overlaps data transfers with computations to minimize communication overhead in distributed systems. This approach partitions quantum state amplitudes into smaller batches and employs non-blocking MPI communication to achieve pipelined execution. 2. Staggered Multi-Gate Parallelism (SMGP): A two-dimensional thread block strategy for GPU execution that maximizes memory throughput by staggering gate operations across independent quantum state segments. This is a specifically designed optimization for muti-dimensional thread layout on GPUs, which avoids inter-thread conflicts while fully exploiting GPU concurrency. 3. Dependency-Aware Gate Contraction (DAGC): A greedy algorithm that merges independent gates based on control-target dependencies, reducing operation counts through directed acyclic graph (DAG) analysis. This method is particularly effective for contracting small blocks of adjacent gates, leading to reduced circuit depth and operation counts in circuits with densely packed single-qubit operations, such as in UCCSD or HEA. Our framework uniquely combines these key features and enables Q 2 Chemistry [ 55 ] to outperform existing simulators across all circuit types. We validate our optimizations through quantum chemistry benchmarks on CPU-only clusters and GPU heterogeneous systems. Benchmark results show substantial efficiency improvements by incorporating a suite of CPU-adaptable and GPU-adaptable optimization strategies. For 30-qubit QAOA circuits, our framework achieves a 3.01× CPU-side speedup and an additional 2.66× speedup on GPU compared with baseline. Similarly, for VQE-HEA circuits with 30 qubits, the combination of optimizations delivers up to a 4.52× speedup on CPU and 3.57× acceleration on GPU. Furthermore, cross-simulator benchmarks confirm that our framework delivers competitive performance across various types of circuits, achieving substantial speedup over existing open-source software packages. These results highlight the effectiveness of our hardware-agnostic optimization strategies for full-amplitude quantum circuit simulations. Table 1: Feature comparison of selected quantum simulators Simulator Version MPI OpenMP AVX Single-GPU Multi-GPU Gate Fusion Pipelined NCCL Qiskit 1.4.0 \times \checkmark \checkmark \checkmark \checkmark \checkmark \times \times Qulacs 0.6.11 \checkmark \checkmark \checkmark \checkmark \times \checkmark \times \times Yao 0.7.4 \times \checkmark

Read the complete text