Skip to content

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

@dayanbatuofu

Description

@dayanbatuofu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions