Skip to content

Commit

Permalink
Update src/qibolab/_core/native.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Candido <[email protected]>
  • Loading branch information
ElStabilini and alecandido authored Nov 26, 2024
1 parent 6a55047 commit 2078fd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/qibolab/_core/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ def R(self, theta: float = np.pi, phi: float = 0.0) -> PulseSequence:
"""
if self.RX90 != None:
return rotation(self.RX, 2 * theta, phi)
else:
assert self.RX is not None
return rotation(self.RX, theta, phi)
assert self.RX is not None
return rotation(self.RX, theta, phi)


class TwoQubitNatives(NativeContainer):
Expand Down

0 comments on commit 2078fd9

Please sign in to comment.