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, if I use the cTPQ method to run HPhi, can I set the LargeValue parameter in the modpara.def file to a very small value, such as 0.1 or even 0.01? #193

Open
shuailiu199966 opened this issue Jan 2, 2025 · 3 comments

Comments

@shuailiu199966
Copy link

No description provided.

@tmisawa
Copy link
Contributor

tmisawa commented Jan 5, 2025

Sure. It is, of course, possible to set a smaller value.
However, please note that using a smaller value will increase the number of iterations required to reach a low temperature.

@shuailiu199966
Copy link
Author

Sure. It is, of course, possible to set a smaller value. However, please note that using a smaller value will increase the number of iterations required to reach a low temperature.

Hello, I noticed that when I set LargeValue to 0.1 and Lanczosmax to 200, the calculated results seem to be incorrect. What could be the reason for this?

My energy turned positive, and as the temperature decreases, the energy keeps increasing.

image

@tmisawa
Copy link
Contributor

tmisawa commented Jan 8, 2025

I am sorry that I misunderstood the definition of LargeValue.

LargeValue corresponds to the inverse of the imaginary time evolution step size, Δtau (i.e., LargeValue = 1/Δτ).
If LargeValue is set too small, the imaginary time evolution becomes unstable.

In the modpara.def file, you can specify the expansion order of the Taylor expansion using ExpandCoef.
By increasing ExpandCoef, it is possible to use a smaller LargeValue.
However, increasing ExpandCoef results in higher computational costs.

Typically, when setting ExpandCoef to around 10,
it is recommended to set LargeValue to a value greater than 1, such as around 10.

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