PennyLane
  • Why PennyLane
  • Getting Started
  • Documentation
  • Ecosystem
Install
Install
Back to Codebook Map

Foundations of Quantum Algorithms

Loading...

Learn how to code all of the famous quantum algorithms, from Grover Search to Shor's Algorithm.

BA: Basic Quantum Algorithms

Learn how oracle-based algorithms can help speed up computations and code your first non-trivial quantum algorithm.

No Exponential Magic

Can we use superposition to speed up calculations?

The Magic 8-Ball

Understand the role of oracles in quantum algorithms.

Pair Programming

Learn how the oracle can be used to test solutions in pairs.

Making and Breaking Promises

Explore the role of information and promises in algorithm design.

Hadamard Transform

Understand the effect of the Hadamard transform.

Deutsch–Jozsa

Implement the Deutsch–Jozsa algorithm..

No Exponential Magic

Can we use superposition to speed up calculations?

The Magic 8-Ball

Understand the role of oracles in quantum algorithms.

Pair Programming

Learn how the oracle can be used to test solutions in pairs.

Making and Breaking Promises

Explore the role of information and promises in algorithm design.

Hadamard Transform

Understand the effect of the Hadamard transform.

Deutsch–Jozsa

Implement the Deutsch–Jozsa algorithm..

GA: Grover's Algorithm

Gain intuition on how Grover's search algorithm works and code it end-to-end.

Introduction to Grover Search

Become familiar with the basic components of Grover's Algorithm.

Searching with Geometry

Study Grover's Algorithm from a geometric perspective.

Searching with Circuits

Learn the relation between phase kickback and Grover search.

Steps and Speedups

Compute the optimal number of Grover steps.

Multiple Solutions

Implement Grover to search for multiple solutions.

Introduction to Grover Search

Become familiar with the basic components of Grover's Algorithm.

Searching with Geometry

Study Grover's Algorithm from a geometric perspective.

Searching with Circuits

Learn the relation between phase kickback and Grover search.

Steps and Speedups

Compute the optimal number of Grover steps.

Multiple Solutions

Implement Grover to search for multiple solutions.

QFT: Quantum Fourier Transform

Implement the Quantum Fourier Transform, an important building block the most powerful quantum algorithms.

Changing Perspectives

A review of the classical Discrete Fourier Transform

Quantum Fourier Transform

Learn about the Quantum Fourier Transform and its properties.

Connecting the Dots

Generalize the Quantum Fourier Transform for more qubits.

Changing Perspectives

A review of the classical Discrete Fourier Transform

Quantum Fourier Transform

Learn about the Quantum Fourier Transform and its properties.

Connecting the Dots

Generalize the Quantum Fourier Transform for more qubits.

QPE: Quantum Phase Estimation

Understand the components and applications of the Quantum Phase Estimation and code it in its full splendor.

Catch the Phase

Calculate phases using the phase kickback technique.

It's not Just a Phase

Derive the Quantum Phase Estimation algorithm

Let's Be Rational

Estimate phases without a t-bit binary expansion.

A Mixed Bag

Analyze the QPE output for an arbitrary input state.

Catch the Phase

Calculate phases using the phase kickback technique.

It's not Just a Phase

Derive the Quantum Phase Estimation algorithm

Let's Be Rational

Estimate phases without a t-bit binary expansion.

A Mixed Bag

Analyze the QPE output for an arbitrary input state.

SH: Shor's Algorithm

Learn the concepts and components involved in the holy grail of quantum computing: Shor's factoring algorithm.

Modular Arithmetic

Review the basics of modular arithmetic.

Classical Factorization

Learn how to factor integers using modular arithmetic techniques.

Period Finding

Implement the period finding routine.

Shor's Algorithm

Code Shor's algorithm in its full splendor.

The RSA System

Use Shor's algorithm to break encryption systems.

Modular Arithmetic

Review the basics of modular arithmetic.

Classical Factorization

Learn how to factor integers using modular arithmetic techniques.

Period Finding

Implement the period finding routine.

Shor's Algorithm

Code Shor's algorithm in its full splendor.

The RSA System

Use Shor's algorithm to break encryption systems.

PennyLane

PennyLane is an open-source software framework for quantum machine learning, quantum chemistry, and quantum computing, with the ability to run on all hardware. Built with ❤️ by Xanadu.

Stay updated with our newsletter

For researchers

  • Research
  • Features
  • Demos
  • Compilation
  • Datasets
  • Performance
  • Learn
  • Videos
  • Documentation
  • Teach

For learners

  • Learn
  • Codebook
  • Teach
  • Videos
  • Challenges
  • Demos
  • Compilation
  • Glossary

For developers

  • Features
  • Documentation
  • API
  • GitHub
  • Datasets
  • Demos
  • Compilation
  • Performance
  • Devices
  • Catalyst

© Copyright 2025 | Xanadu | All rights reserved

TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.

Privacy Policy|Terms of Service|Cookie Policy|Code of Conduct