QCDrivers 🔧
This repository collects and shares QCoDeS drivers that are not available through qcodes or the contrib drivers repository. It may also contain proprietary drivers written by lab members, including drivers developed in collaboration with partner companies.
Installation
QCDrivers requires Python 3.13 and can be installed with either uv or pip:
uv add qcdrivers
pip install qcdrivers
Layout
The drivers are grouped by manufacturer. Hardware-triggered (buffered) sweep
nodes can be found under buffered/, where they follow the same grouping.
src/qcdrivers
├── basel/ amplifiers, dacs
├── bluefors/ fridges
├── entropy/ adr, heater
├── harvard/ dacs
├── keysight/ dmms, vna
├── qdevil/ qdac2
├── rwth/ mux
├── squad/ curry, helpers, mux
├── stanford/ vccs
└── buffered/ basel, keysight, qdevil, squad, zurich
Please follow this structure when adding a new driver, using the existing drivers
as a reference. Each package re-exports its public classes and declares __all__
to keep imports short and convenient.
Usage
from qcdrivers.basel.dacs import BaselDac2
from qcdrivers.keysight.dmms import Keysight34461A
from qcdrivers.buffered import NodeQDAC2, NodeKeysightDMM
The drivers can be imported directly from their category package, as shown above. There is no need to import them from their individual module files.
The complete list of parameters for an instrument can be displayed through QCoDeS:
dac = BaselDac2("dac", address="...")
print(dac.parameters)
Buffered nodes
A buffered node wraps a QCoDeS instrument and provides the interface used by a
QCUtils buffered sweep: register_sweep, register_dependent, run_sweep,
fetch, abort, and toplevel.
Development
To set up a local development environment, clone the repository and install the
development dependencies with uv:
git clone https://gitlab.com/squad-lab/qcdrivers
cd qcdrivers
uv sync --extra dev
uv run pre-commit install
| Task | Command |
|---|---|
| Run the tests | uv run pytest |
| Lint (+ import sorting) | uv run ruff check . |
| Format | uv run ruff format . |
Contributing
To contribute to the repository, please follow the directory structure above and open a merge request. Drivers should be well documented and, where possible, tested without hardware before submission. Please see the contributing guide for the complete development and submission process. Everyone is welcome to report bugs or request features by opening an issue.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qcdrivers-0.1.0.tar.gz.
File metadata
- Download URL: qcdrivers-0.1.0.tar.gz
- Upload date:
- Size: 575.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d5eee8242fd89e9cd2315195f60193872dee2c78d5413e313751a2447655094
|
|
| MD5 |
3e6ca6930538900b6ccf6275523227fb
|
|
| BLAKE2b-256 |
fa24f05e65d40c263274de2bb4a519ec1895b533031d1baf007205343d8ad3e3
|
File details
Details for the file qcdrivers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qcdrivers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 141.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f32f764d24a416a1f2b0f5d087a9c109ce147742c2c563ca0072d7dae230b031
|
|
| MD5 |
987d676bd3a51dce346826b04250aabe
|
|
| BLAKE2b-256 |
752a6d88fd8b8119ffca1207424c84e0c97aa136915137d3b2eadff376547832
|