Hamiltonian Setup ============================ The :f:mod:`ED_HAMILTONIAN_SUPERC` module contains the implementation of the superconducting sector Hamiltonian constructor. The Hamiltonian is then used elsewhere to obtain the low part of the energy spectrum or construct the dynamical response functions. The symmetry sector electronic Hamiltonian has the form: .. math:: H_e = H_{\rm imp} + H_{\rm int}+ H_{\rm bath} + H_{\rm hyb} where :math:`H_{\rm imp}` describes all the impurity Hamiltonian terms .. math:: H_{\rm imp} = \sum_{ab,\sigma} \left[ H^{\rm imp}_{ab,\sigma} -\mu\delta_{ab}\right] c^{\dagger}_{a\sigma}c_{b\sigma} + \sum_{a} P_{a} c_{a\uparrow} c_{a\downarrow} + H.c. where :math:`P_a` is the external pair field coupled to the orbital resolved pair amplitudes. The term :math:`H_{\rm int}` describes the local electron-electron interaction in the generic Hubbard-Kanamori form with tunable parameters: .. math:: H_{\rm int} = \sum_{a} U_a n_{a\uparrow}n_{a\downarrow} + U'\sum_{a