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

Question about 'Hamiltonian update' in step 14 in Algorithm 2 #28

Open
dayanbatuofu opened this issue Oct 31, 2023 · 0 comments
Open

Question about 'Hamiltonian update' in step 14 in Algorithm 2 #28

dayanbatuofu opened this issue Oct 31, 2023 · 0 comments

Comments

@dayanbatuofu
Copy link

dayanbatuofu commented Oct 31, 2023

Hi,

I have one question about the code setting for Algorithm 2. In the step 14 of Algorithm 2, H_i <-- H_i - \alpha_i \frac{D^{+}V_i - D^{-}V_i}{2}. However, the setting in the code is like this, e.g., the 3D system example shows that 'V_new[i, j, k] = -(V_new[i, j, k] - diss[0])'. I don't understand why this is a sign. Could you please explain this inconsistent setting? I appreciate your help and support.

Thank you.

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

1 participant