Book Image

Mastering Quantum Computing with IBM QX

By : Dr. Christine Corbett Moran
Book Image

Mastering Quantum Computing with IBM QX

By: Dr. Christine Corbett Moran

Overview of this book

<p>Quantum computing is set to disrupt the industry. IBM Research has made quantum computing available to the public for the first time, providing cloud access to IBM QX from any desktop or mobile device. Complete with cutting-edge practical examples, this book will help you understand the power of quantum computing in the real world.</p> <p>Mastering Quantum Computing with IBM QX begins with the principles of quantum computing and the areas in which they can be applied. You'll explore the IBM Ecosystem, which enables quantum development with Quantum Composer and Qiskit. As you progress through the chapters, you'll implement algorithms on the quantum processor and learn how quantum computations are actually performed.</p> <p>By the end of the book, you will completely understand how to create quantum programs of your own, the impact of quantum computing on your business, and how to future-proof your programming career.</p>
Table of Contents (22 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Superposition and measurement of qubits


In this section, you will learn the physics behind superposition and how to explain it. You will learn about quantum measurement of a single qubit and how to represent it on the Bloch sphere.

Quantum superposition for qubits

In this chapter, we've already dealt with the concept of superposition of single qubits: two or more qubits combined to produce another qubit.

Some of these examples of superposition are when we wrote |"+">, |"-">

 or 

 in terms of |"0"> and |"1">. None of |"+">, |"-">

 or 

 are 100% |"0"> or 100% |"1">; they are all a mixture of each. |"0"> and |"1"> can also be written as a combination of other qubits. We can write both as a combination of |"+">, |"-"> or a combination of 

 and 

, for example:

 

And for |"1"> we can write these combinations as follows:

Note

Two or more qubits can always be added together to produce a valid qubit. Any qubit can be represented as the sum of two or more other qubits...