-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improve the documentation and add input checks to to_determinant_list
#47
Conversation
q-posev
commented
Nov 9, 2024
- Closes Clarify that orbital indices should be 0-based when creating a determinant list #45
The orbital indices should be 0-based and not 1-based in Python: the orbital indices are of type |
This function has nothing to do with TREXIO format per se. It is a helper function to convert a list of occupied orbitals into the determinant bit string. We do not store lists of occupied orbitals per determinant in TREXIO. |
I agree, but I think we should have this function consistent with the helper functions of trexio |
This would be a rather trivial change, I can do that. |
Yep!
…On Sun, 2024-11-10 at 09:41 -0800, Evgeny Posenitskiy wrote:
This would be a rather trivial change, I can do that.
So just to confirm: indices should be 0-based when provided to the
function and in the function we shift them by +1 so that the current
code remains unchanged?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Hello again @NastaMauger, |
I am done with the changes, so ready to merge whenever is more convenient for you @NastaMauger and @scemama |
@NastaMauger that was fast! Yes, it's perfect, thanks a lot! I left a small comment in your PR. We will merge this MR ASAP together with #48 and will make the release of |