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)
ベース: OptionsV2
V2 サンプラーのオプション。
属性
パラメーター
- _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
タイプ: UnsetType | int
デフォルト値: Unset
PUBまたはrunメソッドで何も指定されていない場合に使用するデフォルトのショット数。
デフォルト:4096。
dynamical_decoupling
タイプ: DynamicalDecouplingOptions | Dict
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=DynamicalDecouplingOptions)
ダイナミック・デカップリングのサブオプション。 参照 DynamicalDecouplingOptions をご覧ください。
environment
タイプ: EnvironmentOptions | Dict
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=EnvironmentOptions)
execution
タイプ: SamplerExecutionOptionsV2 | Dict
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=SamplerExecutionOptionsV2)
実行時間のオプション。
利用可能なすべてのオプションについては、こちらをご覧ください SamplerExecutionOptionsV2 。
experimental
タイプ: UnsetType | dict
デフォルト値: Unset
実験オプション。
max_execution_time
タイプ: UnsetType | int
デフォルト値: Unset
simulator
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=SimulatorOptions)
twirling
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=TwirlingOptions)
パウリの回転オプション。
利用可能なすべてのオプションについては、こちらをご覧ください TwirlingOptions 。