Code Monkey home page Code Monkey logo

benchmark-qulacs's Introduction

Benchmark codes for Qulacs

Source codes for benchmarking the execution times of 10-layer random circuits with several numbers of qubits.

This repository shows a compoarison between Qulacs and several popular existing quantum circuit simulators that have the interfaces of Python or Julia and support simulation with double-precision.

Times are measured with single-thread, multi-thread, and GPU acceralation. If an option of circuit optimization such as gate fusion is provided, we check times with and without circuit optimization.

The benchmark codes are created based on the benchmark project by Roger-luo.

The versions of installed libraries and relevant information are listed in the text files at systeminfo. The benchmark codes are saved in benchmark folder. The results are plotted in image folder by plot.py.

Versions

CPU Benchmark environment

Name Version Note
OS CentOS7
CPU Xeon CPU E5-2687W v4 @ 3.00GHz x 2 Hyperthreading is disabled
GCC 9.2.0
Python 3.7.9
NumPy 1.19.2 Backend is MKL 2020.2
Julia 1.5.2

GPU Benchmark environment

Name Version Note
OS CentOS7
CPU Xeon Silver 4108 CPU @ 1.80 GHz x 2 Hyperthreading is disabled
GPU Tesla V100 PCIe 32GB
GCC 7.3.0
CUDA 10.2
Python 3.7.9
NumPy 1.19.2 Backend is MKL 2020.2
Julia 1.5.2

Libraries

Name Version Note
Intel-QS latest master Installed with DIqsNative=ON
ProjectQ 0.5.1
PyQuEST-cffi 3.2.3.1
Qibo 0.1.2
Qiskit-Aer(-gpu) 0.7.1 Time for backend._controller(qobj) is evaluated
Qulacs 0.2.0
qxelarator 0.3.0
Yao 0.6.3

Requirement

You need to install pytest and pytest-benchmark via pip

Result

Single thread

Single thread results Single thread ratio

Multi thread (24 cores)

Mutli-thread results Multi-thread ratio

GPU acceralation

GPU results GPU ratio

benchmark-qulacs's People

Contributors

kowerkoint avatar corryvrequan avatar z-y00 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.