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

采用环形通信与自动SWAP插入加速基于决策图的多节点量子模拟

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

Yusuke Kimura, Shaowen Li, Hiroyuki Sato, Masahiro Fujita

AI总结:

针对基于决策图的量子模拟器难以并行化的问题,提出环形通信并行方案与两种专用自动SWAP插入技术,在256节点下对最多38比特电路实现最高26倍加速,验证了方法的有效性。

摘要:

N位量子态需要长度为$2^N$的向量,导致传统基于状态向量的量子模拟器所需内存随N呈指数级增长。针对该问题的一种解决方案是基于决策图的量子模拟器,它能大幅降低所需内存,且在特定量子电路上有望实现更快的运行速度。然而,基于决策图的量子模拟器因需要动态操作数据而难以并行化,大多数实现仅在单线程上运行。\n本文提出了基于环形通信的最优并行化方案与自动交换插入技术,用于基于决策图的量子模拟器的多节点实现。环形通信方法设计为每个节点仅与相邻节点通信,与单个节点需同时和所有节点通信的广播方式相比,可实现更快速、更高并行度的通信。自动交换插入方法是一种最小化节点间通信的手段,已在现有的多节点基于状态向量的模拟器中得到应用,但本文提出了两种专门针对基于决策图的量子模拟器设计的方法。\n研究人员实现了这些技术,并使用Shor算法以及最多含38个量子比特的随机电路,在最多256个节点上进行了评估。实验结果表明,多节点实现最多可将运行时间缩短26倍。例如,需要38个量子比特的Shor电路可在147秒内完成模拟。此外,研究还证实环形通信比广播通信具有更高的加速效果,同时也揭示了选择合适的自动交换插入方法的重要性。

英文摘要:

An N-bit quantum state requires a vector of length $2^N$, 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.

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

↑