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.64.tar.gz (84.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supermarq-0.5.64-py3-none-any.whl (116.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: supermarq-0.5.64.tar.gz
  • Upload date:
  • Size: 84.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for supermarq-0.5.64.tar.gz
Algorithm Hash digest
SHA256 372f3558ce0ebde3930b4bf57b78d223855f63dbc294ccfe19ecef2b8e5217d5
MD5 0c81aac728557888faffb00791e114bc
BLAKE2b-256 d578083bf2d85c9622bfd9f5128756cea18a1ed8c43158866b797d6e7f592856

See more details on using hashes here.

File details

Details for the file supermarq-0.5.64-py3-none-any.whl.

File metadata

  • Download URL: supermarq-0.5.64-py3-none-any.whl
  • Upload date:
  • Size: 116.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for supermarq-0.5.64-py3-none-any.whl
Algorithm Hash digest
SHA256 2b5fbcd20d974aaad845d3b30358f66fd2838291d1467b0e4d689e0e954e971f
MD5 25d68b51eb8afa7c5277a17318fe4d48
BLAKE2b-256 882fa6654207562fddbfb500aa43598c18d0c9ad131bffe60aa0c38e1ac2a7db

See more details on using hashes here.

Supported by

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