.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs__hilbert_space__space_partition__lookup_basis_state: triqs::hilbert_space::space_partition::lookup_basis_state ========================================================= *#include * **Synopsis** .. rst-class:: cppsynopsis | space_partition::idx_t :red:`lookup_basis_state` (space_partition::idx_t :param:`basis_state`) Find what invariant subspace a given Fock state belongs to Parameters ^^^^^^^^^^ * :param:`basis_state` Index of a basis Fock state Returns ^^^^^^^ Index of the found invariant subspace