Function sequant::remove_tensor(const Product&, std::wstring)

Function Documentation

ExprPtr sequant::remove_tensor(const Product &product, std::wstring label)

Removes tensor with a certain label from product.

Parameters:
  • product – A product expression

  • label – Label of the tensor to remove

Returns:

ExprPtr with the tensor removed