As discussed in #39, It would be great for CompositeBasis to efficiently store contiguous strings of N of the same basis tensored together so that Basis^N takes O(1). If something like that is implemented, then we can have something like const NQubitBasis(N) = SpinBasis(1//2)^N.
As discussed in #39, It would be great for
CompositeBasisto efficiently store contiguous strings ofNof the same basis tensored together so thatBasis^Ntakes O(1). If something like that is implemented, then we can have something likeconst NQubitBasis(N) = SpinBasis(1//2)^N.