-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c279d1
commit 3a29ffa
Showing
5 changed files
with
34 additions
and
8 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
from . import qcs | ||
from . import components, qcs | ||
from .components import * | ||
from .qcs import * | ||
|
||
__all__ = [] | ||
__all__ += qcs.__all__ | ||
__all__ += components.__all__ |
5 changes: 5 additions & 0 deletions
5
src/qibolab/_core/instruments/keysight/components/__init__.py
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,5 @@ | ||
from . import configs | ||
from .configs import * | ||
|
||
__all__ = [] | ||
__all__ += configs.__all__ |
16 changes: 16 additions & 0 deletions
16
src/qibolab/_core/instruments/keysight/components/configs.py
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,16 @@ | ||
from typing import Annotated, Literal, Optional | ||
|
||
from pydantic import Field | ||
|
||
from qibolab._core.components import AcquisitionConfig | ||
from qibolab._core.serialize import NdArray | ||
|
||
__all__ = ["QcsAcquisitionConfig"] | ||
|
||
|
||
class QcsAcquisitionConfig(AcquisitionConfig): | ||
"""Acquisition config for Keysight QCS.""" | ||
|
||
kind: Literal["qcs-acquisition"] = "qcs-acquisition" | ||
|
||
state_iq_values: Annotated[Optional[NdArray], Field(repr=False)] = None |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""Driver for Keysight Quantum Control System (QCS).""" | ||
|
||
from qibolab._core.instruments.keysight import qcs | ||
from qibolab._core.instruments.keysight.qcs import * # noqa: F403 | ||
from qibolab._core.instruments import keysight | ||
from qibolab._core.instruments.keysight import * # noqa: F403 | ||
|
||
__all__ = [] | ||
__all__ += qcs.__all__ | ||
__all__ += keysight.__all__ |