A C++11 program for simulating a quantum computer.