Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Monte Carlo Tutorial

The hoomd-mc crate implements Monte Carlo simulations.

In a Monte Carlo (MC) simulation, you chose the Hamiltonian () and what types of trial moves to propose. hoomd-rs will:

  1. Propose random trial moves that change the microstate: .
  2. Compute the change in energy made by each trial move: .
  3. Then accept or reject the trial move based on criteria specific to that trial move.

For each of these steps, you can use built-in types provided by hoomd-mc or write your own. Read the following tutorials to learn how to run and customize MC simulations using hoomd-rs.


Development of hoomd-rs is led by the Glotzer Group at the University of Michigan.

Copyright © 2024-2026 The Regents of the University of Michigan.