Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tuning and Best Practices

Practical advice on choosing simulation parameters for reliable and efficient ALF runs.

Philosophy

The formal documentation (PDF) derives the algorithms. This section focuses on what to set, what to look for, and what can go wrong — practical knowledge that comes from experience running simulations.

Each sub-page follows a consistent format:

  1. Parameters — name, where it’s set, typical range

  2. Guidelines — how to choose good values, what to monitor

  3. Model-specific notes — when defaults don’t apply

  4. Known pitfalls — common mistakes and their symptoms

Topics

The first two topics apply to every ALF simulation. HMC and Tempering are relevant only when using those specific update schemes.

[[Discretization]]

The imaginary-time step Dtau controls the Trotter decomposition error. Too large and results are biased; too small and the simulation is unnecessarily expensive. Guidance on choosing Dtau and extrapolating to the continuous-time limit.

[[Stabilization Parameters]]

Choosing Nwrap (the number of imaginary-time slices between QR stabilizations) and selecting a stabilization scheme (STAB1/STAB2/STAB3/LOG). Getting this wrong leads to numerical instability or wasted computation.

[[HMC Parameters]]

Tuning the Hybrid Monte Carlo updating scheme: leap-frog step size (Delta_t_Langevin_HMC), number of integration steps (Leapfrog_Steps), the mass matrix preconditioner (Apply_B_HMC), and how many HMC trajectories to run between sequential sweeps (N_HMC_sweeps).

[[Tempering]]

Parallel tempering configuration: how to choose the temperature grid, how many replicas to use, and what exchange acceptance rates to target.

General Advice