Variational Quantum Simulation of General Processes.