arXiv · 2503.15118
SparQSim: Simulating Scalable Quantum Algorithms via Sparse Quantum State Representations
Abstract
Efficient simulation of large-scale quantum algorithms is pivotal yet challenging due to the exponential growth of the state space inherent in both Sch\"odinger-based and Feynman-based methods. While Feynman-based simulators can be highly efficient when the quantum state is sparse, these simulators often do not fully support the simulation of large-scale, complex quantum algorithms which rely on QRAM and other oracle-based operations. In this work, we present SparQSim, a quantum simulator implemented in C++ and inspired by the Feynman-based method. SparQSim operates at the register level by storing only the nonzero components of the quantum state, enabling flexible and resource-efficient simulation of basic quantum operations and integrated QRAM for advanced applications such as quantum linear system solvers. In particular, numerical experiments on benchmarks from QASMBench and MQTBench demonstrate that SparQSim outperforms conventional Schr\"odinger-based simulators in both execution time and memory usage for circuits with high sparsity. Moreover, full-process simulations of quantum linear system solvers based on a discrete adiabatic method yield results that are consistent with theoretical predictions. This work establishes SparQSim as a promising platform for the efficient simulation of scalable quantum algorithms.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tai-Ping Sun, Zhao-Yun Chen, Yun-Jie Wang, Cheng Xue, Huan-Yu Liu, Xi-Ning Zhuang, Xiao-Fan Xu, Yu-Chun Wu, Guo-Ping Guo. 2025-03-19. SparQSim: Simulating Scalable Quantum Algorithms via Sparse Quantum State Representations. https://doi.org/10.1088/1674-1056%2Fae43ce
Cite the original work for its findings. Save a collection to share your selection of sources.