arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.08826quant-phhep-phphysics.comp-ph
收藏

具有即时编译的量子模拟

Quantum simulation with just-in-time compilation

Stavros Efthymiou, Marco Lazzarin, Andrea Pasquale, Stefano Carrazza

摘要:

量子技术正朝着基于量子比特(qubit)的新型硬件设备的发展方向发展。在量子器件开发的同时,需要高效的仿真工具,以便在量子硬件上部署之前设计和基准测试量子算法和应用程序。在这种情况下,我们提出了第一次尝试执行基于电路的量子模拟使用即时(JIT)编译技术的多个硬件架构和配置的基础上,单节点中央处理单元(CPU)和图形处理单元(GPU)。科学代码开发中的主要挑战之一是在不损失性能或降低代码可读性的情况下平衡算法和编程技术之间的复杂性水平。在这种情况下,我们开发了qibojit:Qibo量子计算框架的一个新模块,它通过Python使用即时编译方法。我们在我们的JIT方法和量子计算的相关公共可用库的子集之间执行系统的性能基准测试。我们表明,我们的新方法简化了复杂的方面的实施,而不会恶化性能。

英文摘要:

Quantum technologies are moving towards the development of novel hardware devices based on quantum bits (qubits). In parallel to the development of quantum devices, efficient simulation tools are needed in order to design and benchmark quantum algorithms and applications before deployment on quantum hardware. In this context, we present a first attempt to perform circuit-based quantum simulation using the just-in-time (JIT) compilation technique on multiple hardware architectures and configurations based on single-node central processing units (CPUs) and graphics processing units (GPUs). One of the major challenges in scientific code development is to balance the level of complexity between algorithms and programming techniques without losing performance or degrading code readability. In this context, we have developed qibojit: a new module for the Qibo quantum computing framework, which uses a just-in-time compilation approach through Python. We perform systematic performance benchmarks between our JIT approach and a subset of relevant publicly available libraries for quantum computing. We show that our novel approach simplifies the complex aspects of the implementation without deteriorating performance.

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

↑