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

TornadoQSim:一个开源的高性能与模块化量子电路仿真框架

TornadoQSim: An Open-source High-Performance and Modular Quantum Circuit Simulation Framework

Ales Kubicek, Athanasios Stratikopoulos, Juan Fumero, Nikos Foutris, Christos Kotselidis

AI总结:

本文提出开源Java量子电路仿真框架TornadoQSim,支持模块化后端并利用TornadoVM实现异构硬件透明加速,在11量子比特电路上最高达518.12倍加速,小电路性能优于Qiskit。

摘要:

在本文中,我们提出了TornadoQSim,这是一个用Java实现的开源量子电路仿真框架。该框架设计为模块化且易于扩展,能够容纳不同的用户自定义仿真后端,例如酉矩阵仿真技术。此外,TornadoQSim具有可交换仿真后端的能力,这些后端能够仿真任意量子电路。TornadoQSim相较于其他量子仿真器的另一个新颖之处在于,其在异构设备上对仿真后端实现了透明的硬件加速。TornadoQSim采用TornadoVM将仿真后端的部分代码自动编译到异构硬件上,从而解决了由底层异构编程模型导致的开发碎片化问题。对TornadoQSim的评估表明,对于一个11量子比特的完全纠缠量子电路,透明利用GPU硬件与纯Java代码相比,最高可实现506.5倍的性能加速。其他被评估的量子算法包括Deutsch-Jozsa算法(11量子比特电路实现493.10倍加速)和量子傅里叶变换算法(11量子比特电路实现518.12倍加速)。最后,TornadoQSim的酉矩阵最佳实现与通过Qiskit进行的语义等价仿真进行了对比评估。对比评估表明,对于小型电路,使用TornadoQSim仿真更快;而对于大型电路,Qiskit的性能比TornadoQSim高出一个数量级。

英文摘要:

In this article, we present TornadoQSim, an open-source quantum circuit simulation framework implemented in Java. The proposed framework has been designed to be modular and easily expandable for accommodating different user-defined simulation backends, such as the unitary matrix simulation technique. Furthermore, TornadoQSim features the ability to interchange simulation backends that can simulate arbitrary quantum circuits. Another novel aspect of TornadoQSim over other quantum simulators is the transparent hardware acceleration of the simulation backends on heterogeneous devices. TornadoQSim employs TornadoVM to automatically compile parts of the simulation backends onto heterogeneous hardware, thereby addressing the fragmentation in development due to the low-level heterogeneous programming models. The evaluation of TornadoQSim has shown that the transparent utilization of GPU hardware can result in up to 506.5$x$ performance speedup when compared to the vanilla Java code for a fully entangled quantum circuit of 11 qubits. Other evaluated quantum algorithms have been the Deutsch-Jozsa algorithm (493.10$x$ speedup for a 11-qubit circuit) and the quantum Fourier transform algorithm (518.12$x$ speedup for a 11-qubit circuit). Finally, the best TornadoQSim implementation of unitary matrix has been evaluated against a semantically equivalent simulation via Qiskit. The comparative evaluation has shown that the simulation with TornadoQSim is faster for small circuits, while for large circuits Qiskit outperforms TornadoQSim by an order of magnitude.

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

↑