You've heard that quantum computing is going to change the world. Now you can check it out for yourself. Learn how quantum computing works, and write programs that run on the IBM Q quantum computer, one of the world's first functioning quantum computers. Learn a simple way to apply quantum mechanics to computer programming. Create algorithms to solve intractable problems for classical computers, and discover how to explore the entire problem space at once to determine the optimal solution. Get your hands on the future of computing today.
Quantum computing overhauls computer science. Problems such as designing life-saving drugs and super-large logistics problems that have been difficult or impossible for classical computers to handle can now be solved in moments. Quantum computing makes it possible to explore all possible solutions simultaneously and determine those that work, instead of iterating through each possibility sequentially. Work with quantum computers directly, instead of talking about them theoretically.
Discover a new visual way of looking at quantum bits that makes quantum computing intuitive for computer programmers. Master the special properties that make them different, and more powerful, than classical bits. Control quantum bits with gates and create circuits to model complex problems. Write programs that run on real quantum machines to solve problems that classical computers struggle with. Dive into quantum optimization and cryptography.
Get a head start on the technology that will drive computer science into the future.
What You Need:
Access to the IBM quantum computer, via any internet connection
Author(s): Nihal Mehta
Edition: 1
Publisher: Pragmatic Bookshelf
Year: 2020
Language: English
Commentary: Vector PDF
Pages: 582
City: Raleigh, NC
Tags: Algorithms; Quantum Computing; Quantum Logic; Quantum Cryptography; Quantum Search
Cover
Table of Contents
Preface
Is This Book for Me?
How Will This Book Give Me What I Want?
What's Unique in This Book?
Online Resources
Acknowledgments
1. Hello Quantum
Types of Quantum Computers
Quantum Computing in Thirty Seconds
Your First Quantum Program
Bottom Line
2. Goodbye Mr. Bits—From Classical to Quantum Bits
Comparing Classical to Quantum Computing
Modeling Quantum Bits with the Qubelets Model
Measuring Qubits
Bottom Line
Try Your Hand
3. Elementary, My Dear Watson—Quantum Logic
NOT (X) Gate
Controlled NOT (CNOT) Gate
Controlled Controlled NOT (CCNOT) Gate
Logic Expressions to Quantum Circuit
Bottom Line
Try Your Hand
4. All Together Now—Quantum Superposition
Operating on Qubelets
Putting Qubits in Blended States
Multi-Qubit Superposition: The Mega-Qubit
Triggering Superposition in Practical Quantum Circuits
Bottom Line
Try Your Hand
5. Beam Me Up, Scotty—Quantum Tagging and Entangling
Tagging the Optimal Solution
Entangling Qubits
Entanglement in Quantum Computing
Bottom Line
Try Your Hand
6. Designer Genes—Custom Quantum States
Quantum States and Probabilities
Rotating Qubelets Through Any Angle
Universal Quantum Gates
Bottom Line
7. Small Step for Man—Single Qubit Programs
Quantum States as Vectors
Quantum Gates as Matrices
Intuitively Analyzing the Quantum Gate Matrix
Classifying Quantum Gates
Sequence of Gates as Matrix Multiplication
Bottom Line
8. Giant Leap for Mankind—Multi-Qubit Programs
Idealized States Redux—Multi-Qubit Version
Speed Reading a Gate's Operation from Its Matrix
Two-Qubit Gate Matrices
Working with Blended States: Mega-Qubit as a Tensor
Design a Teleporting Circuit
Bottom Line
Try Your Hand
9. Alice in Quantumland—Quantum Cryptography
Encrypting with Symmetric Keys
Tell-Your-Boss Version: The “Key” Idea
The BB84 Key Exchange Mechanism
How Real Is BB84?
Bottom Line
Try Your Hand
10. Quantum Search
Grover's Algorithm
Fundamental Circuit Pattern for Searching
Searching for an Optimal Schedule
Bottom Line
Try Your Hand
11. Where to Go from Here
Well-Known Algorithms
Programming with Qiskit
Amazon, Google, and Microsoft's Quantum Computers
Bottom Line
Try Your Hand
A1. Mathematical Review
Classical Logic Gates and Circuits
Boolean Logic Expressions
Working with Matrices and Vectors
A2. From Qubelets to the Bloch Sphere
Visualizing the Qubit in 3D Space
Writing the Quantum State Using Polar Coordinates
Quantum State in a Transformed Space
A3. Quantum Mechanics with Qubelets
Mach-Zehnder Interferometer
A4. Solutions to Exercises
Quantum Bits Solutions
Quantum Logic Gates Solutions
Quantum Superposition Solutions
Quantum Tagging and Entangling Solutions
Custom Quantum States Solutions
Single Qubit Programs Solutions
Multi-Qubit Programs Solutions
Quantum Cryptography Solutions
Quantum Search Solutions
Where to Go from Here Solutions
Bibliography
Index
– A –
– B –
– C –
– D –
– E –
– F –
– G –
– H –
– I –
– J –
– K –
– L –
– M –
– N –
– O –
– P –
– Q –
– R –
– S –
– T –
– U –
– V –
– W –
– X –
– Y –
– Z –