.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__hilbert_space__sub_hilbert_space__get_fock_state: triqs::hilbert_space::sub_hilbert_space::get_fock_state ======================================================= *#include * **Synopsis** .. rst-class:: cppsynopsis | fock_state_t :red:`get_fock_state` (int :param:`i`) const Return the `i`-th basis element as a Fock state Parameters ^^^^^^^^^^ * :param:`i` Index of the basis state Returns ^^^^^^^ Fock state