We present a methodology to calculate frequency and momentum dependent all-electron response functions determined within Kohn-Sham density functional theory. It overcomes the main obstacle in calculating response functions in practice, which is the slow convergence with respect to the number of unoccupied states and the basis-set size. In this approach, the usual sum-over-states expression of perturbation theory is complemented by the response of the orbital basis functions, explicitly constructed by radial integrations of frequency-dependent Sternheimer equations. To an essential extent an infinite number of unoccupied states are included in this way. Furthermore, the response of the core electrons is treated virtually exactly, which is out of reach otherwise. The method is an extension of the recently introduced incomplete-basis-set correction (IBC) [Betzinger et al., Phys. Rev. B85, 245124 (2012); 88, 075130 (2013)] to the frequency and momentum domain. We have implemented the generalized IBC within the all-electron full-potential linearized augmented-plane-wave method and demonstrate for rocksalt BaO the improved convergence of the dynamical Kohn-Sham polarizability. We apply this technique to compute (a) quasiparticle energies employing the COHSEX approximation for the self-energy of many-body perturbation theory and (b) all-electron RPA correlation energies. It is shown that the favorable convergence of the polarizability is passed over to the COHSEX and RPA calculation.
Read full abstract