responsefun: Fun with Response Functions in the Algebraic Diagrammatic Construction Framework.
Antonia PapapostolouMaximilian ScheurerAndreas DreuwDirk R RehnPublished in: Journal of chemical theory and computation (2023)
We present the open-source responsefun package, which implements a universally applicable procedure for computing molecular response properties within the algebraic diagrammatic construction (ADC) framework, exploiting the intermediate state representation (ISR) approach. With symbolic mathematics, the user can simply enter textbook sum-over-states (SOS) expressions from time-dependent perturbation theory, which are then automatically translated into the corresponding symbolic ADC/ISR formulations. Using the data structures provided by the hybrid Python/C++ module adcc for calculating excited states with ADC, the specified response property is directly evaluated, and the result is returned to the user. Employing the novel responsefun package, we present the first ADC/ISR calculations of second-order hyperpolarizability tensors and three-photon-absorption matrix elements.