Coder Social home page Coder Social logo

comp-physics / quantum-pde-benchmark Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 526 KB

Benchmark near-term quantum algorithms for Partial Differential Equations (PDEs)

License: Apache License 2.0

Python 0.49% Jupyter Notebook 99.51%
numerical-methods partial-differential-equations quantum-algorithms quantum-computing

quantum-pde-benchmark's Introduction

Quantum-PDE-Benchmark

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.

Install

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.

Introduction

We consider the following PDEs in this benchmark with various boundary conditions.

PDE Library

The Poisson equation (elliptic)

$$ \Delta \phi = f, $$

wave equation (hyperbolic)

$$ \partial_t^2 \phi = c^2 \Delta \phi, $$

heat equation (parabolic)

$$ \partial_t \phi = \Delta \phi, $$

1D Reaction-diffusion equation (linear, mixed)

$$ \partial_t \phi = D\partial_x^2\phi + f(\phi). $$

and 1D Burgers Equation (nonlinear, mixed)

$$ \partial_t \phi = \nu \partial_x^2\phi - \phi \partial_x \phi + f. $$

Quantum Solvers

  1. Variational Quantum Eigensolver (VQE)

  2. Variational Quantum Linear Solver (VQLS)

  3. Quantum Simulation

  4. Quantum Spectral Method

Quantum Hardware

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

Tutorials

We provide tutorials to solve PDEs on IBM's superconducting quantum hardware:

  1. 1D Poisson Equation using VQE
  2. 1D Poisson Equation using VQLS

Copyright and License

Quantum PDE Benchmark uses Apache-2.0 license.

Reference

[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).

quantum-pde-benchmark's People

Contributors

kaminotesf avatar sbryngelson avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.