From ad5cf6339ec17fe59421c3cf39336d77423c7134 Mon Sep 17 00:00:00 2001 From: Stavros Efthymiou <35475381+stavros11@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:45:44 +0400 Subject: [PATCH] fix: change Bounds.waveforms type to float --- src/qibolab/_core/dummy/parameters.json | 2 +- src/qibolab/_core/unrolling.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibolab/_core/dummy/parameters.json b/src/qibolab/_core/dummy/parameters.json index f45eca98a..85e28d3ba 100644 --- a/src/qibolab/_core/dummy/parameters.json +++ b/src/qibolab/_core/dummy/parameters.json @@ -159,7 +159,7 @@ [ "0/drive", { - "duration": 40.0, + "duration": 22.3453, "amplitude": 0.1, "envelope": { "kind": "gaussian", diff --git a/src/qibolab/_core/unrolling.py b/src/qibolab/_core/unrolling.py index f7ccf4eba..4585a3644 100644 --- a/src/qibolab/_core/unrolling.py +++ b/src/qibolab/_core/unrolling.py @@ -45,7 +45,7 @@ class Bounds(Config): kind: Literal["bounds"] = "bounds" - waveforms: Annotated[int, {"count": _waveform}] + waveforms: Annotated[float, {"count": _waveform}] """Waveforms estimated size.""" readout: Annotated[int, {"count": _readout}] """Number of readouts."""