Basis syten::filterBasis | ( | Basis const & | input, |
Basis const & | site, | ||
Basis const & | target, | ||
const Index | remainingSites | ||
) |
Returns a new basis which contains only elements from the input basis that are still compatible with the target basis, currently only works with Group::U1 and Group::SU2 symmetries.
References syten::Basis::dir, and syten::Basis::numSymmetries.