Quantum simulations of the early universe