.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__hilbert_space__stateLTHilbertSpace_ScalarType_trueGT__dot_product: triqs::hilbert_space::state::dot_product ====================================================================== *#include * **Synopsis** .. rst-class:: cppsynopsis | state::value_type :red:`dot_product` (:ref:`state\ ` const & :param:`s1`, | :ref:`state\ ` const & :param:`s2`) Calculate scalar product of two states Parameters ^^^^^^^^^^ * :param:`s1` First state to multiply * :param:`s2` Second state to multiply Returns ^^^^^^^ Value of the scalar product