プリミティブオプション
qiskit_ibm_runtime.options
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 = 1update() 、一括更新することもできる。 例:
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 を qiskit_ibm_runtime.options.SamplerOptions 参照してください。
注
オプションが指定されていない場合は、サーバーのデフォルト値が使用される。 デフォルト値は変更される可能性がある。 最新のデフォルトについては、現在のモジュールのドキュメントを参照してください。
クラス
基本プリミティブオプション
EstimatorOptions | V2 Estimatorのオプション。 |
SamplerOptions | V2 サンプラーのオプション。 |
サブスクリプション・オプション
NoiseLearnerOptions | NoiseLearner. のオプション |
DynamicalDecouplingOptions | ダイナミック・デカップリング(DD)のオプション。 |
ResilienceOptionsV2 | V2 Estimatorのレジリエンス・オプション。 |
LayerNoiseLearningOptions | レイヤーノイズの学習オプション。 |
MeasureNoiseLearningOptions | 測定ノイズ学習のオプション。 |
PecOptions | 確率論的エラーキャンセル緩和オプション。 |
ZneOptions | ゼロノイズ外挿の緩和オプション。 |
TwirlingOptions | トワリングのオプション。 |
ExecutionOptionsV2 | V2 プリミティブの実行オプション。 |
SamplerExecutionOptionsV2 | サンプラープリミティブに対して拡張 ExecutionOptionsV2 します。 |
EnvironmentOptions | 実行環境に関するオプション。 |
SimulatorOptions | シミュレーターのオプション。 |
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。