Identification of time-varying signals in quantum systems