iqm.benchmarks.randomized_benchmarking.clifford_rb.clifford_rb.CliffordRandomizedBenchmarking#
- class iqm.benchmarks.randomized_benchmarking.clifford_rb.clifford_rb.CliffordRandomizedBenchmarking(backend_arg: IQMBackendBase | str, configuration: CliffordRBConfiguration)#
Bases:
BenchmarkClifford RB estimates the average gate fidelity of the n-qubit Clifford group.
Attributes
Methods
add_all_circuits_to_dataset(dataset)Adds all generated circuits during execution to the dataset variable.
add_all_metadata_to_dataset(dataset)Adds all configuration metadata and circuits to the dataset variable.
analysis_function(run)Analysis function for a Clifford RB experiment.
execute(backend)Executes the benchmark.
name()Returns the name of the benchmark.
- Parameters:
backend_arg (IQMBackendBase | str)
configuration (CliffordRBConfiguration)
- static analysis_function(run: BenchmarkRunResult) BenchmarkAnalysisResult#
Analysis function for a Clifford RB experiment.
- Parameters:
run (BenchmarkRunResult) – A Clifford RB experiment run for which analysis result is created
- Returns:
AnalysisResult corresponding to Clifford RB
- Return type:
- add_all_metadata_to_dataset(dataset: Dataset) None#
Adds all configuration metadata and circuits to the dataset variable.
- Parameters:
dataset (Dataset) – The xarray dataset
- Return type:
None
- add_all_circuits_to_dataset(dataset: Dataset) None#
Adds all generated circuits during execution to the dataset variable.
- Parameters:
dataset (Dataset) – The xarray dataset
- Return type:
None
- execute(backend: IQMBackendBase) Dataset#
Executes the benchmark.
- Parameters:
backend (IQMBackendBase)
- Return type: