Skip to content

Fix construction of antisymmetric matrix for orbital rotation #206

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kevinsung
Copy link
Collaborator

@kevinsung kevinsung commented May 16, 2025

Fixes #202

The matrix being constructed wasn't actually antisymmetric because the entries were being set in the wrong order.

@caleb-johnson is there a particular reason JAX is being used in these lines? The output is just being passed to scipy.linalg.expm so as far as I can tell, it becomes a plain Numpy array after that.

TODO

  • Figure out why OO now makes the energy worse (!!) in the notebook
  • Also, the energy before OO is a lot worse than before. Why?

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

Successfully merging this pull request may close these issues.

Rotating integrals changes energy
1 participant