.. _ContainerDict: #################### Container Dictionary #################### The approach is similar to the :ref:`Lookup-Tables` and simply stores all states in a dictionary. The index of each :ref:`state`, :math:`\vert\Psi_i\rangle`, in the subsystem can be accessed directly via: :math:`\textbf{i} = \textbf{map} \left[\vert\Psi_i\rangle\right]`. The memory usage is reduced compared to the :ref:`Lookup-Tables` in the case of small particle numbers making this approach superior to the tables. There is no constraint on the length of the subsystem. Data members ------------ .. doxygenvariable:: danceq::internal::ContainerDict::map .. doxygenvariable:: danceq::internal::ContainerDict::L const .. doxygenvariable:: danceq::internal::ContainerDict::n_max const .. doxygenvariable:: danceq::internal::ContainerDict::maximal_state_per_n .. doxygenvariable:: danceq::internal::ContainerDict::minimal_state_per_n