deltakit.core.decoding_graphs.Bitstring.to_indices#

Bitstring.to_indices() list[int]#

Create a list of indices of the non-zero elements in this bitstring

Returns:

The indices of non-zero elements in the bitstring.

Return type:

List[int]