Supermarq is a scalable, application-centric quantum benchmarking suite.
Project description
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
Built Distribution
File details
Details for the file supermarq-0.5.27.tar.gz
.
File metadata
- Download URL: supermarq-0.5.27.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8df1612f74b9577a154c793b2311d4d5fae7ba15026a27212b82c739b151ccb |
|
MD5 | 101723945b3f225981472c229c0fca37 |
|
BLAKE2b-256 | 77ef052fd0c9f37278ac66303487b55eeba1b4375a1405cfa4c22561cdd151eb |
File details
Details for the file Supermarq-0.5.27-py3-none-any.whl
.
File metadata
- Download URL: Supermarq-0.5.27-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df83440f203646f0e3ce11d90a09c8c8e05e05e9f90ec5b1bd9ecdae0499c5d2 |
|
MD5 | 456bb4f22c63c410b9f09f674cd65362 |
|
BLAKE2b-256 | a38b900c608e1434000bb023d1ad15ae30076fc6f752b8b98e9ec332e30ec031 |