Quantum Theory and Simulation