qiskit.aqua.operators.primitive_ops.PauliOp.commutes¶ PauliOp.commutes(other_op)[source]¶ Returns whether self commutes with other_op. Parameters other_op (OperatorBase) – An OperatorBase with which to evaluate whether self commutes. Return type bool Returns A bool equaling whether self commutes with other_op