Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qibosoq #1175

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
extras = [
(lib.strings.concatStrings
(lib.strings.intersperse " -E "
["qblox" "qm" "zh" "rfsoc" "los" "emulator"]))
["qblox" "qm" "zh" "qibosoq" "los" "emulator"]))
];
};
};
Expand Down
11 changes: 3 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ qcodes_contrib_drivers = { version = "0.18.0", optional = true }
pyvisa-py = { version = "0.5.3", optional = true }
qm-qua = { version = "==1.2.1", optional = true }
laboneq = { version = "==2.25.0", optional = true }
qibosoq = { version = ">=0.1.2,<0.2", python = "<3.12", optional = true }
qibosoq = { version = ">=0.1.2,<0.2", optional = true }
qutip = { version = "^5.0.2", optional = true }
pyyaml = { version = "^6.0.2", optional = true }
pyserial = { version = "^3.5", optional = true }
Expand Down Expand Up @@ -83,7 +83,7 @@ ruff = "^0.9.1"
qblox = ["qblox-instruments", "qcodes", "qcodes_contrib_drivers", "pyvisa-py"]
qm = ["qm-qua"]
zh = ["laboneq"]
rfsoc = ["qibosoq"]
qibosoq = ["qibosoq"]
los = ["qcodes", "qcodes_contrib_drivers", "pyvisa-py"]
twpa = ["qcodes", "qcodes_contrib_drivers", "pyvisa-py"]
emulator = ["qutip"]
Expand Down
8 changes: 5 additions & 3 deletions src/qibolab/_core/instruments/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ class Controller(Instrument):

@property
@abstractmethod
def sampling_rate(self) -> int:
"""Sampling rate of control electronics in giga samples per second
(GSps)."""
def sampling_rate(self) -> float:
"""Sampling rate of control electronics.

Expressed in giga samples per second (GSps).
"""

@abstractmethod
def play(
Expand Down
1 change: 1 addition & 0 deletions src/qibolab/_core/instruments/qibosoq/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""QICK module driver for qibosoq."""
Loading