Open
Conversation
| state, next are the first excitations from exc_orders, then second excitation from | ||
| exc_orders, etc | ||
|
|
||
| def generate_doci_sd_list(nspatial, nelec, npair, max_dets, exc_orders=[]): |
Member
Author
There was a problem hiding this comment.
- If I am not wrong, in the current implementation
npair = nelec / 2(ground state is a closed-shell with equal number of alpha and beta electrons). If this is true, we can removenpairargument. - We can extend the current implementation of determinant generator to do pair excitations when there is unpaired electrons (if that makes sense).
Contributor
There was a problem hiding this comment.
I originally had an attribute ngeminal, for the cases where number-symmetry breaking had occurred (Ngeminal != Nelectron/2). I think David didn't bother with that option yet, and the result was that ngeminal got lost.
We need something like that. Otherwise, npair just saves you a few function calls and divisions by two.
Contributor
|
Don't worry so much about the CI matrix stuff. We'll be implementing a modern CI algorithm that is vectorised and doesn't construct the full matrix or non-zero elements, eventually. Nicole and I will handle this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have made some changes to the CI codes in small commit patches. I tried to convey the major change in the commit message, however, in all commits I have incorporated commends, improved docstrings and pythonized the code. I am still working on GKCI implementation.
Please let me know if you would like to undo any of the changes.