Skip to content

Commit 77042f6

Browse files
undoing unnecessary change
1 parent 5776aff commit 77042f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiskit/circuit/controlledgate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def __eq__(self, other) -> bool:
262262
and self.base_gate == other.base_gate
263263
and self.num_qubits == other.num_qubits
264264
and self.num_clbits == other.num_clbits
265-
# and self.definition == other.definition
265+
and self.definition == other.definition
266266
)
267267

268268
def inverse(self, annotated: bool = False) -> "ControlledGate" | "AnnotatedOperation":

0 commit comments

Comments
 (0)