Function sequant::mbpt::detail::enforce_reference_is_vacuum¶
Defined in File op.hpp
Function Documentation¶
-
inline void sequant::mbpt::detail::enforce_reference_is_vacuum(std::source_location location = std::source_location::current())¶
Enforces that the reference is the Wick vacuum.
- Parameters:
location – the location reported on failure; by default, the caller’s
- Throws:
Exception – (or aborts, per SEQUANT_ENFORCE) if the reference differs from the Wick vacuum