Book Image

Learn Quantum Computing with Python and IBM Quantum Experience

By : Robert Loredo
Book Image

Learn Quantum Computing with Python and IBM Quantum Experience

By: Robert Loredo

Overview of this book

IBM Quantum Experience is a platform that enables developers to learn the basics of quantum computing by allowing them to run experiments on a quantum computing simulator and a real quantum computer. This book will explain the basic principles of quantum mechanics, the principles involved in quantum computing, and the implementation of quantum algorithms and experiments on IBM's quantum processors. You will start working with simple programs that illustrate quantum computing principles and slowly work your way up to more complex programs and algorithms that leverage quantum computing. As you build on your knowledge, you’ll understand the functionality of IBM Quantum Experience and the various resources it offers. Furthermore, you’ll not only learn the differences between the various quantum computers but also the various simulators available. Later, you’ll explore the basics of quantum computing, quantum volume, and a few basic algorithms, all while optimally using the resources available on IBM Quantum Experience. By the end of this book, you'll learn how to build quantum programs on your own and have gained practical quantum computing skills that you can apply to your business.
Table of Contents (21 chapters)
1
Section 1: Tour of the IBM Quantum Experience (QX)
5
Section 2: Basics of Quantum Computing
9
Section 3: Algorithms, Noise, and Other Strange Things in Quantum World
18
Assessments
Appendix A: Resources

Understanding periodic quantum algorithms

In Chapter 13, Understanding Quantum Algorithms, we covered algorithms that use phase kickback to solve various problems.

In this section, we will move away from phase kickback and into 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 a period of 2 per day, in that your watch will repeat the numbers 1 to 12 twice in one day. Of course, this is separate from the AM and PM indicators, whether it is day or evening hours. Periodic functions occur all around us in many ways, so understanding how to relate these to a quantum circuit is key to understanding many of the quantum algorithms, including the most famous one of all, Shor's algorithm.

But for now, we will learn about Simon&apos...