Merge "Modify MIPs and Quantum to speed of simulation."