Skip to content

benchmarking quantum circuit emulators for your daily research usage

License

Notifications You must be signed in to change notification settings

johannesjmeyer/quantum-benchmarks

 
 

Repository files navigation

Quantum Software Benchmarks

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.

bin/benchmark install

If you prefer a virtual environment to run the benchmark, please create one using either conda or virtualenv before you install the dependencies with bin/benchmark.

Run Benchmark

bin/benchmark run

This will usually take a few hours to finish, thus if you want to run it in the backend, you can use parallel. 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

About

benchmarking quantum circuit emulators for your daily research usage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • Julia 11.0%
  • Shell 8.0%