iqm.benchmarks.randomized_benchmarking.interleaved_rb.interleaved_rb.InterleavedRBConfiguration#

class iqm.benchmarks.randomized_benchmarking.interleaved_rb.interleaved_rb.InterleavedRBConfiguration(*, benchmark: type[~iqm.benchmarks.benchmark_definition.Benchmark] = <class 'iqm.benchmarks.randomized_benchmarking.interleaved_rb.interleaved_rb.InterleavedRandomizedBenchmarking'>, shots: int = 256, max_gates_per_batch: int | None = None, max_circuits_per_batch: int | None = None, routing_method: ~iqm.benchmarks.utils.RoutingMethod = RoutingMethod.SABRE, physical_layout: ~iqm.benchmarks.utils.PhysicalLayout = PhysicalLayout.FIXED, use_dd: bool | None = False, dd_strategy: ~iqm.station_control.interface.models.circuit.DDStrategy | None = None, active_reset_cycles: int | None = None, qubits_array: ~collections.abc.Sequence[~collections.abc.Sequence[int]], sequence_lengths: ~collections.abc.Sequence[int], num_circuit_samples: int, parallel_execution: bool = False, interleaved_gate: str, interleaved_gate_params: ~collections.abc.Sequence[float] | None = None, simultaneous_fit: ~collections.abc.Sequence[~typing.Literal['amplitude', 'offset']] = ['amplitude', 'offset'])#

Bases: BenchmarkConfigurationBase

Interleaved RB configuration.

Parameters:
benchmark#

InterleavedRandomizedBenchmarking.

Type:

type[iqm.benchmarks.benchmark_definition.Benchmark]

qubits_array#

The array of physical qubit labels with which to execute IRB.

Type:

collections.abc.Sequence[collections.abc.Sequence[int]]

sequence_lengths#

The length of each random Clifford sequence.

Type:

collections.abc.Sequence[int]

num_circuit_samples#

The number of circuit samples to generate.

Type:

int

shots#

The number of measurement shots with which to execute each circuit sample.

parallel_execution#

Whether the benchmark is executed on all qubits in parallel or not.

Type:

bool

interleaved_gate#

The name of the gate to interleave. * Should be specified as a qiskit circuit library gate name, e.g., “YGate” or “CZGate”.

Type:

str

interleaved_gate_params#

Any optional parameters entering the gate.

Type:

collections.abc.Sequence[float] | None

simultaneous_fit#

Optional parameters to fit simultaneously.

Type:

collections.abc.Sequence[Literal[‘amplitude’, ‘offset’]]

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

benchmark

qubits_array

sequence_lengths

num_circuit_samples

parallel_execution

interleaved_gate

interleaved_gate_params

simultaneous_fit

shots

max_gates_per_batch

max_circuits_per_batch

routing_method

physical_layout

use_dd

dd_strategy

active_reset_cycles

Methods

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].