We investigate the time evolution of the Kondo resonance in response to a quench by applying the time-dependent numerical renormalization group (TDNRG) approach to the Anderson impurity model in the strong correlation limit. For this purpose, we derive within the TDNRG approach a numerically tractable expression for the retarded two-time nonequilibrium Green function $G(t+{t}^{\ensuremath{'}},t)$, and its associated time-dependent spectral function, $A(\ensuremath{\omega},t)$, for times
t both before and after the quench. Quenches from both mixed valence and Kondo correlated initial states to Kondo correlated final states are considered. For both cases, we find that the Kondo resonance in the zero temperature spectral function, a preformed version of which is evident at very short times $t\ensuremath{\rightarrow}{0}^{+}$, only fully develops at very long times $t\ensuremath{\gtrsim}1/{T}_{K}$, where
TK is the Kondo temperature of the final state. In contrast, the final state satellite peaks develop on a fast time scale $1/\mathrm{\ensuremath{\Gamma}}$ during the time interval $\ensuremath{-}1/\mathrm{\ensuremath{\Gamma}}\ensuremath{\lesssim}t\ensuremath{\lesssim}+1/\mathrm{\ensuremath{\Gamma}}$, where $\mathrm{\ensuremath{\Gamma}}$ is the hybridization strength. Initial and final state spectral functions are recovered in the limits $t\ensuremath{\rightarrow}\ensuremath{-}\ensuremath{\infty}$ and $t\ensuremath{\rightarrow}+\ensuremath{\infty}$, respectively. Our formulation of two-time nonequilibrium Green functions within the TDNRG approach provides a first step towards using this method as an impurity solver within nonequilibrium dynamical mean field theory.
We develop an alternative time-dependent numerical renormalization group (TDNRG) formalism for multiple quenches and implement it to study the response of a quantum impurity system to a general pulse. Within this approach, we reduce the contribution of the NRG approximation to numerical errors in the time evolution of observables by a formulation that avoids the use of the generalized overlap matrix elements in our previous multiple-quench TDNRG formalism [Nghiem et al., Phys. Rev. B 89, 075118 (2014); Phys. Rev. B 90, 035129 (2014)]. We demonstrate that the formalism yields a smaller cumulative error in the trace of the projected density matrix as a function of time and a smaller discontinuity of local observables between quenches than in our previous approach. Moreover, by increasing the switch-on time, the time between the first and last quench of the discretized pulse, the long-time limit of observables systematically converges to its expected value in the final state, i.e., the more adiabatic the switching, the more accurately is the long-time limit recovered. The present formalism can be straightforwardly extended to infinite switch-on times. We show that this yields highly accurate results for the long-time limit of both thermodynamic observables and spectral functions, and overcomes the significant errors within the single quench formalism [Anders et al., Phys. Rev. Lett. 95, 196801 (2005); Nghiem et al., Phys. Rev. Lett. 119, 156601 (2017)]. This improvement provides a first step towards an accurate description of nonequilibrium steady states of quantum impurity systems, e.g., within the scattering states NRG approach [Anders, Phys. Rev. Lett. 101, 066804 (2008)].