Skip to content

Material for a mini-course held at Facultad de Física, Universidad de La Habana, in February 2024

Notifications You must be signed in to change notification settings

stecrotti/AlgorithmicStatMech

Repository files navigation

Algorithmic tools for Statistical Mechanics

Material for a mini-course held at Facultad de Física, Universidad de La Habana, in February 2024.

1) Exact solution of statistical mechanical models via Dynamic Programming

Problem sheet, Solution

  • Exact solution of chain-factorized models (like 1D ising) via a recursive strategy
  • Exact solution of fully-connected ising or potts with uniform couplings and arbitraty external fields
  • Improvement on the point above by exploiting derivatives (-> automatic differentiation)

2) Automatic Differentiation (AD)

Notebook

  • Introduction to the concept, a few motivating examples
  • Implementation via Dual Numbers
  • Dual numbers as a good example of Julia's type dispatch system
  • Hints to reverse-mode AD. Example: backpropagation in neural nets
  • Bonus: reverse-mode AD as message-passing on the computation graph

Friendly references:

References:

Two options for the third session:

3a) Tensor Trains (aka Matrix Product States): a tool for function approximation

Notes, Solution

  • Can one improve on mean-field ansatzes while keeping the computational advantages?
  • Introduction to tensor trains
  • Efficient computations on tensor trains (dynamic programming): partition function, marginals, sampling
  • Universality of the Tensor Train decomposition
  • SVD-based truncations
  • Bonus: learning of Tensor Train distributions

Friendly references:

References:

Reading material:

3b) Belief Propagation

  • Solution of stat. mech. models on trees, building on the strategy on chains (continuation of part 1)
  • BP on loopy graphs
  • Examples: LDPC decoding or SAT or ising or ...

Friendly references:

References:

About

Material for a mini-course held at Facultad de Física, Universidad de La Habana, in February 2024

Resources

Stars

Watchers

Forks