Summary
In this chapter, we experimented with some important concepts in terms of quantum algorithms. We used functions to observe how two famous quantum algorithms work. First, we learned about the concept of an Oracle, which stores information that can then be acted upon by the algorithm we are testing. Next, we learned about Grover’s algorithm and how it uses amplitude amplification to increase the probability amplitudes of specific states that represent a hidden number or condition. We saw that this is used by Grover’s algorithm to search for numbers in the Oracle. Next, we understood quantum phase information. We started by looking at examples of incrementally adding rotations that represent the equivalent number of slices in a series of circles. Then, we reviewed the concept of moving between the Fourier and Computational bases and adding phase information to qubits. We prepared qubits with phase information similar to the way we added rotations to the circles to...