diff --git a/src/qibolab/_core/native.py b/src/qibolab/_core/native.py index fbc37f32d..400e58384 100644 --- a/src/qibolab/_core/native.py +++ b/src/qibolab/_core/native.py @@ -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):