Quantum detection in time. Change Point and Sequential Analysis