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에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.