triqs::hilbert_space::state<HilbertSpace,ScalarType,false>::dot_product

#include <triqs/hilbert_space.hpp>

Synopsis

Calculate scalar product of two states

Parameters

  • s1 First state to multiply

  • s2 Second state to multiply

Returns

Value of the scalar product