Template Function sequant::opt::detail::single_term_opt¶
Defined in File single_term.hpp
Function Documentation¶
-
template<has_index_extent IdxToSz>
EvalSequence sequant::opt::detail::single_term_opt(TensorNetwork const &network, IdxToSz &&idxsz)¶ - Template Parameters:
IdxToSz –
- Parameters:
- Returns:
Optimal evaluation sequence that minimizes flops. If there are equivalent optimal sequences then the result is the one that keeps the order of tensors in the network as original as possible.