Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Quantum Computing Algorithms

You're reading from   Quantum Computing Algorithms Discover how a little math goes a long way

Arrow left icon
Product type Paperback
Published in Sep 2023
Publisher Packt
ISBN-13 9781804617373
Length 342 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Barry Burd Barry Burd
Author Profile Icon Barry Burd
Barry Burd
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Introduction to Quantum Computing 2. Part 1 Nuts and Bolts FREE CHAPTER
3. Chapter 1: New Ways to Think about Bits 4. Chapter 2: What Is a Qubit? 5. Chapter 3: Math for Qubits and Quantum Gates 6. Chapter 4: Qubit Conspiracy Theories 7. Part 2 Making Qubits Work for You
8. Chapter 5: A Fanciful Tale about Cryptography 9. Chapter 6: Quantum Networking and Teleportation 10. Part 3 Quantum Computing Algorithms
11. Chapter 7: Deutsch’s Algorithm 12. Chapter 8: Grover’s Algorithm 13. Chapter 9: Shor’s Algorithm 14. Part 4 Beyond Gate-Based Quantum Computing
15. Chapter 10: Some Other Directions for Quantum Computing 16. Assessments 17. Index 18. Other Books You May Enjoy

Jupyter notebooks

Jupyter notebooks are web-based environments for running code and displaying information about the code. To program quantum computers, we’ll create Jupyter notebooks that run Python programs with IBM’s Qiskit library functions.

To get started with Qiskit, follow these steps:

  1. Visit the quantum computing lab: https://quantum-computing.ibm.com/lab.
  2. Create an IBM account.
  3. Return to the quantum computing lab page: https://quantum-computing.ibm.com/lab.
  4. In the resulting Launcher tab, click on the Notebook | Python 3 (ipykernel) buttons:
Figure 1.21 – Creating a Qiskit notebook

Figure 1.21 – Creating a Qiskit notebook

A new Jupyter notebook appears. Near the top of the notebook, there’s an empty text field.

In the next section, you will populate that text field with Python code.

Creating and displaying values

A Jupyter notebook consists of cells. In a typical scenario, each cell contains a text field. You can type code...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime