arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06188quant-phcs.DC
收藏

实践现状:评估态矢量与张量网络方法的GPU性能

State of practice: evaluating GPU performance of state vector and tensor network methods

Marzio Vallero, Flavio Vella, Paolo Rech

AI总结:

本文评估态矢量与张量网络模拟器在GPU上的性能,通过八个量子子程序、31种配置的测试台,关联性能与电路指标,指导选择最优策略,实现高达10倍加速。

摘要:

在经典硬件上进行量子计算(QC)模拟的前沿正迅速逼近计算可行性的硬性扩展极限。尽管如此,由于含噪声中等规模量子(NISQ)设备尚未被认为具有容错性且在每秒操作数方面足够高效,仍然需要在经典计算机上模拟大型量子系统。两种主要的精确模拟技术——态矢量模拟器和张量网络模拟器——各自具有特定的局限性。与当前可用量子计算机的量子比特寄存器规模相比,态矢量模拟的指数级内存需求迅速饱和了当前顶级HPC机器的容量。张量网络收缩方法将量子电路编码为张量网络,然后对输出比特串进行收缩以获得其概率幅度,但这种方法仍难以应对寻找最优收缩路径的内在复杂性,该问题映射到稠密网格上的最大割问题,这是一个著名的NP难问题。\n本文旨在研究当前最先进模拟技术在由八个广泛使用的量子子程序组成的测试台上的局限性,每个子程序有31种不同配置,特别关注性能。然后,我们将模拟器的性能度量与表征基准电路的指标相关联,识别出观察到的性能趋势背后的主要原因。根据我们的观察,给定量子电路的结构和量子比特数量,我们强调了如何选择最佳模拟策略,从而获得高达一个数量级的加速。

英文摘要:

The frontier of quantum computing (QC) simulation on classical hardware is quickly reaching the hard scalability limits for computational feasibility. Nonetheless, there is still a need to simulate large quantum systems classically, as the Noisy Intermediate Scale Quantum (NISQ) devices are yet to be considered fault tolerant and performant enough in terms of operations per second. Each of the two main exact simulation techniques, state vector and tensor network simulators, boasts specific limitations. The exponential memory requirement of state vector simulation, when compared to the qubit register sizes of currently available quantum computers, quickly saturates the capacity of the top HPC machines currently available. Tensor network contraction approaches, which encode quantum circuits into tensor networks and then contract them over an output bit string to obtain its probability amplitude, still fall short of the inherent complexity of finding an optimal contraction path, which maps to a max-cut problem on a dense mesh, a notably NP-hard problem. This article aims at investigating the limits of current state-of-the-art simulation techniques on a test bench made of eight widely used quantum subroutines, each in 31 different configurations, with special emphasis on performance. We then correlate the performance measures of the simulators with the metrics that characterise the benchmark circuits, identifying the main reasons behind the observed performance trend. From our observations, given the structure of a quantum circuit and the number of qubits, we highlight how to select the best simulation strategy, obtaining a speedup of up to an order of magnitude.

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

↑