deltakit.core.decoding_graphs.DecodingHyperEdge#

class deltakit.core.decoding_graphs.DecodingHyperEdge(vertices: Iterable[int])#

Bases: Collection[int]

Representation of an immutable decoding edge on a hyper-graph. This is a set of syndrome bits.

Parameters:

vertices (Iterable[int]) – Syndrome bits connected by this edge.

Methods#

DecodingHyperEdge.to_decoding_edge

Cast this edge into a decoding edge if possible.