Skip to main content
IBM Quantum Platform
このページは古いバージョンのQiskit Runtime clientです。 最新バージョンへ

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)

GitHub

Bases: OptionsV2

Options for V2 Sampler.


Attributes

Parameters

default_shots

タイプ: UnsetType | int

デフォルト値: Unset

The default number of shots to use if none are specified in the PUBs or in the run method.

Default: 4096.

dynamical_decoupling

タイプ: DynamicalDecouplingOptions | Dict

デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=DynamicalDecouplingOptions)

Suboptions for dynamical decoupling. See DynamicalDecouplingOptions for all available options.

environment

タイプ: EnvironmentOptions | Dict

デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=EnvironmentOptions)

execution

タイプ: SamplerExecutionOptionsV2 | Dict

デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=SamplerExecutionOptionsV2)

Execution time options. See SamplerExecutionOptionsV2 for all available options.

experimental

タイプ: UnsetType | dict

デフォルト値: Unset

Experimental options.

max_execution_time

タイプ: UnsetType | int

デフォルト値: Unset

simulator

タイプ: SimulatorOptions | Dict

デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=SimulatorOptions)

twirling

タイプ: TwirlingOptions | Dict

デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=TwirlingOptions)

Pauli twirling options. See TwirlingOptions for all available options.


Methods

update

update(**kwargs)

GitHub

Update the options.

Parameters

kwargs (Any)

Return type

None

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。