deltakit.core.decoding_graphs.DecodingHyperGraph.get_edge#

DecodingHyperGraph.get_edge(*detectors: int) DecodingHyperEdge#

Returns the unique edge in the graph corresponding to the given set of detector indices.

Raises:

ValueError – If no edge in the graph corresponds to the given detectors.