EstimatorConstraints クラス
リソース推定の実行時とリソースの制約 (省略可能)。
max_durationまたはmax_physical_qubitsの最大 1 つが同時に設定される場合があります。
コンストラクター
EstimatorConstraints(logical_depth_factor: float | None = None, max_t_factories: int | None = None, max_duration: int | None = None, max_physical_qubits: int | None = None)
パラメーター
| 名前 | 説明 |
|---|---|
|
logical_depth_factor
|
規定値: None
|
|
max_t_factories
|
規定値: None
|
|
max_duration
|
規定値: None
|
|
max_physical_qubits
|
規定値: None
|
メソッド
| at_least_one | |
| post_validation |
at_least_one
static at_least_one(name, value)
パラメーター
| 名前 | 説明 |
|---|---|
|
name
必須
|
|
|
value
必須
|
|
post_validation
post_validation(result)
パラメーター
| 名前 | 説明 |
|---|---|
|
result
必須
|
|
属性
logical_depth_factor
logical_depth_factor: float | None = None
max_duration
max_duration: int | None = None
max_physical_qubits
max_physical_qubits: int | None = None
max_t_factories
max_t_factories: int | None = None