Quantum sensor can detect electromagnetic signals of any frequency