simplify_pauli_sum

pyquil.paulis.simplify_pauli_sum(pauli_sum)[source]

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

Return type:PauliSum