Template Function sequant::opt::single_term_opt¶ Defined in File single_term.hpp Function Documentation¶ template<has_index_extent IdxToSz>ExprPtr sequant::opt::single_term_opt(Product const &prod, IdxToSz &&idxsz)¶ Note prod is assumed to consist of only Tensor expressions Parameters: prod – Product to be optimized. idxsz – An invocable object that maps an Index object to size. Returns: Parenthesized product expression.