Order finding is to be run for 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

Order finding is to be run for N=35N=35 with a=3a=3. ((a)) Find the order rr of 33 modulo 3535 by repeated multiplication, and state L=⌈log⁡2N⌉L=\lceil\log_2 N\rceil. ((b)) Using the phase-estimation register-size rule t=m+⌈log⁡2(2+1/2ϵ)⌉t = m + \lceil\log_2(2+1/2\epsilon)\rceil, with the m=2L+1m=2L+1 significant bits that order finding needs and a target failure probability ϵ=0.05\epsilon=0.05, find the number of control qubits tt. ((c)) Each run then gives, with probability at least 1−ϵ1-\epsilon, a phase estimate within 1/2r21/2r^2 of s/rs/r, for an ss drawn uniformly from 00 to r−1r-1. Find the smallest number of independent runs needed for the probability of at least one such estimate to reach 99%99\%. ((d)) Continued fractions return rr itself from such an estimate only when gcd⁡(s,r)=1\gcd(s,r)=1. Find the fraction of the rr values of ss for which this holds, and hence the smallest number of independent runs needed for the probability that at least one run returns rr directly to reach 99%99\%. ((e)) Each controlled modular multiplication in the exponentiation part of the circuit is built from about 10L210L^2 Toffoli gates (schoolbook arithmetic), and there is one such multiplication per control qubit. Using the standard decomposition of a Toffoli gate into 66 two-qubit CNOT gates, estimate the total number of CNOT gates in the exponentiation part of the circuit.

Browse the problem library