Skip to content

Commit

Permalink
feat: Add qblox channels, to expose attenuation
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Dec 2, 2024
1 parent 4a14942 commit 4e57392
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/qibolab/_core/instruments/qblox/channels.py
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

0 comments on commit 4e57392

Please sign in to comment.