iqm.benchmarks.benchmark_definition

iqm.benchmarks.benchmark_definition#

This module implements the base class for defining a benchmark.

Functions

add_counts_to_dataset(counts, identifier, ...)

Adds the counts from a cortex job result to the given dataset.

default_analysis_function(result)

The default analysis that only pass the result through.

merge_datasets_dac(datasets)

Merges a list of datasets recursively to minimize dataset sizes during merge

show_figure(fig)

Shows a closed figure.

Classes

Benchmark(backend, configuration, **kwargs)

A base class for running cortex-based Benchmark experiments.

BenchmarkAnalysisResult(dataset, circuits, ...)

A dataclass storing the results of the analysis.

BenchmarkObservation(name, value, identifier)

Dataclass to store the main results of a single run of a Benchmark

BenchmarkObservationIdentifier(qubit_indices)

Identifier for observations for ease of use

BenchmarkRunResult(dataset, circuits)

A dataclass that stores the results of a single run of a Benchmark.

Inheritance

Inheritance diagram of iqm.benchmarks.benchmark_definition