diff --git a/src/qibolab/sweeper.py b/src/qibolab/sweeper.py index 37c1a48de..3b4a849b8 100644 --- a/src/qibolab/sweeper.py +++ b/src/qibolab/sweeper.py @@ -101,7 +101,7 @@ def check_values(self): object.__setattr__(self, "values", np.arange(*self.range)) if self.parameter is Parameter.amplitude and max(abs(self.values)) > 1: - raise ValueError("Amplitude sweeper cannot have values larger than 1.") + raise ValueError("Amplitude sweeper cannot have absolute values larger than 1.") return self