Function sequant::remove_spin

Function Documentation

ExprPtr sequant::remove_spin(const ExprPtr &expr)

Removes spin label from all indices in an expression.

Parameters:

expr – an ExprPtr with spin indices

Returns:

expr an ExprPtr with spin labels removed