iqm.benchmarks.randomized_benchmarking.eplg.eplg.EPLGConfiguration#
- class iqm.benchmarks.randomized_benchmarking.eplg.eplg.EPLGConfiguration(*, benchmark: type[~iqm.benchmarks.benchmark_definition.Benchmark] = <class 'iqm.benchmarks.randomized_benchmarking.eplg.eplg.EPLGBenchmark'>, 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, drb_depths: ~collections.abc.Sequence[int], drb_circuit_samples: int, custom_qubits_array: ~collections.abc.Sequence[tuple[int, int]] | None = None, chain_length: int | None = None, chain_path_samples: int | None = None, num_disjoint_layers: int | None = None, max_hamiltonian_path_tries: int | None = None)#
Bases:
BenchmarkConfigurationBaseEPLG 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)
drb_circuit_samples (int)
chain_length (int | None)
chain_path_samples (int | None)
num_disjoint_layers (int | None)
max_hamiltonian_path_tries (int | None)
- drb_depths#
Layer depths to consider for the parallel DRB.
- Type:
- custom_qubits_array#
Custom qubits array to consider; this corresponds to a
Sequenceof tuple pairs of qubits. If not specified, will proceed to generate linear chains at random, selecting the one with the highest total 2Q gate fidelity.- Type:
collections.abc.Sequence[tuple[int, int]] | None
- chain_length#
Length of a linear chain of 2Q gates to consider, corresponding to the number of qubits, if
custom_qubits_arraynot specified. Default is None: assigns the number of qubits in the backend minus one.- Type:
int | None
- chain_path_samples#
Number of chain path samples to consider, if
custom_qubits_arraynot specified. Default is None: assigns 20 path samples (arbitrary).- Type:
int | None
- num_disjoint_layers#
Number of disjoint layers to consider. Default is None: assigns 2 disjoint layers (arbitrary).
- Type:
int | None
- max_hamiltonian_path_tries#
Maximum number of tries to find a Hamiltonian path. Default is None: assigns 10 tries (arbitrary).
- Type:
int | None
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
benchmarkshotsmax_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].