When running the current code the local energy does not stabilize to an equilibrium value (i.e. it changes for each run). I suspect that the problem lies in the computation of the metropolis hastings test.
I propose that we follow this sign convention for all MH implementations, let:
then the MH test should read:
for a random uniformly distributed number epsilon in the interval [0, 1].
EDIT: WRONG MH TEST - SIGN SHOULD BE REVERSED AND NEW POSITION SHOULD BE IN THE DIVISOR
When running the current code the local energy does not stabilize to an equilibrium value (i.e. it changes for each run). I suspect that the problem lies in the computation of the metropolis hastings test.
I propose that we follow this sign convention for all MH implementations, let:
then the MH test should read:
for a random uniformly distributed number epsilon in the interval [0, 1].
EDIT: WRONG MH TEST - SIGN SHOULD BE REVERSED AND NEW POSITION SHOULD BE IN THE DIVISOR