.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _triqs_ctseg__measure_statehist: triqs_ctseg::measure_statehist ============================== *#include * .. rst-class:: cppsynopsis class :red:`measure_statehist` Measure the state histogram Measures the time the impurity spends in a certain atomic state: an atomic state is characterized by occupation number for each color, e.g. :math:`|n_1 n_2 n_3 n_4\rangle = |0 1 1 0\rangle` for a model with 4 colors - the index of a state in the histogram is given by :math:`\sum_i n_i 2^i` - the length of the histogram is 2^n_colors Public members -------------- +--------+-------------------------------------+--+ | config | const triqs_ctseg::configuration * | | +--------+-------------------------------------+--+ | params | const triqs_ctseg::qmc_parameters * | | +--------+-------------------------------------+--+ | H | vector * | | +--------+-------------------------------------+--+ | N | int | | +--------+-------------------------------------+--+ | N_tot | int | | +--------+-------------------------------------+--+ | beta | const double | | +--------+-------------------------------------+--+ Member functions ---------------- +--------------------------------------------------------------------+--+ | :ref:`(constructor) ` | | +--------------------------------------------------------------------+--+ .. toctree:: :hidden: measure_statehist/constructor