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

Uploaded Source

Built Distribution

Supermarq-0.5.24-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for supermarq-0.5.24.tar.gz
Algorithm Hash digest
SHA256 f1e8d9000aeb36572fd1d8041d8dd789b0672eee57c8d8bd5c700f1684e956c4
MD5 1ff0dadc91804b89ebea5ce036b7a5bc
BLAKE2b-256 7ca5aaa49350b8e1d3756ee22a0fa9e6319a2403bf966593f4202e292cfbb7f7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Supermarq-0.5.24-py3-none-any.whl
Algorithm Hash digest
SHA256 29e23cac6de6436352281001f9c318afd0617c693e3d40ff7042d532fe125596
MD5 71ba8f307af3d3bcf409b7f54e64e5de
BLAKE2b-256 4c7c334b127bf308c9a1d5c08f976cec71a6c6e2e650dd7a9d5deb0c2831301c

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