iqm.benchmarks.entanglement.graph_states.GraphStateConfiguration#
- class iqm.benchmarks.entanglement.graph_states.GraphStateConfiguration(*, benchmark: type[~iqm.benchmarks.benchmark_definition.Benchmark] = <class 'iqm.benchmarks.entanglement.graph_states.GraphStateBenchmark'>, 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: ~collections.abc.Sequence[int], tomography: ~iqm.benchmarks.entanglement.graph_states.TomographyType = TomographyType.STATE, num_bootstraps: int = 50, n_random_unitaries: int = 100, n_median_of_means: int = 1)#
Bases:
BenchmarkConfigurationBaseGraph States Benchmark 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)
tomography (TomographyType)
num_bootstraps (int)
n_random_unitaries (int)
n_median_of_means (int)
- benchmark#
GraphStateBenchmark.
- qubits#
Physical qubit layout in which to benchmark graph state generation.
- Type:
- tomography#
Whether to use state or shadow tomography.
- n_random_unitaries#
Number of Haar random single-qubit unitaries to use for (local) shadow tomography.
- Type:
- n_median_of_means#
Number of mean samples over
n_random_unitariesto generate a median of means estimator for shadow tomography. NB: The total amount of execution calls will be a multiplicative factor ofn_random_unitariesxn_median_of_means. Default is 1 (no median of means).- Type:
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
shotsmax_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].