Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
169 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Accelerating Decision Diagram-based Multi-node Quantum Simulation with Ring Communication and Automatic SWAP Insertion (2405.09033v1)

Published 15 May 2024 in quant-ph and cs.DC

Abstract: An N-bit quantum state requires a vector of length $2N$, leading to an exponential increase in the required memory with N in conventional statevector-based quantum simulators. A proposed solution to this issue is the decision diagram-based quantum simulator, which can significantly decrease the necessary memory and is expected to operate faster for specific quantum circuits. However, decision diagram-based quantum simulators are not easily parallelizable because data must be manipulated dynamically, and most implementations run on one thread. This paper introduces ring communication-based optimal parallelization and automatic swap insertion techniques for multi-node implementation of decision diagram-based quantum simulators. The ring communication approach is designed so that each node communicates with its neighboring nodes, which can facilitate faster and more parallel communication than broadcasting where one node needs to communicate with all nodes simultaneously. The automatic swap insertion method, an approach to minimize inter-node communication, has been employed in existing multi-node state vector-based simulators, but this paper proposes two methods specifically designed for decision diagram-based quantum simulators. These techniques were implemented and evaluated using the Shor algorithm and random circuits with up to 38 qubits using a maximum of 256 nodes. The experimental results have revealed that multi-node implementation can reduce run-time by up to 26 times. For example, Shor circuits that need 38 qubits can finish simulation in 147 seconds. Additionally, it was shown that ring communication has a higher speed-up effect than broadcast communication, and the importance of selecting the appropriate automatic swap insertion method was revealed.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (24)
  1. F. Arute, K. Arya, R. Babbush et al., “Quantum supremacy using a programmable superconducting processor,” Nature, vol. 574, no. 7779, pp. 505–510, Oct 2019. [Online]. Available: https://doi.org/10.1038/s41586-019-1666-5
  2. IBM, “The ibm quantum development roadmap,” https://www.ibm.com/quantum/roadmap, 2022. [Online]. Available: https://www.ibm.com/quantum/roadmap
  3. Q. contributors, “Qiskit: An open-source framework for quantum computing,” 2023.
  4. Y. Suzuki, Y. Kawase, Y. Masumura et al., “Qulacs: a fast and versatile quantum circuit simulator for research purpose,” Quantum, vol. 5, p. 559, Oct. 2021. [Online]. Available: https://doi.org/10.22331/q-2021-10-06-559
  5. H. Bayraktar, A. Charara, D. Clark et al., “cuquantum sdk: A high-performance library for accelerating quantum science,” 2023, arXiv 2308.01999.
  6. G. Vidal, “Efficient classical simulation of slightly entangled quantum computations,” Physical Review Letters, vol. 91, no. 14, oct 2003. [Online]. Available: https://doi.org/10.1103%2Fphysrevlett.91.147902
  7. R. Orús, “A practical introduction to tensor networks: Matrix product states and projected entangled pair states,” Annals of Physics, vol. 349, pp. 117–158, 2014. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0003491614001596
  8. J. R. McClean, S. Boixo, V. N. Smelyanskiy et al., “Barren plateaus in quantum neural network training landscapes,” Nature Communications, vol. 9, no. 1, p. 4812, Nov 2018. [Online]. Available: https://doi.org/10.1038/s41467-018-07090-4
  9. W. Huggins, P. Patil, B. Mitchell et al., “Towards quantum machine learning with tensor networks,” Quantum Science and Technology, vol. 4, no. 2, p. 024001, jan 2019. [Online]. Available: https://doi.org/10.1088%2F2058-9565%2Faaea94
  10. R. E. Bryant, “Graph-based algorithms for boolean function manipulation,” IEEE Trans. Comput., vol. 35, no. 8, p. 677–691, aug 1986. [Online]. Available: https://doi.org/10.1109/TC.1986.1676819
  11. M. Fujita, P. C. McGeer, and J. C.-Y. Yang, “Multi-terminal binary decision diagrams: An efficient data structure for matrix representation,” Formal Methods in System Design, vol. 10, no. 2, pp. 149–169, Apr 1997. [Online]. Available: https://doi.org/10.1023/A:1008647823331
  12. D. Miller and M. Thornton, “Qmdd: A decision diagram structure for reversible and quantum circuits,” in 36th International Symposium on Multiple-Valued Logic (ISMVL’06), 2006, pp. 30–30.
  13. A. Zulehner and R. Wille, “Advanced simulation of quantum computations,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 38, no. 5, pp. 848–859, 2019.
  14. Y.-H. Tsai, J.-H. R. Jiang, and C.-S. Jhang, “Bit-slicing the hilbert space: Scaling up accurate quantum circuit simulation,” in 2021 58th ACM/IEEE Design Automation Conference (DAC), 2021, pp. 439–444.
  15. S. Imamura, M. Yamazaki, T. Honda et al., “mpiqulacs: A distributed quantum computer simulator for a64fx-based cluster systems,” 2022, arXiv 2203.16044.
  16. G. G. Guerreschi, J. Hogaboam, F. Baruffa, and N. P. D. Sawaya, “Intel quantum simulator: a cloud-ready high-performance simulator of quantum circuits,” Quantum Science and Technology, vol. 5, no. 3, p. 034007, may 2020. [Online]. Available: https://dx.doi.org/10.1088/2058-9565/ab8505
  17. R. Li, B. Wu, M. Ying, X. Sun, and G. Yang, “Quantum supremacy circuit simulation on sunway taihulight,” IEEE Trans. Parallel Distrib. Syst., vol. 31, no. 4, p. 805–816, apr 2020. [Online]. Available: https://doi.org/10.1109/TPDS.2019.2947511
  18. J. Doi and H. Horii, “Cache blocking technique to large scale quantum computing simulation on supercomputers,” in 2020 IEEE International Conference on Quantum Computing and Engineering (QCE), 2020, pp. 212–222.
  19. H. Shang, Y. Fan, L. Shen, C. Guo, J. Liu, X. Duan, F. Li, and Z. Li, “Towards practical and massively parallel quantum computing emulation for quantum chemistry,” npj Quantum Information, vol. 9, no. 1, p. 33, Apr 2023. [Online]. Available: https://doi.org/10.1038/s41534-023-00696-7
  20. P. Shor, “Algorithms for quantum computation: discrete logarithms and factoring,” in Proceedings 35th Annual Symposium on Foundations of Computer Science, 1994, pp. 124–134.
  21. S. Beauregard, “Circuit for shor’s algorithm using 2n+3 qubits,” Quantum Info. Comput., vol. 3, no. 2, p. 175–185, mar 2003.
  22. Y. Takahashi and N. Kunihiro, “A quantum circuit for shor’s factoring algorithm using 2n + 2 qubits,” Quantum Info. Comput., vol. 6, no. 2, p. 184–192, mar 2006.
  23. J. Yamaguchi, M. Yamazaki, A. Tabuchi et al., “Estimation of shor’s circuit for 2048-bit integers based on quantum simulator,” Cryptology ePrint Archive, Paper 2023/092, 2023. [Online]. Available: https://eprint.iacr.org/2023/092
  24. S. Li, Y. Kimura, H. Sato, J. Yu, and M. Fujita, “Parallelizing quantum simulation with decision diagrams,” in 2023 IEEE International Conference on Quantum Software (QSW), 2023, pp. 149–154.

Summary

We haven't generated a summary for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets