EstimatorConstraints Klasse

Optionale Laufzeit- und Ressourceneinschränkungen für die Ressourcenschätzung.

Mindestens einer oder max_durationmax_physical_qubits mehrere gleichzeitige Festlegungen sind möglich.

Konstruktor

EstimatorConstraints(logical_depth_factor: float | None = None, max_t_factories: int | None = None, max_duration: int | None = None, max_physical_qubits: int | None = None)

Parameter

Name Beschreibung
logical_depth_factor
Standardwert: None
max_t_factories
Standardwert: None
max_duration
Standardwert: None
max_physical_qubits
Standardwert: None

Methoden

at_least_one
post_validation

at_least_one

static at_least_one(name, value)

Parameter

Name Beschreibung
name
Erforderlich
value
Erforderlich

post_validation

post_validation(result)

Parameter

Name Beschreibung
result
Erforderlich

Attribute

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