Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculating the Susceptibility in the ising model #2

Closed
guozihuaa opened this issue Jun 19, 2018 · 1 comment
Closed

calculating the Susceptibility in the ising model #2

guozihuaa opened this issue Jun 19, 2018 · 1 comment

Comments

@guozihuaa
Copy link

guozihuaa commented Jun 19, 2018

I think Susceptibility should be calculated as:
X[tt] = (n1*M2 - n1^2*M1^2)*iT

because X = (<M^2> - <M>^2)/T

@rajeshrinet
Copy link
Owner

rajeshrinet commented Jun 19, 2018

Dear Zihu

You are right in saying that: X = ( < M^2 > - < M >^2 )/T

Note <M^2> is defined per monte carlo move. So <M^2> = M2/(mcSteps).

<M> = M1/mcsteps, so <M>^2 = (M1/(mcSteps)) * (M1/(mcSteps))

In the end, you make it per site by dividing by N*N.

So n1 = 1.0/(mcSteps * N * N); and n2 = 1.0/( mcSteps * mcSteps * N * N),

Hope that helps for your comment on https://rajeshrinet.github.io/blog/2014/ising-model/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants