Skip to main content

dgQuEST: Accelerating Large Scale Quantum Circuit Simulation through Hybrid CPU-GPU Memory Hierarchies

  • Conference paper
  • First Online:
Network and Parallel Computing (NPC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 13152))

Included in the following conference series:

  • 1049 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 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

    Article  Google Scholar 

  2. 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

  3. Efthymiou, S., et al.: Qibo: a framework for quantum simulation with hardware acceleration (2020)

    Google Scholar 

  4. 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

  5. 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

  6. Huang, C., Szegedy, M., Zhang, F., Gao, X., Chen, J., Shi, Y.: Alibaba cloud quantum development platform: applications to quantum algorithm design (2019)

    Google Scholar 

  7. 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

    Article  Google Scholar 

  8. 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

    Article  Google Scholar 

  9. McCaskey, A.J.: Quantum virtual machine (qvm). version 00 (2016). https://www.osti.gov/biblio/1339996

  10. Smelyanskiy, M., Sawaya, N.P.D., Aspuru-Guzik, A.: qhipster: The quantum high performance software testing environment (2016)

    Google Scholar 

  11. Willsch, D., Willsch, M., Jin, F., Michielsen, K., Raedt, H.D.: Gpu-accelerated simulations of quantum annealing and the quantum approximate optimization algorithm (2021)

    Google Scholar 

  12. 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

Download references

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

Authors

Corresponding author

Correspondence to Hailong Yang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics