triqs::hilbert_space::sub_hilbert_space::has_state

#include <triqs/hilbert_space/sub_hilbert_space.hpp>

Synopsis

bool has_state (fock_state_t f) const

Check if a given Fock state belongs to this subspace

Parameters

  • f Fock state in question

Returns

true if f belongs to the subspace, false otherwise