Take and . The orbit of modulo is , so the order is . The bit length of is , and…

PHYSICS · Multi-part · Fermi University Physics · Quantum Information & Technology · The quantum circuit model and quantum algorithms · The quantum circuit model and quantum algorithms

Quantum Information and Technology, Ch Order finding and Shor's factoring algorithm

Problem

Take N=5N = 5 and a=2a = 2. The orbit of 22 modulo 55 is 2,4,3,12, 4, 3, 1, so the order is r=4r = 4. The bit length of NN is L=⌈log⁡25⌉=3L = \lceil \log_2 5 \rceil = 3, and order finding is run with the register size t=2L+1=7t = 2L+1 = 7 control qubits (no extra qubits for the error tolerance). ((a)) State the size of the measured output register, 2t2^t. ((b)) Since rr divides 2t2^t exactly, list every possible measured value of the output register and its probability.

Browse the problem library