triqs::hilbert_space::sub_hilbert_space::get_state_index

#include <triqs/hilbert_space/sub_hilbert_space.hpp>

Synopsis

int get_state_index (fock_state_t f) const

Find the index of a given Fock state within this subspace

Parameters

  • f Fock state in question

Returns

State index