arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.06045quant-phcs.MS
收藏

基于GPU的量子张量量子线路模拟器性能评估与加速

Performance Evaluation and Acceleration of the QTensor Quantum Circuit Simulator on GPUs

Danylo Lykov, Angela Chen, Huaxuan Chen, Kristopher Keipert, Zheng Zhang, Tom Gibbs, Yuri Alexeev

摘要:

本文研究了张量网络模拟器QTensor在GPU上的移植和优化,最终目标是在大型GPU超级计算机上大规模有效地模拟量子线路。我们实现了NumPy、PyTorch和CuPy后端,并对代码进行了基准测试,以找到张量模拟在CPU或GPU上的最佳分配。我们还提出了一个动态的混合后端,以实现最佳性能。为了证明性能,我们模拟QAOA电路计算MaxCut能量期望。我们的方法在GPU上实现了$176\times$加速,超过了CPU上的NumPy基线,用于基准QAOA电路,以解决深度为$p=4$、大小为30的3-正则图上的MaxCut问题。

英文摘要:

This work studies the porting and optimization of the tensor network simulator QTensor on GPUs, with the ultimate goal of simulating quantum circuits efficiently at scale on large GPU supercomputers. We implement NumPy, PyTorch, and CuPy backends and benchmark the codes to find the optimal allocation of tensor simulations to either a CPU or a GPU. We also present a dynamic mixed backend to achieve optimal performance. To demonstrate the performance, we simulate QAOA circuits for computing the MaxCut energy expectation. Our method achieves $176\times$ speedup on a GPU over the NumPy baseline on a CPU for the benchmarked QAOA circuits to solve MaxCut problem on a 3-regular graph of size 30 with depth $p=4$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑