Function sequant::remove_tensor(const ExprPtr&, std::wstring)¶ Defined in File spin.cpp Function Documentation¶ ExprPtr sequant::remove_tensor(const ExprPtr &expr, std::wstring label)¶ Removes tensor with a certain label from an expression. Parameters: expr – An expression pointer label – Label of the tensor to remove Returns: ExprPtr with the tensor removed