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:
BenchmarkConfigurationBaseInterleaved RB configuration.
- Parameters:
shots (int)
max_gates_per_batch (int | None)
max_circuits_per_batch (int | None)
routing_method (RoutingMethod)
physical_layout (PhysicalLayout)
use_dd (bool | None)
dd_strategy (DDStrategy | None)
active_reset_cycles (int | None)
num_circuit_samples (int)
parallel_execution (bool)
interleaved_gate (str)
- benchmark#
InterleavedRandomizedBenchmarking.
- qubits_array#
The array of physical qubit labels with which to execute IRB.
- sequence_lengths#
The length of each random Clifford sequence.
- Type:
- shots#
The number of measurement shots with which to execute each circuit sample.
- 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:
- 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
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
max_gates_per_batchmax_circuits_per_batchrouting_methodphysical_layoutuse_dddd_strategyactive_reset_cyclesMethods
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].