arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.09746quant-phcs.DCphysics.comp-ph
收藏

基于电路优化的量子算法快速仿真

Fast simulation of quantum algorithms using circuit optimization

Gian Giacomo Guerreschi

摘要:

经典模拟器在量子算法的开发和基准测试中发挥着重要作用,实际上任何量子计算的软件框架都提供了在模拟器上运行算法的选项。然而,量子模拟器的开发与其他软件框架基本上是分开的,这些框架专注于可用性和编译。在这里,我们展示了共同开发和集成模拟器和编译器的优势,提出了一个专门的编译器通过减少任意电路的模拟时间。虽然这个概念是广泛适用的,我们提出了一个具体的实现基于英特尔量子模拟器,一个高性能的分布式模拟器。作为这项工作的一部分,我们扩展其实现与量子态的表示相关的附加功能。通过改变状态振幅存储在分布式存储器中的顺序来减少通信开销,这一概念类似于分布式薛定谔型模拟器的局部和全局量子位之间的区别。然后,我们实现了一个编译器通过引入特殊的指令管理数据移动的一部分,量子线路,利用新的功能。这些指令针对模拟器的独特功能,在实际的量子设备中没有模拟。为了量化的优势,我们比较了所需的时间来模拟随机电路与没有我们的优化。模拟时间通常减半。

英文摘要:

Classical simulators play a major role in the development and benchmark of quantum algorithms and practically any software framework for quantum computation provides the option of running the algorithms on simulators. However, the development of quantum simulators was substantially separated from the rest of the software frameworks which, instead, focus on usability and compilation. Here, we demonstrate the advantage of co-developing and integrating simulators and compilers by proposing a specialized compiler pass to reduce the simulation time for arbitrary circuits. While the concept is broadly applicable, we present a concrete implementation based on the Intel Quantum Simulator, a high-performance distributed simulator. As part of this work, we extend its implementation with additional functionalities related to the representation of quantum states. The communication overhead is reduced by changing the order in which state amplitudes are stored in the distributed memory, a concept analogous to the distinction between local and global qubits for distributed Schroedinger-type simulators. We then implement a compiler pass to exploit the novel functionalities by introducing special instructions governing data movement as part of the quantum circuit. Those instructions target unique capabilities of simulators and have no analogue in actual quantum devices. To quantify the advantage, we compare the time required to simulate random circuits with and without our optimization. The simulation time is typically halved.

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

↑