当前位置: X-MOL 学术Quantum › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Quantum simulation with just-in-time compilation
Quantum ( IF 6.4 ) Pub Date : 2022-09-22 , DOI: 10.22331/q-2022-09-22-814
Stavros Efthymiou 1 , Marco Lazzarin 1 , Andrea Pasquale 1, 2 , Stefano Carrazza 1, 2, 3
Affiliation  

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 $\texttt{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.

中文翻译:

即时编译的量子模拟

量子技术正朝着基于量子比特(qubits)的新型硬件设备的发展方向发展。在开发量子设备的同时,还需要高效的模拟工具,以便在部署到量子硬件之前设计和基准测试量子算法和应用程序。在此背景下,我们首次尝试使用即时 (JIT) 编译技术在基于单节点中央处理单元 (CPU) 和图形处理单元的多个硬件架构和配置上执行基于电路的量子模拟。 GPU)。科学代码开发的主要挑战之一是在不损失性能或降低代码可读性的情况下平衡算法和编程技术之间的复杂程度。在此背景下,我们开发了 $\texttt{qibojit}$:Qibo 量子计算框架的一个新模块,它通过 Python 使用即时编译的方法。我们在我们的 JIT 方法和用于量子计算的相关公开可用库的子集之间执行系统的性能基准测试。我们表明,我们的新方法在不降低性能的情况下简化了实现的复杂方面。
更新日期:2022-09-23
down
wechat
bug