Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Description of the algorithm Recall that Shor's algorithm takes as input an odd positive integer N which has at least two distict prime factors, and
Description of the algorithm
Recall that Shor's algorithm takes as input an odd positive integer which has at least two
distict prime factors, and returns a factor of It consists of essentially two steps
Pick a random integer such that and find the order
of modulo using the quantum order finding algorithm, a special case of phase
estimation.
If is even and then one of is a nontrivial factor of
Only the first step requires a quantum circuit. The calculations required in the second
step can be done efficiently on a classical computer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started