-
Notifications
You must be signed in to change notification settings - Fork 69
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
[hilbert_space] Serious bug in imperative_operator
introduced by #686
#819
Comments
I'd like to stress that this issue is pretty bad. It has the potential to invalidate all CTHYB results for non density-density multiorbital models obtained since the |
Dear @krivenko, Thank you for pointing this out! I will review your proposed solution and will of course back port the fix to the 2.2.x branch. |
I have also put in place a simple mechanism (c.f. a54822a) to detect if a given model was effected by the issue. |
Hi everyone,
My collaborators noticed a strange behavior of
atom_diag
, when energy levels of the same Hamiltonian were different depending on the order of index combinations in the suppliedfops
list.The following minimal example demonstrates the problem.
The output I am getting on my
3.0.x
installation is as follows.The energy levels are clearly different (the
E = 4.0
level is missing fromad1
's output).I have traced the problem down to
imperative_operator
's constructor and to PR #686, which broke an assumption that constructor relied upon. More details are provided in the proposed solution #820.All versions and branches since
2.2
seem to be affected.The text was updated successfully, but these errors were encountered: