PauliSum.simplify

PauliSum.simplify()[source]

Simplifies the sum of Pauli operators according to Pauli algebra rules.