Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quantum-kittens
GitHub Repository: quantum-kittens/platypus
Path: blob/main/notebooks/summer-school/2021/lab4.ipynb
3855 views
Kernel: Python 3

Lab 4: Introduction to Training Quantum Circuits

In this lab, you will learn how to train circuit-based variational models, using different training techniques and see restrictions the models have and how they might be overcome.

Computing Expectation Values:

  • Graded Exercise 4-1: By matrix multiplication

  • Graded Exercise 4-2: By simulation

Training A New Loss Function:

  • Graded Exercise 4-3: Define the Hamiltonian

  • Graded Exercise 4-4: Use the SPSA optimizer to find the minimum

Natural Gradients:

  • Exploratory Exercise: Natural Gradients and Barren Plateaus

Suggested resources