/Spin_dynamics_via_Dynamic-Message-Passing

Spin dynamics with Dynamic Message Passing algorithm, Monte Carlo Glauber dynamics, to compute the out-of-equilibrium magnetization and correlation of spin systems on networks

Primary LanguageC

Spin-dynamics via dynamic message-passing algorithm
(dynamic cavity-method)

This repo contains the codes used to compute out-of-equilibrium spin probability distribution for the Ising model at any given temperature. The codes implement a novel algorithm introduced in this paper:

The code computes the single-sping probability distribution $P_i(\sigma_i(t))$ at any given time and for any given temperature. This distribution is used to compute the out-of-equilibrium magnetization $m_i(t)$. Results are compared with Monte Carlo out-of-equilibrium simulations.

The code can, in principle, compute the single-spin off-equilibrium $P_i(\sigma_i(t))$ on any network architectures. Message-passing algorithms, though, are known to converge only on tree-like network structures. Therefore, the algorithms employed here is guaranteed to converge only on such structures.