Lifetime-Based Optimization for Simulating Quantum Circuits on a New Sunway Supercomputer
Yaojian Chen, Yong Liu, Xinmin Shi, Jiawei Song, Xin Liu, Lin Gan, Chu Guo, Haohuan Fu, Jie Gao, Dexun Chen, Guangwen Yang
Abstract
High-performance classical simulator for quantum circuits, in particular the tensor network contraction algorithm, has become an important tool for the validation of noisy quantum computing. In order to address the memory limitations, the slicing technique is used to reduce the tensor dimensions, but it could also lead to additional computation overhead that greatly slows down the overall performance. This paper proposes novel lifetime-based methods to reduce the slicing overhead and improve the computing efficiency, including, an interpretation method to deal with slicing overhead, an inplace slicing strategy to find the smallest slicing set and an adaptive tensor network contraction path refiner customized for Sunway architecture. Experiments show that in most cases the slicing overhead with our inplace slicing strategy would be less than the Cotengra, which is the most used graph path optimization software at present. Finally, the resulting simulation time is reduced to 96.1s for the Sycamore quantum processor RQC, with a sustainable single-precision performance of 308.6Pflops using over 41M cores to generate 1M correlated samples, which is more than 5 times performance improvement compared to 60.4 Pflops in 2021 Gordon Bell Prize work.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on2
- Large-Scale Simulation of Quantum Computational Chemistry on a New Sunway SupercomputerHonghui Shang, Li Shen, Yi Fan, Zhiqian Xu et al.SC 2022 · 29 citations
- SW_Qsim: a minimize-memory quantum simulator with high-performance on a new Sunway supercomputerFang Li, Xin Liu, Yong Liu, Pengpeng Zhao et al.SC 2021 · 13 citations
Related papers
- Accelerating Simulation of Quantum Circuits under Noise via Computational ReuseMeng Wang, Swamit Tannu, Prashant J. NairISCA 2025 · 5 citations
- Optimizing Tensor Network Contraction Using Reinforcement LearningEli A. Meirom, Haggai Maron, Shie Mannor, Gal ChechikICML 2022 · 21 citations
- Logical abstractions for noisy variational Quantum algorithm simulationYipeng Huang, Steven Holtzen, Todd D. Millstein, Guy Van den Broeck et al.ASPLOS 2021 · 16 citations
- Augmenting Simulated Noisy Quantum Data Collection by Orders of Magnitude Using Pre-Trajectory Sampling with Batched ExecutionTaylor Lee Patti, Thien Nguyen, Justin Gage Lietz, Alex McCaskey et al.SC 2025 · 2 citations
- Efficient 2D tensor network simulation of quantum systemsYuchen Pang, Tianyi Hao, Annika Dugad, Yiqing Zhou et al.SC 2020 · 19 citations
