LogicalErrorModel#
qualtran.surface_code.LogicalErrorModel
View source on GitHub
|
A model for getting the logical error rate at a given code distance.
qualtran.surface_code.LogicalErrorModel(
physical_error, qec_scheme
)
This curries a physical error rate with the QEC scheme, so various physical cost models can calculate the logical error rate given a particular code distance.
Attributes
Methods#
__call__
__call__(
code_distance: int
)
Call self as a function.
__ne__
__ne__(
other
)
Check equality and either forward a NotImplemented or return the result negated.
__eq__
__eq__(
other
)
Method generated by attrs for class LogicalErrorModel.
View source on GitHub