Simulation of Nonequilibrium Dynamics on a Quantum Computer.