Take and , with…

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=21N = 21 and a=10a = 10, with gcd⁡(10,21)=1\gcd(10,21)=1. ((a)) Find the order rr of 1010 modulo 2121 by listing successive powers 101,102,…(mod21)10^1, 10^2, \ldots \pmod{21} until the orbit returns to 11. ((b)) Given that rr is even, compute 10r/2 mod 2110^{r/2} \bmod 21 and use it, with the identity (ar/2−1)(ar/2+1)≡0(mod21)(a^{r/2}-1)(a^{r/2}+1)\equiv 0 \pmod{21}, to extract a factor of 2121 other than 11 and 2121 itself, from gcd⁡(10r/2−1,21)\gcd(10^{r/2}-1, 21) and gcd⁡(10r/2+1,21)\gcd(10^{r/2}+1, 21).

Browse the problem library