Giter Site home page Giter Site logo

qiskit-metriq's Introduction

Welcome to Qiskit Metriq

This repository contains a collection of scripts designed to execute Qiskit compilation experiments on quantum circuits and upload benchmark results to metriq.info, a community-driven platform for hosting quantum benchmarks.

At its core, Qiskit Metriq tracks essential metrics such as circuit depth and gate count for these experiments, automatically running jobs for every version of Qiskit, streamlining the process of evaluating the performance of quantum circuits compiled with Qiskit.

Archictecture

This project creates a tox environment for each Qiskit version, starting from qiskit-terra v0.13.0 to latest. The Qiskit circuit compilation is batch processed, and the results are automatically submitted to metriq.info.

Benchmark tasks for quantum computer compilers:

Qiskit compilation results

Circuit depth distribution

Compiled for the Rigetti 16Q Aspen architecture Circuit depth-Aspen

Compiled for the IBMQ Rochester architecture Circuit depth-Rochester

Gate count distribution

Compiled for the Rigetti 16Q Aspen architecture Circuit depth-Aspen

Compiled for the IBMQ Rochester architecture Circuit depth-Rochester

Requirements

  • tox
  • Python 3.11+

Run locally

To run a benchmark experiment using the latest version of Qiskit(RCs excluded):

tox -e py311

Note: To run a specific version of Qiskit, you can manually update the tox.ini file with the required version. Versions >=0.13,<=0.15 require numpy<1.20 and python<=3.8. You can run the tox environments terra13, terra14 or terra15 as:

tox -e py38-terra13

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.