Skip to content

Commit

Permalink
Merge pull request #94 from qua-platform/fix/mw_fem_analog_output_por…
Browse files Browse the repository at this point in the history
…t-upconverters

Fix: MWFEMAnalogOutputPort.upconverters type
  • Loading branch information
nulinspiratie authored Dec 19, 2024
2 parents 963a2ad + f4e6540 commit 1b19646
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 4 additions & 0 deletions quam/components/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"Channel",
"DigitalOutputChannel",
"StickyChannelAddon",
"TimeTaggingAddon",
"SingleChannel",
"InSingleChannel",
"IQChannel",
Expand All @@ -68,6 +69,9 @@
"InOutIQChannel",
"InSingleOutIQChannel",
"InIQOutSingleChannel",
"MWChannel",
"InMWChannel",
"InOutMWChannel",
]


Expand Down
2 changes: 1 addition & 1 deletion quam/components/ports/analog_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b19646

Please sign in to comment.