Fast simulation of quantum algorithms using circuit optimization
arXiv:2010.09746 · doi:10.22331/q-2022-05-03-706
Abstract
Classical simulators play a major role in the development and benchmark of quantum algorithms and practically any software framework for quantum computation provides the option of running the algorithms on simulators. However, the development of quantum simulators was substantially separated from the rest of the software frameworks which, instead, focus on usability and compilation. Here, we demonstrate the advantage of co-developing and integrating simulators and compilers by proposing a specialized compiler pass to reduce the simulation time for arbitrary circuits. While the concept is broadly applicable, we present a concrete implementation based on the Intel Quantum Simulator, a high-performance distributed simulator. As part of this work, we extend its implementation with additional functionalities related to the representation of quantum states. The communication overhead is reduced by changing the order in which state amplitudes are stored in the distributed memory, a concept analogous to the distinction between local and global qubits for distributed Schroedinger-type simulators. We then implement a compiler pass to exploit the novel functionalities by introducing special instructions governing data movement as part of the quantum circuit. Those instructions target unique capabilities of simulators and have no analogue in actual quantum devices. To quantify the advantage, we compare the time required to simulate random circuits with and without our optimization. The simulation time is typically halved.
References in corpus (25)
- Supplementary information for "Quantum supremacy using a programmable superconducting processor"
- A Quantum Approximate Optimization Algorithm
- ProjectQ: An Open Source Software Framework for Quantum Computing
- tket : A Retargetable Compiler for NISQ Devices
- Strawberry Fields: A Software Platform for Photonic Quantum Computing
- Qulacs: a fast and versatile quantum circuit simulator for research purpose
- QuEST and High Performance Simulation of Quantum Computers
- Digital quantum simulation of spin models with circuit quantum electrodynamics
- Concrete Categorical Model of a Quantum Circuit Description Language with Measurement
- Massive Parallel Quantum Computer Simulator
- 0.5 Petabyte Simulation of a 45-Qubit Quantum Circuit
- A Software Methodology for Compiling Quantum Programs
- A flexible high-performance simulator for verifying and benchmarking quantum circuits implemented on real hardware
- Yao.jl: Extensible, Efficient Framework for Quantum Algorithm Design
- Massively parallel quantum computer simulator, eleven years later
- Establishing the Quantum Supremacy Frontier with a 281 Pflop/s Simulation
- qHiPSTER: The Quantum High Performance Software Testing Environment
- Intel Quantum Simulator: A cloud-ready high-performance simulator of quantum circuits
- SimulaQron - A simulator for developing quantum internet software
- Density-matrix simulation of small surface codes under current and projected experimental noise
- QuNetSim: A Software Framework for Quantum Networks
- Timing and resource-aware mapping of quantum circuits to superconducting processors
- On the qubit routing problem
- Two-step approach to scheduling quantum circuits
- Circuit Transformations for Quantum Architectures