-
Notifications
You must be signed in to change notification settings - Fork 2
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
slater module #15
Comments
|
|
|
I like this idea, of zero as the vacuum and None as a zero. This is probably the best way to do it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came across a few things in the slater module. Please let me know what you think, so I can make the needed changes accordingly:
slater.annihilate(0b00110, 1, 6)
returnsNone
because one of the specified indices is not occupied. Isn't it better to have slater.annihilate only returnNone
when none of the specified indices are occupied? In this wayslater.annihilate(0b00110, 1, 6)
orslater.annihilate(0b00110, 6, 1)
will return 0b100.The same argument applies to the slater.create function.
The text was updated successfully, but these errors were encountered: