Pauli-string commutation parity
ID: pauli-string-commutation-parity
For tensor products of Pauli factors from , let count the sites where both factors are nonidentity and different. Distinct nonidentity Pauli matrices anticommute, and equal or identity factors commute. Reversing the product site by site therefore gives . Thus two Pauli strings commute exactly when is even. The criterion applies to the perfect-correlation observables in the GHZ theorem.
New to topics? Read the docs here!