# qiskit.aqua.operators.legacy.TPBGroupedWeightedPauliOperator.simplify¶

TPBGroupedWeightedPauliOperator.simplify(copy=False)

Merge the paulis whose bases are identical and the pauli with zero coefficient would be removed.

참고

This behavior of this method is slightly changed, it will remove the paulis whose weights are zero.

매개변수

copy (bool) – simplify on a copy or self

반환값

the simplified operator

반환 형식

WeightedPauliOperator