TornadoQSim: An Open-source High-Performance and Modular Quantum Circuit Simulation Framework
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 25 references indexed in Scilit:
- Intel Quantum Simulator: a cloud-ready high-performance simulator of quantum circuitsQuantum Science and Technology, 2020
- Quantum supremacy using a programmable superconducting processorNature, 2019
- A flexible high-performance simulator for verifying and benchmarking quantum circuits implemented on real hardwarenpj Quantum Information, 2019
- QuEST and High Performance Simulation of Quantum ComputersScientific Reports, 2019
- An FPGA-based real quantum computer emulatorJournal of Computational Electronics, 2018
- Quantum machine learningNature, 2017
- An introduction to quantum machine learningContemporary Physics, 2014
- Quantum and Biocomputing – Common Notions and Targets2014
- Quantum Computing2001
- Quantum theory, the Church–Turing principle and the universal quantum computerProceedings of the Royal Society of London. A. Mathematical and Physical Sciences, 1985