Quantum response to time-dependent external fields