course
PennyLane Codebook: Interactive Quantum ML Learning
Xanadu / PennyLane Team
5 courses · 27 tutorials
course
Xanadu / PennyLane Team
course
Xanadu
course
Xanadu / Community
course
Xanadu / QOSF Community
course
AWS Quantum Technologies team
Understand why barren plateaus occur in deep variational circuits, how to detect them in PennyLane, and practical strategies to avoid them including layerwise training and structured ansatze.
Use PennyLane Catalyst to JIT-compile hybrid quantum-classical programs with JAX, enabling fast execution on both simulators and quantum hardware.
Optimize variational circuits using finite shots in PennyLane. Compare parameter-shift, SPSA, and natural gradient estimators for shot-limited hardware settings.
Run your first differentiable quantum circuit in PennyLane. Build a Bell state, compute gradients, and see why PennyLane is the go-to framework for quantum ML.
Reduce molecular simulation cost by selecting active orbitals in PennyLane. Combine active space selection with VQE for accurate molecular ground state energies.
Learn how to build quantum kernel functions with PennyLane, use them with scikit-learn's SVM, and understand when quantum kernels might offer an advantage over classical kernels, with a full working classification example.
Build a quantum classifier using PennyLane's parameterized circuits and train it to classify a simple dataset using gradient descent.
Implement quantum natural gradient descent in PennyLane using the quantum Fisher information matrix. Compare convergence against standard gradient descent on a VQE benchmark.
Use PennyLane's shot-adaptive optimizer to allocate measurement shots intelligently across circuit parameters.
Implement the Variational Quantum Eigensolver to find the ground state energy of a hydrogen molecule using PennyLane and gradient-based optimization.
Implement the Quantum Approximate Optimisation Algorithm to solve the MaxCut graph problem using PennyLane, and understand how QAOA bridges quantum computing and combinatorial optimisation.
Build a quantum generative adversarial network in PennyLane with a quantum generator and classical discriminator.
Understand how noise affects quantum circuits in the NISQ era and implement zero-noise extrapolation (ZNE) and probabilistic error cancellation using PennyLane.
Implement the Quantum Approximate Optimization Algorithm for the Max-Cut problem in PennyLane: graph encoding, cost Hamiltonian, circuit construction, and parameter optimization.
Use PennyLane's quantum chemistry module to build molecular Hamiltonians, construct UCCSD circuits, and run VQE to find ground state energies.
Implement a patch quantum GAN in PennyLane with a parametric quantum generator and classical neural network discriminator. Covers adversarial training, mode collapse, and how entanglement contributes to output diversity.
Combine a classical pre-trained CNN with a parameterized quantum circuit for image classification using PennyLane's quantum transfer learning technique.
A conceptual and practical introduction to quantum machine learning: what QML is, data encoding strategies, parameterized quantum circuits, and a complete classification example.
Implement quantum teleportation in PennyLane: creating the entangled pair, Bell measurement, classical correction, and verifying the teleported state.
Build a complete binary quantum classifier with angle encoding, strongly entangling layers, BCE loss, and Adam optimizer, trained on the moons dataset, with decision boundary visualization and comparison to logistic regression.
Understand why Clifford+T is the universal fault-tolerant gate set, the cost of T gates in magic state distillation, and how to analyze T-count with PennyLane.
Full VQE for LiH using PennyLane's qchem module: molecular Hamiltonian, Hartree-Fock initial state, UCCSD ansatz, optimization, and potential energy surface scan.
Implement a simplified ADAPT-VQE algorithm in PennyLane. Build an operator pool, greedily select operators by gradient magnitude, grow the ansatz iteratively, and compare convergence against fixed UCCSD for the H2 molecule.
Train variational quantum circuits directly on realistic noise models using PennyLane. Compare circuits trained with and without noise, insert depolarizing and amplitude damping channels, and apply noise injection techniques to improve real hardware performance.
Build a complete hybrid quantum-classical optimization pipeline: PennyLane QNode wrapped as a PyTorch layer, automatic differentiation through quantum circuits, Adam optimizer training on a binary classification task, and comparison to classical logistic regression.
Connect PennyLane to Amazon Braket backends to run hybrid quantum-classical workflows, from local simulation to IonQ trapped-ion hardware.
Explore PennyLane's Lightning family of high-performance simulation backends, learn how to use adjoint differentiation for efficient gradient computation, and understand when to deploy lightning.qubit, lightning.gpu, and lightning.kokkos.