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 · 8 comments
Open

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

shuailiu199966 opened this issue May 14, 2024 · 8 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 .

@shuailiu199966
Copy link
Author

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.

 如果我在标准模型下为 2D kaitev 模型设置 L=2 和 W=3,那么d_H应该是 2 ^ {6} 还是 2 ^ {12}?我还应该更改哪些其他参数   ------------------ 原版 ------------------ 发件人: @.>; 日期:  周二, 2024年5月14日 03:36 PM 收件人:@.>; 抄送:@.>;@.>; 主题:  回复:[issp-center-dev/HPhi] 您好,示例 2.1(问题 #163)中似乎存在轻微错误   这个问题是由熵在恒定位移中具有自由度这一事实引起的。在此计算中,熵的高温极限设置为零 熵的零温度极限是 -log(d_H),其中 d_H 是希尔伯特空间的维数。例如,如果采用 12 位自旋 1/2 模型,则d_H由 2^{12} 给出。在这种情况下,熵收敛到 -log(2^12)~ -8.3177。如果要设置 S(T=0)=0,请在计算结果中添加 log(d_H)。 — 直接回复此电子邮件,在 GitHub 上查看或取消订阅。 您收到此消息是因为您创作了线程。消息 ID:@.>

Hello,In your example, this formula { (log (Z)+/T)/log (dH)} was used to calculate the entropy of the Heisenberg model. Can this formula be used for other models, such as kitaev. It is very sweet of you!!!

@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