Template Function sequant::detail::reduce_wick_impl

Function Documentation

template<Statistics S>
bool sequant::detail::reduce_wick_impl(std::shared_ptr<Product> &expr, const container::set<Index> &external_indices, const container::set<Index> &noncovariant_indices, const Context &ctx)

resolves Kronecker deltas (and, using orthonormal representation, overlaps between indices in orthonormal spaces) in summations

Returns:

false if expr is zero