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)
Section 1: Tour of the IBM Quantum Experience (QX)
Section 2: Basics of Quantum Computing
Section 3: Algorithms, Noise, and Other Strange Things in Quantum World
Appendix A: Resources

Creating a quantum teleportation circuit

In this section, we will create a quantum teleportation circuit to share the state, , of a qubit by communicating, classically, two bits of information. Now, you may be wondering, as I did when I first learned about this scenario, why would I need to share two bits of information and not just the state of the qubit itself? Well, the answer comes down to the no-cloning theorem.


To learn more about the no-cloning theorem, I would recommend reading the ERP Paradox paper proposed by physicists Einstein, Podolsky, and Rosen.

Without going into the quantum mechanical proofs, the theorem states that creating a copy of a qubit from an arbitrary unknown state is not possible as there is no unitary operator that can clone all states of one qubit into another. That being said, we need to look at other means to pass the state of one qubit to another. Quantum teleportation helps us do that.

To properly understand this example, let's...