Quantum simulation with just-in-time compilation

Stavros Efthymiou, Marco Lazzarin, Andrea Pasquale, Stefano Carrazza
3/16/2022
quant-phhep-phphysics.comp-ph

Official code: qiboteam/qibo (370 stars, Python, Apache-2.0, last commit 2026-10-20).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

qiboteam/qiboOfficial100%
Apache-2.0

A full-stack framework for quantum computing.

370109Python, NixFeb 18, 20201 months agoApache-2.0
gpuquantumquantum-algorithmsquantum-annealingquantum-circuit+1 more

Similar Papers

Cite this paper

@article{efthymiou2022quantum,
  title  = {Quantum simulation with just-in-time compilation},
  author = {Stavros Efthymiou and Marco Lazzarin and Andrea Pasquale and Stefano Carrazza},
  year   = {2022},
  eprint = {2203.08826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.08826}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.08826.svg)](https://codeofpaper.com/paper/2203.08826)

Discussion