deltakit.core.decoding_graphs.DecodingEdge#
- class deltakit.core.decoding_graphs.DecodingEdge(first_detector: int, second_detector: int)#
Bases:
DecodingHyperEdgeRepresentation of an immutable decoding edge on a decoding graph, limited to standard graphs where edges connect two distinct detectors.
- Parameters:
first_detector (int) – First detector this edge is incident to.
second_detector (int) – Second detector this edge is incident to.
Methods#
Return True if this decoding edge is between the same data qubit at different time steps. |
|
Return True if this decoding edge is between the same data qubit at different time steps. |
|
Return True if this decoding edge is between the same data qubit at different time steps. |
|
Cast this edge into a decoding edge if possible. |