Function sequant::mbpt::can_expand¶
Defined in File spin.cpp
Function Documentation¶
-
bool sequant::mbpt::can_expand(const AbstractTensor &tensor)¶
Check if the number of alpha spins in bra and ket are equal; beta spins will match if total number of indices is the same.
- Parameters:
tensor – with spin indices
- Returns:
true if number of alpha spins match in bra and ket