Quantum non-Markovian dynamics