Skip to main content
IBM Quantum Platform

プリミティブオプション

qiskit_ibm_runtime.options

IBM Quantum Compute (旧称: Qiskit Runtime )プリミティブに渡すことができるオプション。


V2 プリミティブ

SamplerV2 と EstimatorV2 、それぞれ独自のオプションがある。 options 属性を使ってオプションを設定することができます。 例:

from qiskit_ibm_runtime import QiskitRuntimeService, EstimatorV2

service = QiskitRuntimeService()
backend = service.least_busy(operational=True, simulator=False)
estimator = EstimatorV2(mode=backend)
estimator.options.resilience_level = 1

update() 、一括更新することもできる。 例:

from qiskit_ibm_runtime import QiskitRuntimeService, EstimatorV2

service = QiskitRuntimeService()
backend = service.least_busy(operational=True, simulator=False)
estimator = EstimatorV2(mode=backend)
estimator.options.update(resilience_level=1)

V2 サンプラーおよび V2 推定器のオプションについては EstimatorOptions 、それぞれおよび SamplerOptions を参照してください。

注

オプションが指定されていない場合は、サーバーのデフォルト値が使用される。 デフォルト値は変更される可能性がある。 最新のデフォルトについては、現在のモジュールのドキュメントを参照してください。


クラス

基本プリミティブオプション

コラム「 1 」
コラム「 2 」
EstimatorOptionsV2 Estimatorのオプション。
SamplerOptionsV2 サンプラーのオプション。

サブスクリプション・オプション

コラム「 1 」
コラム「 2 」
NoiseLearnerOptionsNoiseLearner. のオプション
DynamicalDecouplingOptionsダイナミック・デカップリング(DD)のオプション。
ResilienceOptionsV2V2 Estimatorのレジリエンス・オプション。
LayerNoiseLearningOptionsレイヤーノイズの学習オプション。
MeasureNoiseLearningOptions測定ノイズ学習のオプション。
PecOptions確率論的エラーキャンセル緩和オプション。
ZneOptionsゼロノイズ外挿の緩和オプション。
TwirlingOptionsトワリングのオプション。
ExecutionOptionsV2V2 プリミティブの実行オプション。
SamplerExecutionOptionsV2サンプラープリミティブ ExecutionOptionsV2 に対して を拡張します。
EnvironmentOptions実行環境に関するオプション。
SimulatorOptionsシミュレーターのオプション。
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。