Here, Ĥg and Ĥe denote nuclear Hamiltonians on the ground-and excited state potential energy surface (PES) respectively, |e⟩ and |g⟩ are pure electronic states, and ν e and ν g are nuclear wavefunctions. Under this form, the linear response function can be expressed as a trace over nuclear degrees of freedom in the condensed-phase system 52