From 447377924e72a3db73ffa6d64783cbf274402b38 Mon Sep 17 00:00:00 2001 From: Stavros Efthymiou <35475381+stavros11@users.noreply.github.com> Date: Fri, 30 Aug 2024 16:05:16 +0300 Subject: [PATCH] Update src/qibolab/sweeper.py Co-authored-by: Alessandro Candido --- src/qibolab/sweeper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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