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

Unsorted configurations #33

Open
jagot opened this issue Feb 28, 2019 · 0 comments
Open

Unsorted configurations #33

jagot opened this issue Feb 28, 2019 · 0 comments
Labels

Comments

@jagot
Copy link
Member

jagot commented Feb 28, 2019

When calculating matrix elements between two Slater determinants, the ordering of spin-orbitals in a configuration is important, since permutation of the orbitals amount to permutation of the columns of the determinant, which changes the overall sign of the matrix element. The suggestion is to remove the enforced canonical ordering of orbitals in a configuration, and adding a kwarg to the Configuration constructor that allows initial ordering the orbitals, but subsequently, the ordering is retained, e.g. when replace!ing orbitals, the substitutions are made in-place. This is well-defined for spin-configurations, but we still need to decide what happens when substituting from a multiply occupied orbital in a Configuration{Orbital}, i.e. what does replace!(c"1s2 2p", o"1s"=>o"2s") imply?

Related to #23 and #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants