Skip to content

Commit d135072

Browse files
chores: sentence improvement
1 parent f192996 commit d135072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpqp/core/instruction/measurement/pauli_string.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def __eq__(self, other: object) -> bool:
139139
return self.to_dict() == other.to_dict()
140140

141141
def simplify(self, inplace: bool = False) -> PauliString:
142-
"""Simplifies the PauliString by combining like terms and removing terms
143-
with zero coefficients.
142+
"""Simplifies the PauliString by combining identical terms and removing
143+
terms with null coefficients.
144144
145145
Args:
146146
inplace: Indicates if ``simplify`` should update self.

0 commit comments

Comments
 (0)