Function sequant::expand_antisymm(const ExprPtr&, bool)

Function Documentation

ExprPtr sequant::expand_antisymm(const ExprPtr &expr, bool skip_spinsymm = false)

expands all antisymmetric tensors in an expression

Parameters:
  • expr – an expression to expand

  • skip_spinsymm – is true, will not expand tensors whose indices all have same spin [default=false]

Returns:

an expression pointer with expanded tensors as a sum