-
Notifications
You must be signed in to change notification settings - Fork 6
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
"Compressed" CompositeBasis
#43
Comments
I'm not sure I understand the utility of this. I think there are advantages to having an explicit list of bases in |
I was imagining that once we define the interface for composite bases appropriately (#40 currently introduces the I think this has utility in any package that subtypes I guess the question is whether it makes sense to have some |
As discussed in #39, It would be great for
CompositeBasis
to efficiently store contiguous strings ofN
of the same basis tensored together so thatBasis^N
takes O(1). If something like that is implemented, then we can have something likeconst NQubitBasis(N) = SpinBasis(1//2)^N
.The text was updated successfully, but these errors were encountered: