Quantum out-of-equilibrium cosmology