fastdla.PauliProduct.str_to_idx

static PauliProduct.str_to_idx(pstr)

Convert a Pauli string to a compact index.

Return type:

int