
Learn Quantum Computing with Python and IBM Quantum
By :

In Chapter 11, Understanding Quantum Algorithms, we covered algorithms that use phase kickback to solve various problems.
In this section, we will start by understanding periodic quantum algorithms. Periodic functions are those where values are repeated over time. Your watch, for example, is periodic in that each minute has 60 seconds, each hour has 60 minutes, and each day has 24 hours.
If you have your watch set up with the hours from 1 to 12, then your watch has 2 periods per day, in that your watch will cycle through the numbers 1 to 12 twice in one day. Of course, this is separate from the AM and PM indicators, whether it is before or after midday. Periodic functions occur all around us in many ways, so understanding how to relate them to a quantum circuit is key to understanding many of the quantum algorithms, including one of the most famous, Grover’s algorithm.
But for now, we will begin by extending our understanding...