Freigeben über


EstimatorConstraints Class

Inheritance
qsharp.estimator._estimator.AutoValidatingParams
EstimatorConstraints

Constructor

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

Parameters

Name Description
logical_depth_factor
Default value: None
max_t_factories
Default value: None
max_duration
Default value: None
max_physical_qubits
Default value: None

Methods

at_least_one
post_validation

at_least_one

static at_least_one(name, value)

Parameters

Name Description
name
Required
value
Required

post_validation

post_validation(result)

Parameters

Name Description
result
Required

Attributes

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