Abstract
With the advancement of quantum computing, verifying the correctness of the quantum circuits becomes critical while developing new quantum algorithms. Constrained by the obstacles of building practical quantum computers, quantum circuit simulation has become a feasible approach to develop and verify quantum algorithms. Although there are many quantum simulators available, they either achieve low performance on CPUs, or limited simulation scale (e.g., number of qubits) on GPUs due to limited memory capacity. Therefore, we propose dgQuEST, a novel acceleration method that utilizes hybrid CPU-GPU memory hierarchies for large-scale quantum circuit simulation across multiple nodes. dgQuEST adopts efficient memory management and communication schemes to leverage the distributed CPU and GPU memories for accelerating large-scale quantum simulation. Our evaluation demonstrates that dgQuEST achieves an average speedup of 403\(\times \) compared to QuEST on quantum circuit simulation with 32 qubits, and scales to quantum circuit simulation with 35 qubits on two GPU nodes, far beyond the state-of-the-art implementation HyQuas can support.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Cai, Z.: Multi-exponential error extrapolation and combining error mitigation techniques for NISQ applications. NPJ Quant. Inf. 7(1), 80 (2021). https://doi.org/10.1038/s41534-021-00404-3
Developers, C.: Cirq (2021),.https://doi.org/10.5281/zenodo.4750446. See full list of authors on Github: https://github.com/quantumlib/Cirq/graphs/contributors
Efthymiou, S., et al.: Qibo: a framework for quantum simulation with hardware acceleration (2020)
Endo, S., Benjamin, S.C., Li, Y.: Practical quantum error mitigation for near-future applications. Phys. Rev. X 8, 031027 (2018). https://doi.org/10.1103/PhysRevX.8.031027
Gray, J.: quimb: A python package for quantum information and many-body calculations. J. Open Source Softw. 3(29), 819 (2018). https://doi.org/10.21105/joss.00819
Huang, C., Szegedy, M., Zhang, F., Gao, X., Chen, J., Shi, Y.: Alibaba cloud quantum development platform: applications to quantum algorithm design (2019)
Jones, T., Brown, A., Bush, I., Benjamin, S.C.: Quest and high performance simulation of quantum computers. Sci. Rep. 9(1), 10736 (2019). https://doi.org/10.1038/s41598-019-47174-9
McArdle, S., Jones, T., Endo, S., Li, Y., Benjamin, S.C., Yuan, X.: Variational ansatz-based quantum simulation of imaginary time evolution. NPJ Quant. Inf. 5(1), 75 (2019). https://doi.org/10.1038/s41534-019-0187-2
McCaskey, A.J.: Quantum virtual machine (qvm). version 00 (2016). https://www.osti.gov/biblio/1339996
Smelyanskiy, M., Sawaya, N.P.D., Aspuru-Guzik, A.: qhipster: The quantum high performance software testing environment (2016)
Willsch, D., Willsch, M., Jin, F., Michielsen, K., Raedt, H.D.: Gpu-accelerated simulations of quantum annealing and the quantum approximate optimization algorithm (2021)
Zhang, C., Song, Z., Wang, H., Rong, K., Zhai, J.: Hyquas: hybrid partitioner based quantum circuit simulation system on GPU. In: Proceedings of the ACM International Conference on Supercomputing, ICS ’21, pp. 443–454. Association for Computing Machinery, New York (2021). https://doi.org/10.1145/3447818.3460357
Acknowledgements
This work was supported by National Key Research and Development Program of China (No. 2020YFB1506703), National Natural Science Foundation of China (No. 62072018), and State Key Laboratory of Software Development Environment (No. SKLSDE-2021ZX-06). Hailong Yang is the corresponding author.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 IFIP International Federation for Information Processing
About this paper
Cite this paper
Feng, T. et al. (2022). dgQuEST: Accelerating Large Scale Quantum Circuit Simulation through Hybrid CPU-GPU Memory Hierarchies. In: Cérin, C., Qian, D., Gaudiot, JL., Tan, G., Zuckerman, S. (eds) Network and Parallel Computing. NPC 2021. Lecture Notes in Computer Science(), vol 13152. Springer, Cham. https://doi.org/10.1007/978-3-030-93571-9_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-93571-9_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-93570-2
Online ISBN: 978-3-030-93571-9
eBook Packages: Computer ScienceComputer Science (R0)