Function sequant::has_tensor¶ Defined in File spin.cpp Function Documentation¶ bool sequant::has_tensor(const ExprPtr &expr, std::wstring label)¶ Check if a tensor with a certain label is present in an expression. Parameters: expr – input expression label – tensor label to find in the expression Returns: true if tensor with given label is found