bitstring2index# discopy.quantum.circuit.bitstring2index(bitstring)[source]# Turns a bitstring into an index.