Book description
Understand the nuances of programming traditional quantum computers and solve the challenges of the future while building and executing quantum programs on IBM Quantum hardware and simulators
Key Features
- Work your way up from writing a simple quantum program to programming complex quantum algorithms
- Explore the probabilistic nature of qubits by performing quantum coin tosses and using random number generators
- Delve into quantum algorithms and their practical applications in various domains
Book Description
IBM Quantum Experience® is a leading platform for programming quantum computers and implementing quantum solutions directly on the cloud. This book will help you get up to speed with programming quantum computers and provide solutions to the most common problems and challenges.
You'll start with a high-level overview of IBM Quantum Experience® and Qiskit®, where you will perform the installation while writing some basic quantum programs. This introduction puts less emphasis on the theoretical framework and more emphasis on recent developments such as Shor's algorithm and Grover's algorithm. Next, you'll delve into Qiskit®, a quantum information science toolkit, and its constituent packages such as Terra, Aer, Ignis, and Aqua. You'll cover these packages in detail, exploring their benefits and use cases. Later, you'll discover various quantum gates that Qiskit® offers and even deconstruct a quantum program with their help, before going on to compare Noisy Intermediate-Scale Quantum (NISQ) and Universal Fault-Tolerant quantum computing using simulators and actual hardware. Finally, you'll explore quantum algorithms and understand how they differ from classical algorithms, along with learning how to use pre-packaged algorithms in Qiskit® Aqua.
By the end of this quantum computing book, you'll be able to build and execute your own quantum programs using IBM Quantum Experience® and Qiskit® with Python.
What you will learn
- Visualize a qubit in Python and understand the concept of superposition
- Install a local Qiskit® simulator and connect to actual quantum hardware
- Compose quantum programs at the level of circuits using Qiskit® Terra
- Compare and contrast Noisy Intermediate-Scale Quantum computing (NISQ) and Universal Fault-Tolerant quantum computing using simulators and IBM Quantum® hardware
- Mitigate noise in quantum circuits and systems using Qiskit® Ignis
- Understand the difference between classical and quantum algorithms by implementing Grover's algorithm in Qiskit®
Who this book is for
This book is for developers, data scientists, machine learning researchers, or quantum computing enthusiasts who want to understand how to use IBM Quantum Experience® and Qiskit® to implement quantum solutions and gain practical quantum computing experience. Python programming experience is a must to grasp the concepts covered in the book more effectively. Basic knowledge of quantum computing will also be beneficial.
Table of contents
- Quantum Computing in Practice with Qiskit® and IBM Quantum Experience®
- Why subscribe?
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Chapter 1: Preparing Your Environment
- Chapter 2: Quantum Computing and Qubits with Python
- Chapter 3: IBM Quantum Experience® – Quantum Drag and Drop
-
Chapter 4: Starting at the Ground Level with Terra
- Technical requirements
- Quantum coin toss revisited
- Getting some statistics – tossing many coins in a row
- Implementing an upside-down coin toss
- Tossing two coins simultaneously
- Quantum-cheating in a coin toss? Introducing the Bell state
- More ways to quantum-cheat – tweaking the odds
- Adding more coins – straight and cheating
- Tossing some real coins
- Chapter 5: Touring the IBM Quantum® Hardware with Qiskit®
-
Chapter 6: Understanding the Qiskit® Gate Library
- Technical requirements
- Visualizing quantum gates
- Flipping with the Pauli X, Y, and Z gates
- Creating superpositions with the H gate
- Fixed z rotations with phase shift gates S, , T, and
- Free rotation around the axes with Rx, Ry, and Rz
- Building our circuits with the basis gates – U1, U2, U3, and ID
- Using gates on 2 qubits
- Using gates on more than 2 qubits
- What your quantum circuit really looks like
-
Chapter 7: Simulating Quantum Computers with Aer
- Technical requirements
- Understanding the usage of quantum simulators
- Comparing the Qiskit Aer simulator with an IBM quantum computer
- Adding noise profiles of IBM Quantum® backends to local simulators
- Understanding your circuits by using the unitary simulator
- Running diagnostics with the state vector simulator
- Chapter 8: Cleaning Up Your Quantum Act with Ignis
- Chapter 9: Grover's Search Algorithm
- Chapter 10: Getting to Know Algorithms with Aqua
- Other Books You May Enjoy
Product information
- Title: Quantum Computing in Practice with Qiskit® and IBM Quantum Experience®
- Author(s):
- Release date: November 2020
- Publisher(s): Packt Publishing
- ISBN: 9781838828448
You might also like
video
Beginners' Guide to Practical Quantum Computing with IBM Qiskit
Quantum computers could help the development of new breakthroughs in science, medications, machine learning, material science, …
book
Practical Quantum Computing for Developers: Programming Quantum Rigs in the Cloud using Python, Quantum Assembly Language and IBM QExperience
Write algorithms and program in the new field of quantum computing. This book covers major topics …
book
Quantum Computing with Silq Programming
Learn the mathematics behind quantum computing and explore the high-level quantum language Silq to take your …
book
Quantum Computing by Practice: Python Programming in the Cloud with Qiskit and IBM-Q
Learn to write algorithms and program in the new field of quantum computing. This second edition …