Classical circuit simulation supports quantum software development and verification and provides a baseline for assessing quantum advantage. We compare gate-based statevector simulation, direct Pauli evolution and matrix product states for molecular and spin Variational Hamiltonian Ansatze and hardware-efficient ansatze on CPU/GPU systems, varying width, depth, precision and resource allocation. In the tested implementations, direct Pauli evolution benefits complex molecular VHA, whereas GPUs accelerate wider spin and hardware efficient circuits. Matrix product state is useful when limited entanglement permits accurate compression; corrected CPU FP32 can meet the tested tolerance while costing more than FP64. Workload size, startup, worker memory and task-specific profiling can change the preferred allocation. Matched NumPy Pauli updates accelerate two-layer full LiH by 3.45-fold; the GPU gives approximately 30-fold acceleration over 18-thread Aer for 28-qubit, four-layer TFIM, both in FP64. We provide a procedure for choosing representation, precision and worker allocation jointly, comparing the cost of complete energy evaluations under accuracy, memory and core constraints.
AI Summary
The paper asks how to choose a classical simulation pipeline for repeated variational-circuit energy evaluations when representation, numerical accuracy, startup, memory and parallel allocation all affect cost. It benchmarks gate-expanded statevectors, direct Pauli rotations and MPS on molecular/spin VHA and hardware-efficient circuits, using a 36-core CPU node and a two-GPU workstation. Configurations are screened against dense FP64 energies, primarily at absolute error $10^{-6}$, then ranked by startup plus finite-stream execution cost.
For 12-qubit, two-layer LiH, replacing elementary gates with direct Pauli updates within NumPy gives a 3.45-fold speedup. Lightning takes 68.76 ms versus 562.15 ms for 18-thread Aer. Conversely, GPU gate-expanded simulation reduces 28-qubit, four-layer TFIM evaluation from 21.412 s to 0.7131 s in FP64. Two independent GPU workers deliver approximately twice single-GPU throughput for a fitting HEA state; distributing that state across both GPUs is slower. Three executed 3,600-evaluation LiH streams take median times of 18.94 s with Lightning, 22.68 s with NumPy and 92.07 s with Aer, excluding profiling; the selection sweep itself costs 35.66 s.
Accuracy checks show that tighter MPS cutoffs can restore tolerance without increasing observed bond dimension. Normalized FP64 readout makes tested NumPy/Lightning FP32 chemistry outputs eligible, but costs 3%/24% more than FP64 execution. Conclusions are implementation- and workload-specific: native-Pauli GPU execution is unmeasured, some reference coverage is partial, most allocation results are projections, and fixed-parameter agreement does not establish optimizer convergence.
Little sign of AI-generated textIncrementalMissing comparison
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.
Classical circuit simulation supports quantum software development and verification and provides a baseline for assessing quantum advantage. We compare gate-based statevector simulation, direct Pauli evolution and matrix product states for molecular and spin Variational Hamiltonian Ansatze and hardware-efficient ansatze on CPU/GPU systems, varying width, depth, precision and resource allocation. In the tested implementations, direct Pauli evolution benefits complex molecular VHA, whereas GPUs accelerate wider spin and hardware efficient circuits. Matrix product state is useful when limited entanglement permits accurate compression; corrected CPU FP32 can meet the tested tolerance while costing more than FP64. Workload size, startup, worker memory and task-specific profiling can change the preferred allocation. Matched NumPy Pauli updates accelerate two-layer full LiH by 3.45-fold; the GPU gives approximately 30-fold acceleration over 18-thread Aer for 28-qubit, four-layer TFIM, both in FP64. We provide a procedure for choosing representation, precision and worker allocation jointly, comparing the cost of complete energy evaluations under accuracy, memory and core constraints.
The paper asks how to choose a classical simulation pipeline for repeated variational-circuit energy evaluations when representation, numerical accuracy, startup, memory and parallel allocation all affect cost. It benchmarks gate-expanded statevectors, direct Pauli rotations and MPS on molecular/spin VHA and hardware-efficient circuits, using a 36-core CPU node and a two-GPU workstation. Configurations are screened against dense FP64 energies, primarily at absolute error 10−6, then ranked by startup plus finite-stream execution cost.
For 12-qubit, two-layer LiH, replacing elementary gates with direct Pauli updates within NumPy gives a 3.45-fold speedup. Lightning takes 68.76 ms versus 562.15 ms for 18-thread Aer. Conversely, GPU gate-expanded simulation reduces 28-qubit, four-layer TFIM evaluation from 21.412 s to 0.7131 s in FP64. Two independent GPU workers deliver approximately twice single-GPU throughput for a fitting HEA state; distributing that state across both GPUs is slower. Three executed 3,600-evaluation LiH streams take median times of 18.94 s with Lightning, 22.68 s with NumPy and 92.07 s with Aer, excluding profiling; the selection sweep itself costs 35.66 s.
Accuracy checks show that tighter MPS cutoffs can restore tolerance without increasing observed bond dimension. Normalized FP64 readout makes tested NumPy/Lightning FP32 chemistry outputs eligible, but costs 3%/24% more than FP64 execution. Conclusions are implementation- and workload-specific: native-Pauli GPU execution is unmeasured, some reference coverage is partial, most allocation results are projections, and fixed-parameter agreement does not establish optimizer convergence.
Quantum computing simulators underpin the development and prototyping of quantum algorithms, yet the practical choice between competing software stacks and their CPU and GPU backends is rarely guided by application-oriented evidence. We present a systematic, quantum hardware-agnostic evaluation of two widely used stacks, CUDA-Q and Qiskit, selected as the simulators closest to production execution paths, across CPU and GPU backends, and across single- and double-precision arithmetic. The evaluation spans foundational utility circuits (GHZ-state preparation and QFT/QFT† mirror circuits) through applied quantum chemistry (Variational Quantum Eigensolver (VQE) energy estimation with standard UCCSD and a depth-reduced LCNot-UCCSD ansatz, and direct sampling on hydrogen chains up to 32 qubits). The results yield concrete selection guidance: GPU-accelerated double precision delivers consistent speedups, typically 2× to 10× for tractable application workloads and substantially larger at the widest circuits up to 100× or more, and governs the maximum simulable system size under fixed compute memory, while CPU statevector backends and Qiskit Aer remain competitive, and at times preferable, at low qubit counts and wide but shallow circuits. We demonstrate the practical payoff of this guidance by extending an in-house developed QSCI(LCNot-UCCSD)-RBM electronic-structure workflow, previously constrained to a 16-qubit active space on a CPU, to a 32-qubit (10 electrons, 16 orbitals) active space with GPU acceleration, completing a 20-point potential-energy-surface scan of N2 in the cc-pVDZ basis. This end-to-end evaluation establishes that the principled simulator selection translates directly into expanded scientific reach and faster algorithmic prototyping.
This article presents a comprehensive study of the performance of quantum circuit simulation using the Matrix Product State (MPS) method within Qiskit Aer. The primary focus is on comparing the computational efficiency of implementations on central processing unit (CPU) and graphics processing unit (GPU) across various simulation platforms. Four key quantum algorithms are experimentally examined: the Variational Quantum Eigensolver (VQE), the Quantum Fourier Transform (QFT), the Quantum Approximate Optimization Algorithm (QAOA), and the Greenberger– Horne–Zeilinger (GHZ) state. For each algorithm, graphs are constructed showing the dependence of execution time on the number of qubits and the type of simulator. A single diagram is also provided to compare all four algorithms using the MPS method in Qiskit Aer. The results indicate that although the MPS simulator in Qiskit Aer is currently implemented only for CPU, it outperforms the traditional statevector simulator for low-entanglement circuits. At the same time, the lack of GPU acceleration limits the scalability of the MPS simulator. Analysis shows that implementing hardware acceleration of SVD operations using NVIDIA's cuQuantum and cuTensorNet libraries can provide a speedup of up to seven times. A comparative analysis of GPU implementations in Qiskit Aer and CUDA-Q is also conducted, including libraries such as cuStateVec, LAPACK, and cuSOLVER. Graphs are created to demonstrate the strengths and weaknesses of the simulators and simulation methods in Qiskit Aer. Notably, the MPS method remains one of the fastest by computation speed on CPU, but is sometimes surpassed by other methods on GPU. Further optimization directions for MPS are proposed, including the development of a hybrid CPU/GPU architecture and the utilization of modern GPU libraries to accelerate critical operations. Keywords: quantum computing, quantum simulation, Qiskit Aer, MPS, statevector, cudaq.
Classical simulation of quantum circuits remains indispensable for algorithm development, hardware validation, and error analysis in the noisy intermediate-scale quantum (NISQ) era. However, state-vector simulation faces exponential memory scaling, with an n-qubit system requiring O(2^n) complex amplitudes, and existing simulators often lack the flexibility to exploit heterogeneous computing resources at runtime. This paper presents a GPU-accelerated quantum circuit simulation framework that introduces three contributions: (1) an empirical backend selection algorithm that benchmarks CuPy, PyTorch-CUDA, and NumPy-CPU backends at runtime and selects the optimal execution path based on measured throughput; (2) a directed acyclic graph (DAG) based gate fusion engine that reduces circuit depth through automated identification of fusible gate sequences, coupled with adaptive precision switching between complex64 and complex128 representations; and (3) a memory-aware fallback mechanism that monitors GPU memory consumption and gracefully degrades to CPU execution when resources are exhausted. The framework integrates with Qiskit, Cirq, PennyLane, and Amazon Braket through a unified adapter layer. Benchmarks on an NVIDIA A100-SXM4 (40 GiB) GPU demonstrate speedups of 64x to 146x over NumPy CPU execution for state-vector simulation of circuits with 20 to 28 qubits, with speedups exceeding 5x from 16 qubits onward. Hardware validation on an IBM quantum processing unit (QPU) confirms Bell state fidelity of 0.939, a five-qubit Greenberger-Horne-Zeilinger (GHZ) state fidelity of 0.853, and circuit depth reduction from 42 to 14 gates through the fusion pipeline. The system is designed for portability across NVIDIA consumer and data-center GPUs, requiring no vendor-specific compilation steps.
Practitioners increasingly rely on hosted simulation environments, but their performance characteristics remain poorly documented. We present a systematic benchmarking study of GPU-accelerated approximate quantum simulation across two widely used methods: matrix product states (MPS) and Pauli path simulation (PPS), comparing BlueQubit (a hosted tool that handles hardware provisioning, simulator configuration, and job orchestration) against AWS Braket, Quantum Rings, Qiskit pauli-prop, and PauliPropagation (written in Julia). For MPS, we find that GPU runtime yields sub-quadratic scaling with bond dimension, with a growing advantage over CPU at increasing scale. For Pauli path simulation on IBM's 127-qubit kicked Ising benchmark, GPUs deliver up to ∼1,700× speedup at fine truncation thresholds (δ=2.5×10−5, 27.6M Pauli terms), and are the only backends that reach accuracy regimes below δ=10−5, which remained inaccessible to the commodity CPU-based implementations and self-contained SDKs evaluated here. We also provide a reproducible characterization of these simulators across regimes, including tradeoffs that isolated evaluations do not show. All benchmarking code and configurations are in a public GitHub repository.
Variational quantum algorithms utilize parameterized circuits many times during training, at new parameter values, over batches of data, and with gradients. Pauli propagation approximates the expectation values of such circuits classically by evolving the observable in the Heisenberg picture as a truncated sum of Pauli strings. We present PADO-Pauli, a GPU engine for Pauli propagation that compiles a circuit and its observables once into sparse matrices in which each rotation angle contributes only a cosine and a sine factor, so every later evaluation reuses the compiled program. It evaluates batches of parameters and data inputs embedded as rotation angles. By default its gradients come from a vector-Jacobian product registered with PyTorch's automatic differentiation, so they flow through the angles to any classical layer that produces them. PADO-Pauli also provides truncation by Pauli weight and coefficient size, and noise channels. Zero-filtering removes terms that do not contribute to an expectation value in the all-zero reference state and makes the batched forward pass about 1.5 times faster. Compared to cuPauliProp on an NVIDIA A100, PADO-Pauli evaluates up to 10 times faster on 4 to 12 qubits and uses up to 3.1 times less memory on 16 qubits. We check its accuracy against exact statevector simulation up to 28 qubits. These features make PADO-Pauli a practical toolkit for training variational quantum algorithms, including quantum machine learning models.
The rapid expansion of quantum computing research has created a growing need for effective and scalable tools to simulate quantum algorithms. In this study, we present a performance analysis of several quantum circuit simulators by using the Deutsch-Jozsa (DJ) and Quantum Fourier Transform (QFT). A gate-based QASM implementation serves as the baseline and is converted to code compatible with each simulator. Our evaluation covers multi-CPU simulators like Qiskit, Qsim-Cirq, and QuEST, as well as their GPU-accelerated variants along with CUDA-Q, for qubit sizes ranging from 21 to 35. By profiling these algorithms, we compare key performance indicators and reveal notable efficiency differences between platforms. In particular, the multi-node version of QuEST shows strong CPU utilization, high speedup, and efficient memory scalability. whereas GPUbased implementations provide clear performance advantages at higher qubit counts. These findings offer practical guidance for choosing simulation platforms according to problem size and available computing resources, thereby supporting more efficient quantum-algorithm workflows.