Quantum simulation with just-in-time compilation
arXiv:2203.08826 · doi:10.22331/q-2022-09-22-814
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. 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.
10 pages, 11 figures, accepted in Quantum, code available in https://github.com/qiboteam/qibo
References in corpus (2)
Cited by in corpus (17)
- Towards large-scale quantum optimization solvers with few qubits
- Fast Simulation of High-Depth QAOA Circuits
- Effects of noise on the overparametrization of quantum neural networks
- Benchmarking Quantum Computer Simulation Software Packages: State Vector Simulators
- Qibolab: an open-source hybrid quantum operating system
- Multi-variable integration with a variational quantum circuit
- Simulation of Quantum Computers: Review and Acceleration Opportunities
- Characterization of a Transmon Qubit in a 3D Cavity for Quantum Machine Learning and Photon Counting
- Gate-based quantum simulation of Gaussian bosonic circuits on exponentially many modes
- Qibosoq: an open-source framework for quantum circuit RFSoC programming
- Quantum noise modeling through Reinforcement Learning
- Robustness of the projected squeezed state protocol
- Optimal sampling of tensor networks targeting wave function's fast decaying tails
- Moments of Quantum Channel Ensembles
- Double-bracket quantum algorithms for high-fidelity ground state preparation
- Entanglement Trajectory and its Boundary
- Simulating Bell inequalities with Qibo