deltakit.core.decoding_graphs.NXDecodingGraph.get_edge#

NXDecodingGraph.get_edge(*detectors: int) DecodingEdge#

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.