Table of Contents for
Programming Quantum Computers
Close
Version ebook
/
Retour
Programming Quantum Computers
by Eric R. Johnston
Published by O'Reilly Media, Inc., 2019
nav
Cover
Programming Quantum Computers
Practical Programming on Quantum Computers
1. Introduction
2. One Qubit
3. Multiple Qubits
About the Author(s)
1. Introduction
Required background
What is a QPU?
A Hands-on Approach
A QCEngine primer
Native QPU Instructions
Simulator Limitations
Hardware Limitations
QPU vs. GPU: Some Common Characteristics
How this book is structured
2. One Qubit
Qubits vs. Bits
Introducing Circle Notation
Size of the circles:
Relative rotation of the circles:
A Quick Look at a Physical Qubit
The First Few QPU Operations
QPU Instruction: NOT
QPU Instruction: HAD
QPU Instruction: READ and WRITE
Hands-on: A perfectly random bit
QPU Instruction: PHASE()
QPU Instructions: ROTX() and ROTY() rotation operations
The missing operation
Combining QPU operations
QPU Combo Instruction: ROOT-of-NOT
Hands-on: Quantum Spy Hunter
Conclusion
3. Multiple Qubits
Circle notation for multi-qubit registers
Drawing a Multi-Qubit Register
Single-qubit Operations in Multi-Qubit Registers
Reading a qubit in a multi-qubit register
Visualizing Larger Numbers of Qubits
QPU Instruction: CNOT
Hands-on: Using Bell Pairs for shared randomness
QPU Instruction: CPHASE and CZ
Phase kickback
Constructing Any Conditional Operation
QPU Instruction: CCNOT (Toffoli)
QPU Instruction: SWAP and CSWAP
Hands-on: Remote-controlled randomness
Conclusions