SamplerOptions
class SamplerOptions(_VERSION=2, max_execution_time=Unset, environment=<factory>, simulator=<factory>, default_shots=Unset, dynamical_decoupling=<factory>, execution=<factory>, twirling=<factory>, experimental=Unset)
Basen: OptionsV2
Optionen für V2 Sampler.
Attribute
Parameter
- _VERSION (int)
- max_execution_time (UnsetType | int)
- environment (EnvironmentOptions | Dict)
- simulator (SimulatorOptions | Dict)
- default_shots (UnsetType | int)
- dynamical_decoupling (DynamicalDecouplingOptions | Dict)
- execution (SamplerExecutionOptionsV2 | Dict)
- twirling (TwirlingOptions | Dict)
- experimental (UnsetType | dict)
default_shots
Typ: UnsetType | int
Standardwert: Unset
Die Standardanzahl der zu verwendenden Schüsse, wenn in den PUBs oder in der Laufmethode keine angegeben sind.
Standard: 4096.
dynamical_decoupling
Typ: DynamicalDecouplingOptions | Dict
Standardwert: FieldInfo(annotation=NoneType, required=False, default_factory=DynamicalDecouplingOptions)
Unteroptionen zur dynamischen Entkopplung. Siehe DynamicalDecouplingOptions für alle verfügbaren Optionen.
environment
Typ: EnvironmentOptions | Dict
Standardwert: FieldInfo(annotation=NoneType, required=False, default_factory=EnvironmentOptions)
execution
Typ: SamplerExecutionOptionsV2 | Dict
Standardwert: FieldInfo(annotation=NoneType, required=False, default_factory=SamplerExecutionOptionsV2)
Optionen für die Ausführungszeit.
Alle verfügbaren Optionen finden SamplerExecutionOptionsV2 Sie hier.
experimental
Typ: UnsetType | dict
Standardwert: Unset
Experimentelle Optionen.
max_execution_time
Typ: UnsetType | int
Standardwert: Unset
simulator
Typ: SimulatorOptions | Dict
Standardwert: FieldInfo(annotation=NoneType, required=False, default_factory=SimulatorOptions)
twirling
Typ: TwirlingOptions | Dict
Standardwert: FieldInfo(annotation=NoneType, required=False, default_factory=TwirlingOptions)
Pauli-Rotationsmöglichkeiten.
Alle verfügbaren Optionen finden TwirlingOptions Sie hier.