Skip to content

Commit

Permalink
fix: Propagate the attribute set removal to one more instance
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Mar 14, 2024
1 parent ab23eef commit 0433177
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/qibo/gates/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,8 +1197,7 @@ def __init__(self, q0, q1, theta, trainable=True):

@property
def clifford(self):
self._clifford = is_clifford_given_angle(self.parameters[0])
return self._clifford
return is_clifford_given_angle(self.parameters[0])

def _dagger(self) -> "Gate":
""""""
Expand Down

0 comments on commit 0433177

Please sign in to comment.