Let us suppose the system is initially in a particular state and we
change it to another state
. The detailed balance condition
demands that in equilibrium the flow from
to
must be balanced by
the flow from
to
. This can be expressed as
![]() |
![]() |
![]() |
(4.12) |
![]() |
![]() |
(4.13) |
This method is not the only way in which the condition can be fulfilled, but it is by far the most commonly used.
An important feature of the procedure is that it is never necessary to evaluate the partition function, the denominator in (4.10) but only the relative probabilities of the different states. This is usually much easier to achieve as it only requires the calculation of the change of energy from one state to another.
Note that, although we have derived the algorithm in the context of thermodynamics, its use is by no means confined to that case. See for example the quantum Monte-Carlo methods.