Quantum Phase Estimation
We'll look at the Quantum Phase Estimation problem, which has a similar solution to Shor's algorithm.
The phase estimation problem
Before we directly address the factorization problem that we solve using Shor’s algorithm, we will take a slight detour and look at a different problem. Don’t worry if you are not sure how these things are related at this point.
Let’s understand the quantum phase estimation (QPE) problem with a simple example. Let’s say we have a unitary operator and a quantum state . The state is the eigenstate of the operator , so when the operator is applied to the state, instead of modifying the state and its components, only a phase is applied to it. The phase can be from -1 to +1 and anything in between. In terms of Linear Algebra, the vector is the eigenvector of unitary matrix .
The question is to find the value of the phase that has been applied to the quantum state . We can assume we already have and . When we try to measure the final state, we cannot see the effect of the global phase because the probabilities to measure or haven’t changed. This doesn’t help us much, so let’s try to figure out how else we could find this phase .
Get hands-on with 1400+ tech skills courses.