From b964a2f899dde454a098d45a3f4866cb888ea55d Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Thu, 29 Aug 2024 10:47:49 +0200 Subject: [PATCH] docs: Enforce keyword arguments in the sweeper constructor --- 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 a72e208a1..993b13031 100644 --- a/src/qibolab/sweeper.py +++ b/src/qibolab/sweeper.py @@ -50,7 +50,7 @@ class Sweeper(Model): sequence = natives.MZ.create_sequence() parameter_range = np.random.randint(10, size=10) sweeper = Sweeper( - parameter=Parameter.frequency, parameter_range, channels=[qubit.probe.name] + parameter=Parameter.frequency, values=parameter_range, channels=[qubit.probe.name] ) platform.execute([sequence], ExecutionParameters(), [[sweeper]])