1. A method for simulating quantum computation on a classical computer, the method comprising: simulating a quantum state vector on a classical computer; simulating a quantum operator on the classical computer; determining ordering characteristics of the state vector and the operator; then, if the ordering characteristics of the state vector and the operator do not match, permuting either the operator or the state vector, and simulating application of the operator on the state vector after either the operator or the state vector is permuted to form a new state vector; and storing the new state vector on the classical computer.