Program Listing for File thc.hpp

Return to documentation for file (SeQuant/domain/mbpt/rules/thc.hpp)

//
// Created by Oliver Backhouse on 22/11/2025.
//

#ifndef SEQUANT_DOMAIN_MBPT_RULES_THC_HPP
#define SEQUANT_DOMAIN_MBPT_RULES_THC_HPP

#include <SeQuant/core/expr_fwd.hpp>
#include <SeQuant/core/space.hpp>

#include <string_view>

namespace sequant::mbpt {

// clang-format off
// clang-format on
[[nodiscard]] ExprPtr tensor_hypercontract(ExprPtr const& expr,
                                           IndexSpace aux_space,
                                           std::wstring_view tensor_label,
                                           std::wstring_view outer_factor_label,
                                           std::wstring_view core_tensor_label);

}  // namespace sequant::mbpt

#endif  // SEQUANT_DOMAIN_MBPT_RULES_THC_HPP