次の方法で共有


DistillationUnitSpecification Class

Inheritance
qsharp.estimator._estimator.AutoValidatingParams
DistillationUnitSpecification

Constructor

DistillationUnitSpecification(name: str | None = None, display_name: str | None = None, num_input_ts: int | None = None, num_output_ts: int | None = None, failure_probability_formula: str | None = None, output_error_rate_formula: str | None = None, physical_qubit_specification: qsharp.estimator._estimator.ProtocolSpecificDistillationUnitSpecification | None = None, logical_qubit_specification: qsharp.estimator._estimator.ProtocolSpecificDistillationUnitSpecification | None = None, logical_qubit_specification_first_round_override: qsharp.estimator._estimator.ProtocolSpecificDistillationUnitSpecification | None = None)

Parameters

Name Description
name
Default value: None
display_name
Default value: None
num_input_ts
Default value: None
num_output_ts
Default value: None
failure_probability_formula
Default value: None
output_error_rate_formula
Default value: None
physical_qubit_specification
Default value: None
logical_qubit_specification
Default value: None
logical_qubit_specification_first_round_override
Default value: None

Methods

as_dict
has_custom_specification
has_predefined_name
post_validation

as_dict

as_dict(validate=True) -> Dict[str, Any]

Parameters

Name Description
validate
Default value: True

has_custom_specification

has_custom_specification()

has_predefined_name

has_predefined_name()

post_validation

post_validation(result)

Parameters

Name Description
result
Required

Attributes

display_name

display_name: str | None = None

failure_probability_formula

failure_probability_formula: str | None = None

logical_qubit_specification

logical_qubit_specification: ProtocolSpecificDistillationUnitSpecification | None = None

logical_qubit_specification_first_round_override

logical_qubit_specification_first_round_override: ProtocolSpecificDistillationUnitSpecification | None = None

name

name: str | None = None

num_input_ts

num_input_ts: int | None = None

num_output_ts

num_output_ts: int | None = None

output_error_rate_formula

output_error_rate_formula: str | None = None

physical_qubit_specification

physical_qubit_specification: ProtocolSpecificDistillationUnitSpecification | None = None