DecodingGraphEdge¶
- class DecodingGraphEdge(qubits, weight, fault_ids=<factory>, properties=<factory>)[source]¶
Bases:
objectClass to describe DecodingGraph edges.
- - qubits
List of indices of code qubits that correspond to this edge.
- Type:
List[int]
- - weight
Weight of the edge.
- Type:
float
- - fault_ids fault_ids
Union[Set[int],List[int]]: In the style of pymatching.
- - properties
Decoder/code specific attributes. Are not considered when comparing edges.
- Type:
Dict[str, Any]
Methods
Attributes
-
qubits:
List[int]¶
-
weight:
float¶
-
fault_ids:
Union[Set[int],List[int]]¶
-
properties:
Dict[str,Any]¶