I have created a sequence of bitstring. Now I want to calculate the identical bit positions all sequences one by one. I don't understand how to find it.
S1: 00010101110011100010000110000111010100101010101110101011001111100010110101110001001010010111010110000111110110100100100111000100
for round in range(0, 5):
rawvalues_sim_str = "".join(rawvalues_sim)
startindex=0
endindex=128
for i in range(0, len(rawvalues_sim_str),128):
b=rawvalues_sim_str[startindex:endindex]
startindex = endindex
endindex += 128
#Find sequence in bitstring
if b[round] == round:
d = b[round]
print(d)
print(b)
quantum-computing,qiskit,ibm-mq? I don't see the connection.{in: [01110, 10111, 11110], out: 00110}orout: indices [2, 3]