triqs::hilbert_space::hilbert_space::has_state

#include <triqs/hilbert_space/hilbert_space.hpp>

Synopsis

bool has_state (fock_state_t f) const

Check if a given Fock state belongs to this space

Parameters

  • f Fock state in question

Returns

true if f belongs to the space, false otherwise