fqe.bitstring.count_bits_between

Count the number of bits between position1 and position2

string (int) - bit string

pos1 (int) - one of the positions in the bit string

pos2 (int) - the other position in the bit string