Courses · Our review
PennyLane Codebook
Xanadu / PennyLane
Last reviewed November 2026
The Codebook page describes the lessons but did not state cost or time. Chicago Quantum lists PennyLane quantum machine learning content as free. Confirm current terms on pennylane.ai.Hands-on quantum programming lessons in PennyLane. The introductory module covers qubits, quantum circuits and unitary matrices, and the Codebook has further modules including quantum machine learning. Chicago Quantum lists PennyLane's QML content as free and intermediate.
Math
Light math
Coding
Python
Time (our estimate)
about 5 h/week for 6 weeks
Credential
None
Format
Coding exercises
Provider type
platform
Best for
career, research
Cost
free
What it covers
- All About Qubits
- Quantum Circuits
- Unitary Matrices
- Quantum machine learning modules
Format: Interactive coding lessons on the PennyLane website
Prerequisites listed: The page states no prerequisites. Basic Python and linear algebra help.
Our verdict
A good second step if machine learning interests you. Start with a fundamentals course first.
Who it is for
- Learners who like writing code to learn and want to explore quantum machine learning.
Who should skip it
- People who want video lectures or a certificate.
Pros and cons
Pros
- Interactive and code-first.
- Good route into quantum machine learning.
Cons
- Less theory than a university course.
- No certificate.
After this course you should be able to
- Write circuits in PennyLane.
- Understand variational circuits at a basic level.
Are you ready for it?
Seven quick questions, about two minutes. We compare your answers with what PennyLane Codebook expects and point you to lessons for any gaps. Nothing is stored.
1. What is (1 + i)(1 − i)?
2. Multiplying the matrix [[0, 1], [1, 0]] by the column vector (1, 0) gives:
3. A qubit has amplitudes 0.6 for outcome 0 and 0.8 for outcome 1. The probability of measuring 1 is:
4. In Python, what does [x * x for x in range(4)] produce?
5. def f(n): return 1 if n < 2 else n * f(n - 1). What is f(4)?
6. A qubit is in an equal superposition of 0 and 1. When you measure it once, you get:
7. Which gate turns |0⟩ into an equal superposition of |0⟩ and |1⟩?
Practice alongside it on QuantumAtlas
Frequently asked questions
Is PennyLane different from Qiskit?
They are different frameworks with similar ideas. Learning one makes the other easier.
External site. Prices, dates, and availability are set by the provider and can change. We do not receive payment for these links.
Similar courses
- Learn Quantum Computing using Qiskit (IBM, free)
- Basics of Quantum Information (IBM Quantum Learning, free)
- Qiskit Global Summer School (IBM Quantum, free)