-
Notifications
You must be signed in to change notification settings - Fork 3
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
DM gradient for non-hermitain case #3
base: master
Are you sure you want to change the base?
Conversation
dyson/solvers/chempot.py
Outdated
@@ -225,8 +225,13 @@ def gradient(self, x, fock=None, out=None): | |||
h1 = -np.dot(c[gf.nphys :, gf_occ.naux :].conj().T, c[gf.nphys :, : gf_occ.naux]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably also need some control over hermiticity here
before merging this we should probably make sure that the behaviour is sound regarding complex eigenvalues -- should I also don't think that states are necessarily sorted at any point, so the filling might be in the wrong order even just by the real parts -- I guess we should write some unit tests with complex states. |
This reverts commit d60e1b7.
No description provided.