0%

Book Description

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

Table of Contents

  1.  Preface
    1. Is This Book for Me?
    2. How Will This Book Give Me What I Want?
    3. What’s Unique in This Book?
    4. Online Resources
    5. Acknowledgments
  2. 1. Hello Quantum
    1. Types of Quantum Computers
    2. Quantum Computing in Thirty Seconds
    3. Your First Quantum Program
    4. Bottom Line
  3. 2. Goodbye Mr. Bits—From Classical to Quantum BitsGoodbye Mr. Bits—From Classical to Quantum Bits
    1. Comparing Classical to Quantum Computing
    2. Modeling Quantum Bits with the Qubelets Model
    3. Measuring Qubits
    4. Bottom Line
    5. Try Your Hand
  4. 3. Elementary, My Dear Watson—Quantum Logic Elementary, My Dear Watson—Quantum Logic
    1. NOT (X) Gate
    2. Controlled NOT (CNOT) Gate
    3. Controlled Controlled NOT (CCNOT) Gate
    4. Logic Expressions to Quantum Circuit
    5. Bottom Line
    6. Try Your Hand
  5. 4. All Together Now—Quantum SuperpositionAll Together Now—Quantum Superposition
    1. Operating on Qubelets
    2. Putting Qubits in Blended States
    3. Multi-Qubit Superposition: The Mega-Qubit
    4. Triggering Superposition in Practical Quantum Circuits
    5. Bottom Line
    6. Try Your Hand
  6. 5. Beam Me Up, Scotty—Quantum Tagging and Entangling Beam Me Up, Scotty—Quantum Tagging and Entangling
    1. Tagging the Optimal Solution
    2. Entangling Qubits
    3. Entanglement in Quantum Computing
    4. Bottom Line
    5. Try Your Hand
  7. 6. Designer Genes—Custom Quantum StatesDesigner Genes—Custom Quantum States
    1. Quantum States and Probabilities
    2. Rotating Qubelets Through Any Angle
    3. Universal Quantum Gates
    4. Bottom Line
  8. 7. Small Step for Man—Single Qubit ProgramsSmall Step for Man—Single Qubit Programs
    1. Quantum States as Vectors
    2. Quantum Gates as Matrices
    3. Intuitively Analyzing the Quantum Gate Matrix
    4. Classifying Quantum Gates
    5. Sequence of Gates as Matrix Multiplication
    6. Bottom Line
  9. 8. Giant Leap for Mankind—Multi-Qubit ProgramsGiant Leap for Mankind—Multi-Qubit Programs
    1. Idealized States Redux—Multi-Qubit Version
    2. Speed Reading a Gate’s Operation from Its Matrix
    3. Two-Qubit Gate Matrices
    4. Working with Blended States: Mega-Qubit as a Tensor
    5. Design a Teleporting Circuit
    6. Bottom Line
    7. Try Your Hand
  10. 9. Alice in Quantumland—Quantum CryptographyAlice in Quantumland—Quantum Cryptography
    1. Encrypting with Symmetric Keys
    2. Tell-Your-Boss Version: The “Key” Idea
    3. The BB84 Key Exchange Mechanism
    4. How Real Is BB84?
    5. Bottom Line
    6. Try Your Hand
  11. 10. Quantum Search
    1. Grover’s Algorithm
    2. Fundamental Circuit Pattern for Searching
    3. Searching for an Optimal Schedule
    4. Bottom Line
    5. Try Your Hand
  12. 11. Where to Go from Here
    1. Well-Known Algorithms
    2. Programming with Qiskit
    3. Amazon, Google, and Microsoft’s Quantum Computers
    4. Bottom Line
    5. Try Your Hand
  13. A1. Mathematical Review
    1. Classical Logic Gates and Circuits
    2. Boolean Logic Expressions
    3. Working with Matrices and Vectors
  14. A2. From Qubelets to the Bloch Sphere
    1. Visualizing the Qubit in 3D Space
    2. Writing the Quantum State Using Polar Coordinates
    3. Quantum State in a Transformed Space
  15. A3. Quantum Mechanics with Qubelets
    1. Mach-Zehnder Interferometer
  16. A4. Solutions to Exercises
    1. Quantum Bits Solutions
    2. Quantum Logic Gates Solutions
    3. Quantum Superposition Solutions
    4. Quantum Tagging and Entangling Solutions
    5. Custom Quantum States Solutions
    6. Single Qubit Programs Solutions
    7. Multi-Qubit Programs Solutions
    8. Quantum Cryptography Solutions
    9. Quantum Search Solutions
    10. Where to Go from Here Solutions
  17.  Bibliography
3.133.131.168