deltakit.decode.BeliefMatchingDecoder.decode_to_full_correction#
- BeliefMatchingDecoder.decode_to_full_correction(syndrome: OrderedSyndrome) OrderedDecodingEdges#
Decode a given syndrome and return the full correction as a collection of decoding edges. Edges are un-projected, i.e. the same physical qubit can be referenced multiple times at different time-steps.
- Parameters:
syndrome (OrderedSyndrome) – Syndrome to decode, as a collection of syndrome bits.
- Returns:
Full correction as a collection of decoding edges.
- Return type: