triqs::hilbert_space::state<HilbertSpace,ScalarType,false>::dot_product
#include <triqs/hilbert_space.hpp>
Synopsis
state<type-parameter-0-0, type-parameter-0-1, false>::value_type dot_product (state<type-parameter-0-0, type-parameter-0-1, false> const & s1,
Calculate scalar product of two states
Parameters
- s1 First state to multiply
- s2 Second state to multiply
Returns
Value of the scalar product