Function sequant::expand_antisymm(const Tensor&, bool)¶
Defined in File spin.cpp
Function Documentation¶
-
ExprPtr sequant::expand_antisymm(const Tensor &tensor, bool skip_spinsymm = false)¶
expand an antisymmetric tensor
For spin-indices, the tensor is NOT expanded if all spin-labels are either alpha or beta
- Parameters:
tensor – [in] a tensor
skip_spinsymm – [in] is true, will not expand tensors whose indices all have the same spin [default=false]
- Returns:
an ExprPtr containing the sum of expanded terms, if antisymmetric