Amplitude Amplification
Let’s learn about the manipulation of state amplitudes to make a certain state more likely than the rest.
We'll cover the following...
Here’s what we did in the previous lesson:
- Created an equal superposition state to obtain equal probabilities for all states and input them simultaneously to our algorithm.
- Applied our quantum search oracle and added a negative phase to the elements we do not want, essentially marking the one with a positive phase that we do want.
We now want to increase our chances/probability of finding the chosen state. This is where amplitude amplification comes in.
We’ll go through a geometric representation of this algorithm. That way, we will be able to see the effect before going over the mathematics behind it. Let’s start.
Rotations
States are vectors in the 2-D complex plane. We can picture these vectors as follows: lies nearly orthogonal to , which is the state or element we want to seek in our collection. We say nearly orthogonal since, at the end of the day, if the element exists, we should reach it from the state . So, if the element did not exist in the collection, the two states would be orthogonal.
Now, let’s say that an arbitrary state is the state we’ll guess upon collapsing the superposition and prematurely measuring our qubit, hoping to find . Obviously, we want to maximize the likelihood of collapsing to . So, we somehow want to increase 's bent towards it.
Just for clarity that and are not orthogonal, we add a vector that spans both and lies orthogonal to . The angle separating and from orthogonality is . Why we choose to introduce and will become clear later.
Now, let’s try something with the vectors we have in front of us. Let’s reflect on . That should bring us to the following situation, where ...