Quantum Computing, Quantum, Quantum Physics, Shors Algorithm, Qiskit.
out. If we start in the state |1> , we can see that each successive application of U will multiply the state of our register by a (mod N), and after r applications we will arrive at the state |1> again . For example with a =3 and N = 35 N = 35 a = 3 # Calculate the plotting data xvals =