Reduce connected elements in pauli strings
Created by: jwnys
The order at which X and Y operators are detected in pauli strings should not matter to determine the independent connected elements. Making the list of spin sites where spin flips occur independent of this order can reduce the number of wave function evaluations in cases with large number of pauli strings (but typically not really case in most common hamiltonians).