triqs::hilbert_space::hilbert_space::operator==

#include <triqs/hilbert_space/hilbert_space.hpp>

Synopsis

bool operator== (hilbert_space const & hs) const

Check two Hilbert spaces for equality

For the full Hilbert spaces this check is equivalent to a dimension equality check

Parameters

  • hs Another Hilbert space

Returns

true if the two spaces are equal, false otherwise