# Tag Info

Accepted

### Parallel Mersenne Twister for Monte Carlo

Like you say, using the Mersenne Twister for parallel computations is almost always done incorrectly, as the correct method is tricky to implement. By far the easiest and best answer would be to move ...

### Maximizing unknown noisy function

There are several Bayesian optimization techniques you could try. Easiest are based on Gaussian process: Harold J. Kushner. A new method of locating the maximum of an arbitrary multipeak curve in the ...
Accepted

### Why the magnetisation shows abrupt behaviour for this 3D ising spin system

Your lattice consists of 5 x 5 x 5 = 125 spins, so your number of Montecarlo steps to reach equilibrium should be >> 125, because you randomly picking a site and flipping it, so random numbers should ...

### Python implementations of Gillespie's direct method

As part of the lab the developed and maintains StochKit. I am happy to hear that it is highly recommended in the previous answers. However, I wanted to update everyone. There already is a python ...
Accepted

### Mean-squared displacement in Monte Carlo studies

This is possible (see ) but uncommon, as it requires Monte Carlo moves that alter the current conformations by a very small perturbation. In that setting of "small" Metropolis MC moves, it is ...

### Mean-squared displacement in Monte Carlo studies

It is in some cases possible to map the dynamics obtained in MC simulations to other (more realistic) dynamics, especially for the case of dense colloidal suspensions. The following two papers talk ...
Accepted

### Absence of Discontinuity in Specific Heat Plot Simulated by Ising Model

I sincerely thank @Daniel Shapero for directing me towards this answer. Discontinuity in the specific heat or susceptibility curves to be visible significantly, you should take much more finer ...
Accepted

### Use Monte Carlo integration to compute the volume and centre of mass in Python

Here is a corrected and slightly improved code, set up here for calculation of the full torus volume to verify the result. ...

Accepted

### Different questions about "Inverse Physics problems"

As I understand, your ultimate goal is to solve an inverse problem (i.e., infer some parameters from given data / observations). To this end, you want to apply Bayesian Inference, which relates the ...

### Monte Carlo simulation of many-body wave function overlaps

You are right that $\psi_2^\ast\psi_1$ is not a probability distribution (not even a non-normalized one) because it is complex-valued and possibly negative. But $p(r)=|\psi_2(r)^\ast\psi_1(r)|$ can ...
Accepted

### Variational Monte Carlo: Variational energy is lower than ground state energy

The trial wavefunction, $\exp(-1.2r)$, does not respect the cusp condition - the derivatives of the wavefunction need to cancel the $1/r$ Coulomb term. Without a correct cusp condition, the local ...
Accepted

### Use of Metropolis-Hasting algorithm for gathering statistics

Your post actually contains two questions: 1) What should you calculate This first question will be answered by defining what you are studying. If it is the magnetic properties of your system (usual ...