-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add qblox channels, to expose attenuation
- Loading branch information
1 parent
4a14942
commit 4e57392
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from typing import Literal | ||
|
||
from qibolab._core.components import IqConfig | ||
|
||
__all__ = ["QbloxConfigs", "QbloxIq"] | ||
|
||
|
||
class QbloxIq(IqConfig): | ||
"""Microwave output channel config using Qblox.""" | ||
|
||
kind: Literal["qblox-iq"] = "qblox-iq" | ||
|
||
attenuation: float = 0.0 | ||
"""Output attenuation in dB. | ||
For the specific case of ``out0``, cf. | ||
- https://docs.qblox.com/en/main/api_reference/module.html#QCM_RF.out0_att | ||
""" | ||
|
||
|
||
QbloxConfigs = QbloxIq |