Skip to content

Commit

Permalink
fix: update clifford check function's name
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoRobbiati committed Mar 20, 2024
1 parent 88bebed commit 704cf98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibo/gates/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def __init__(self, q, theta, trainable=True):

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

def _dagger(self) -> "Gate":
""""""
Expand Down Expand Up @@ -1233,7 +1233,7 @@ def __init__(self, q0, q1, theta, trainable=True):

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

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

0 comments on commit 704cf98

Please sign in to comment.