Skip to main content

Supermarq is a scalable, application-centric quantum benchmarking suite.

Project description


Continuous Integration

Supermarq: A Scalable Quantum Benchmark Suite

Supermarq is a suite of application-oriented benchmarks used to measure the performance of quantum computing systems.

Installation

The Supermarq package is available via pip and can be installed in your current Python environment with the command:

pip install supermarq

Install Dev Requirements

This is required if you intend to run checks locally

pip install .[dev]

Using Supermarq

The benchmarks are defined as classes within supermarq/benchmarks/. Each application defines two methods; circuit and score. These methods are used to generate the benchmarking circuit and evaluate its performance after execution on hardware.

The quantum benchmarks within Supermarq are designed to be scalable, meaning that the benchmarks can be instantiated and generated for a wide range of circuit sizes and depths.

The Supermarq tutorial notebooks contain an end-to-end example of how to execute the GHZ benchmark using Superstaq. The general workflow is as follows:

import supermarq

ghz = supermarq.benchmarks.ghz.GHZ(num_qubits=3)
ghz_circuit = ghz.circuit()
counts = execute_circuit_on_quantum_hardware(ghz_circuit) # For example, via AWS Braket, IBM Qiskit, or Superstaq
score = ghz.score(counts)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supermarq-0.5.22.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

Supermarq-0.5.22-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file supermarq-0.5.22.tar.gz.

File metadata

  • Download URL: supermarq-0.5.22.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for supermarq-0.5.22.tar.gz
Algorithm Hash digest
SHA256 a0ef30cac028291133278798ecbc81c23316ceb9dc7269e2cb13a081574d7690
MD5 471fd815abe79e07b31f112e97327863
BLAKE2b-256 e3be6f6c88926c95009d7f316c271043084b25e5784c2ebfbbc079fe432d0178

See more details on using hashes here.

File details

Details for the file Supermarq-0.5.22-py3-none-any.whl.

File metadata

  • Download URL: Supermarq-0.5.22-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for Supermarq-0.5.22-py3-none-any.whl
Algorithm Hash digest
SHA256 198448d63d4c7e2a80975d5b46b0ef5e669294de11dcad7c2d60c07c2ad52cff
MD5 a935d58e566ecd18bb2bdd408dbcc345
BLAKE2b-256 1e7525b5265f07b5b621bea78b344db7bcc7f20666fbd2b7f74cb64c3dcb0ba5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page