deltakit.core.decoding_graphs.OrderedSyndrome.from_bitstring#
- classmethod OrderedSyndrome.from_bitstring(bitstring: Sequence[Literal[0, 1]]) OrderedSyndrome#
Create an ordered syndrome from a bistring.
- Parameters:
bitstring (Sequence[Bit]) – Bitstring to convert from.
- Returns:
Indices of the non zero elements in the bitstring as a syndrome.
- Return type: