From f4e65404fa065ced4dddf854ca3c2654d4873fd9 Mon Sep 17 00:00:00 2001 From: Serwan Asaad Date: Thu, 19 Dec 2024 16:02:48 +0100 Subject: [PATCH] Fix: MWFEMAnalogOutputPort.upconverters type --- CHANGELOG.md | 1 + mkdocs.yml | 6 +++++- quam/components/channels.py | 4 ++++ quam/components/ports/analog_outputs.py | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c9b8f72..f3a09f9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Fixed - Fixed issues with parameters being references in a QuamRoot object +- Fixed `MWFEMAnalogOutputPort.upconverters` not having the correct type ## [0.3.8] diff --git a/mkdocs.yml b/mkdocs.yml index 55578565..cf91d556 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -52,12 +52,16 @@ nav: - "components/channels.md" - "components/pulses.md" - "components/octave.md" + - "components/qubits-and-qubit-pairs.md" - "components/custom-components.md" - "QuAM Features": - "features/index.md" - "features/quam-references.md" - migrating-to-quam.md - + - "Gate Operations": + - "gate-operations/index.md" + - "gate-operations/macros.md" + - "gate-operations/operations.md" - "API References": - "API_references/index.md" - "QuAM Components": diff --git a/quam/components/channels.py b/quam/components/channels.py index 68a38643..540023d9 100644 --- a/quam/components/channels.py +++ b/quam/components/channels.py @@ -60,6 +60,7 @@ "Channel", "DigitalOutputChannel", "StickyChannelAddon", + "TimeTaggingAddon", "SingleChannel", "InSingleChannel", "IQChannel", @@ -68,6 +69,9 @@ "InOutIQChannel", "InSingleOutIQChannel", "InIQOutSingleChannel", + "MWChannel", + "InMWChannel", + "InOutMWChannel", ] diff --git a/quam/components/ports/analog_outputs.py b/quam/components/ports/analog_outputs.py index 194a4fd9..f1c74958 100644 --- a/quam/components/ports/analog_outputs.py +++ b/quam/components/ports/analog_outputs.py @@ -73,7 +73,7 @@ class MWFEMAnalogOutputPort(FEMPort): band: int upconverter_frequency: Optional[float] = None - upconverters: Optional[Dict[int, float]] = None + upconverters: Optional[Dict[int, Dict[str, float]]] = None delay: int = 0 shareable: bool = False sampling_rate: float = 1e9 # Either 1e9 or 2e9