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

Hello, there seems to be a slight error in sample 2.1 #163

Open
shuailiu199966 opened this issue May 14, 2024 · 7 comments
Open

Hello, there seems to be a slight error in sample 2.1 #163

shuailiu199966 opened this issue May 14, 2024 · 7 comments

Comments

@shuailiu199966
Copy link

Hello, I have three questions.
Based on the code in sample 2.1, the entropy value that I obtained is negative and it is the same for all models.
Can the Python script you provided be used for calculations on all models?
How should I calculate the average bond density(W_p)?

@shuailiu199966
Copy link
Author

微信图片_20240514152321

@tmisawa
Copy link
Contributor

tmisawa commented May 14, 2024

This problem is caused by the fact that the entropy has degrees of freedom in constant shifts. In this calculation, the high-temperature limit of entropy is set to zero
and the zero-temperature limit of the entropy is -log(d_H), where d_H is the dimensions of the Hilbert space. For example, if you take the 12-site spin 1/2 model, d_H is given by 2^{12}. In that case, the entropy converges to -log(2^12)~ -8.3177 at the zero-temperature limit. If you want to set S(T=0)=0, please add log(d_H) to the calculation results.

@shuailiu199966
Copy link
Author

shuailiu199966 commented May 14, 2024 via email

@tmisawa
Copy link
Contributor

tmisawa commented May 15, 2024

In that case, d_H=2^12. You can find the information of d_H in standard output by HPhi.
For example, MAX DIMENSION idim_max=4096. Here, idim_max means d_H.

@tmisawa
Copy link
Contributor

tmisawa commented May 15, 2024

You can also find information of idim_max in output/CHECK_Memory.dat.

@tmisawa
Copy link
Contributor

tmisawa commented May 15, 2024

How should I calculate the average bond density(W_p)?

Does W_p mean the flux of the Kitaev model? If so, it is possible to calculate W_p.
Since W_p is defined by the product of six spin operators, i.e., W_p=Sx*Sy*Sz*Sx*Sy*Sz,
it is necessary to an input file for calculating six-body Green functions.
Please note that SixBodyG is the keyword for specifying the six-body Green functions in calmod.def .

@tmisawa
Copy link
Contributor

tmisawa commented May 27, 2024

Yes. This formula can be used for any other model, such as the Kitaev model. This factor comes from the normalization of wave functions and does not relate to lattice geometry.

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