triqs::atom_diag::atom_diag::flatten_subspace_index
#include <triqs/atom_diag/atom_diag.hpp>
Synopsis
int flatten_subspace_index (int sp_index, int i) const
Returns the state index in the full Hilbert space given a subspace index and an inner index
Parameters
- sp_index Index of the invariant subspace.
- i State index within the subspace.