The self-consistent random-phase approximation (SCRPA) is extended to nonzero temperature. Within the SCRPA, the collective dynamics of nucleon pairs is built on the occupation numbers that deviate from the Fermi-Dirac distribution as a result of temperature-dependent correlations beyond the RPA. The equations for single-particle occupation numbers are derived using the method of the double-time Green's functions. The approach is applied to the Richardson model of pairing. The results of numerical calculations for energies of states and occupation numbers, as well as for the thermodynamic quantities such as the excitation energy and heat capacity of the system, are compared with those obtained within the conventional RPA and the perturbative thermal SCRPA and with the exact results. We find that, overall, the SCRPA offers a better agreement with the exact results.
We derive analytical expressions for chemical potentials within the random phase approximation (RPA), equivalently the
GW energy functional evaluated using non interacting Green's functions (
Gs). The chemical potential is obtained using two formally equivalent approaches: a direct derivative of the total energy with respect to particle number, and a functional derivative via the chain rule through
Gs, both validated with finite difference benchmarks. We show that the functional derivative of the
GW correlation energy$\unicode{x2013}$i.e., the
GW correlation self energy$\unicode{x2013}$exhibits a discontinuity at integer particle numbers with finite jumps. This resolves the apparent inconsistency between accurate
GW quasiparticle energies and the large delocalization errors observed in RPA total energies, as standard
GW self energies neglect this nonanalytic behavior. Our results suggest that derivative discontinuities are a fundamental feature of correlation energy functionals, analogous to the known discontinuity in the exact exchange correlation energy.