Skip to main content
IBM Quantum Platform

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

베이스: OptionsV2

V2 샘플러의 옵션입니다.


속성

매개변수

default_shots

유형: UnsetType | int

기본값: Unset

PUB 또는 실행 메서드에 지정되지 않은 경우 사용할 기본 샷 수입니다.

디폴트는 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

유형: SimulatorOptions | Dict

기본값: FieldInfo(annotation=NoneType, required=False, default_factory=SimulatorOptions)

twirling

유형: TwirlingOptions | Dict

기본값: FieldInfo(annotation=NoneType, required=False, default_factory=TwirlingOptions)

파울리가 옵션을 검토하고 있다.

사용 가능한 모든 옵션을 보려면 여기를 참조하세요 TwirlingOptions .


메소드

update

update(**kwargs)

GitHub

옵션을 업데이트합니다.

매개변수

kwargs (Any)

리턴 유형

없음

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.