These notes build matrix product states and the algorithms that run on them (TEBD for real- and imaginary-time evolution, DMRG, and DMRG with symmetries) from the bottom up, and then turn the same machinery on quantum circuits. Every module comes with hands-on notebooks in two languages:

  • Julia (TensorKit.jl, written from scratch), adapted and extended from the QNumerics 2026 summer-school notebooks;
  • Python, in two tracks: from scratch with numpy and quimb.tensor primitives, and production with quimb’s built-in TEBD, DMRG2 and CircuitMPS.

Course Notes

  1. 00 Why Tensor Networks: Low-Rank Compression
  2. 01 Tensors, Diagrams, Contractions and Factorizations
  3. 02 Matrix Product States
  4. 03 Time-Evolving Block Decimation
  5. 04 Matrix Product Operators and DMRG
  6. 05 Symmetries in Tensor Networks
  7. 06 Simulating Quantum Circuits with Tensor Networks

Homework

Each module ends with a problem set: pen-and-paper problems plus the hands-on gaps in the student notebooks. See the homework index.

Running the notebooks

See the repository README.md: uv sync sets up the Python environment, and julia --project=notebooks/julia -e 'using Pkg; Pkg.instantiate()' sets up the Julia one.