Efficient simulation of variational quantum circuits: representation, accuracy and CPU/GPU allocation
Vojtěch Novák, Radovan Rečka, Ondřej Knebl, Ivan Zelinka
Abstract
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.
Create a lesson
Related papers
CAVQS: Context-Aware Variational Quantum Circuit Synthesis via Unitary Redistribution and Dynamic Reconstruction
Shared title terminology · Zhilong Liu, Xiangzhen Zhou, Yunqi Huang et al.
Ellis: Extremely Fast Quantum Circuit Simulation under Qubit Loss and Leakage
Shared title terminology · Yuewen Hou, Gokul Subramanian Ravi
Insurance portfolio simulation with a quantum circuit
Shared title terminology · William Cashman, Marco Caselli, Saad Hamid et al.
Residual-Algebraic Design of Symmetry-Preserving Variational Quantum Circuits
Shared title terminology · Sahinur Reja
Quantum Simulation of First-Quantised Chemistry with a Sum-of-Squares Representation
Shared title terminology · Aleksei V. Ivanov, Christoph Sünderhauf, Jon Kunjummen et al.
Instanton tunnelling as a verifiable benchmark for digital quantum simulation: circuit structure, classical simulability and hardware reproducibility
Shared title terminology · Gerhard Hellstern, Marc Maussner