Giter VIP home page Giter VIP logo

quantum-benchmarks's Introduction

Quantum Software Benchmarks

DISCLAIMER: the benchmark results are only update to date till 2020, a rewrite of the benchmark scripts are still in progress

We benchmark several popular quantum computation softwares/frameworks/simulators to test their performance in practical daily research.

This benchmark is written with the following principles:

  • try to use the user interface (UI) instead of high performance hack from internals.
  • focus on laptop runnable scale (4-25 qubits) instead of High Performance Cluster scale

Results

single gate benchmark (absolute timing)

The complete results are included in RESULTS.md

Installation

You should be able to run this benchmark with the bin/benchmark script.

    Quantum Circuit Simulation Benchmark

install                 install dependencies
run [package]           run benchmark of [package] or run all benchmarks by default
parallel [package]      spawn [package] benchmark in a process or run all benchmark in parallel by default
help                    print this message

Requirements

Make sure you have the above required dependency installed, then run the following script, which will install all the dependencies for you in a new environment.

bin/benchmark install

Run Benchmark

bin/benchmark benchmark

This will usually take a few hours to finish, thus if you want to run it in the backend, you can use parallel instead of benchmark. Afterwards, you can generate the plot by running:

bin/plot

Contributing

Please feel free to update and add new benchmarks. Check CONTRIBUTING.md for more details.

Acknowledge

We thank the following people for reviewing our benchmarks:

License

MIT license

quantum-benchmarks's People

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.