Benchmark near-term quantum algorithms for Partial Differential Equations (PDEs).
Solving PDE efficiently is important in scientific research and engineering. Many quantum algorithms have been proposed to solve PDE on near-term quantum computers. However, most algorithms are verified on simulators, ignoring the effect of quantum hardware noise. This leaves the practical performance and utility of those algorithms an open question. We propose an effort toward filling this gap via extensive benchmarks.
Also, see this website for a brief survey of solving various PDEs with quantum algorithms.
Download all the files and finish the installation locally,
git clone https://github.com/comp-physics/Quantum-PDE-Benchmark
cd qpde-benchmark
pip install -e.
We consider the following PDEs in this benchmark with various boundary conditions.
The Poisson equation (elliptic)
wave equation (hyperbolic)
heat equation (parabolic)
1D Reaction-diffusion equation (linear, mixed)
and 1D Burgers Equation (nonlinear, mixed)
-
Variational Quantum Eigensolver (VQE)
-
Variational Quantum Linear Solver (VQLS)
-
Hamiltonian Simulation
-
Quantum Spectral Method
Hardware | qubits | Quantum Volume | Speed | 1q gate error | 2q gate error | Measurement error | Vendor |
---|---|---|---|---|---|---|---|
ibmq-guadalupe | 16 | 32 | 2.4k CLOPS | 3.176e-4 | 1.037e-2 | 1.795e-2 | IBM |
ibmq-toronto | 27 | 32 | 1.8k CLOPS | 3.064e-4 | 1.191e-2 | 2.930e-2 | IBM |
ibmq-montreal | 27 | 128 | 2k CLOPS | 2.986e-4 | 1.168e-2 | 1.569e-2 | IBM |
ibmq-washington | 127 | 64 | 850 CLOPS | 2.923e-4 | 1.305e-2 | 1.170e-2 | IBM |
We provide tutorials to solve PDEs on IBM's superconducting quantum hardware:
- 1D Poisson Equation using VQE
- 1D Poisson Equation using VQLS
Quantum PDE Benchmark uses Apache-2.0 license.
[1] Peruzzo, Alberto, et al. "A variational eigenvalue solver on a photonic quantum processor." Nature communications 5.1 (2014): 1-7.
[2] Bravo-Prieto, Carlos, et al. "Variational quantum linear solver." arXiv preprint arXiv:1909.05820 (2019).
[3] Huang, Hsin-Yuan, Kishor Bharti, and Patrick Rebentrost. "Near-term quantum algorithms for linear systems of equations." arXiv preprint arXiv:1909.07344 (2019).