QCoDeS compatible driver for the OPX+ from Quantum Machines
Project description
arbok-driver 🐍⚡️
A dynamically generated QCoDeS instrument for your FPGA based measurements using the Quantum Machines OPX+/OPX1000.
Installation 📲
From pypi install using pip in your environment:
pip install arbok-inspector
Even better if you are using uv, a uv.lock file is included!
Features 🛠️
-
Abstraction: In contrast to traditional static QCoDeS instruments with a fixed set of parameters determined at driver design time, arbok is dynamically generated for the FPGA program itself each time a measurement is run. FPGA progam parameters such as wait times, voltages, and frequencies etc. are automatically exposed through the QCoDeS instrument, without the user needing to interact with or even see the underlying FPGA code.
-
Modularity: Measurements are generated from logical blocks of instructions called
SubSequenceandReadSequencewhose order can be arranged freely. Those sequences can be nested arbitrarily deep to reach the desired complexity without repeating yourself (imagine a nested dict). -
Scalability: Arbok strictly separates the qualitative design of FPGA instructions in
SubSequenceandReadSequenceand their quantitative configuration (through python dicts), ensuring reproducibility. Sequences are written in a fully parameterized way, giving user access to every aspect of the measurement. This approach allows us to grow our quantum chips without re-writing any FPGA sequences by just scaling the configuration we are using, while still exposing every single sub-parameter of the device. -
Compatibility: At the end of the day, the arbok-driver is still a QCoDeS instrument, giving you all the features you know from running measurements on regular hardware. It slots right into your existing stack and allows you to sweep hardware parameters as well as FPGA instructions.
-
Auto-tuning: All parameters can be defined as undetermined variables and updated by the user in real time without needing to re-compile the FPGA program for each set of parameters. This is particularly interesting for adaptive calibrations, machine learning or qubit benchmarking.
-
Asynchronicity: Support for asynchronously running sequences like qubit state heralding or live qubit feedback (e.g Larmor, Rabi)
Tutorials 🎓
Running measurements from existing sub-modules and readouts is very easy and is covered in the first 2 tutorials.
Tutorial 3 covers the manual writing of an experiment to easily run a certain type of measurement over and over again.
Manual writing of a ReadoutSequence and an AbstractReadout will be the subject of tutorial 5.
Finally we cover the GenericTuningInterface to implement a simple auto-tuning routine.
Stripping jupyter notebooks 📒
We all love running measurements and analysis scripts from notebooks but keeping them up to date with version control can be a pain. Differeing outputs, timestamps and massive binary data can make your diffs massive. We include git hooks that automatically clear the outputs of your notebook once you commit it. The arbok_driver is configured declaratively so dont worry you will reach the same state again once you re-run your notebook.
Install the git hook so that your notebooks are stripped before committing.
Microsoft :
.\tools\git.hooks\setupMicrosoft.ps1
Linux :
./tools/git.hooks/setupLinux.sh
Project details
Release history Release notifications | RSS feed
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 arbok_driver-2.4.4.tar.gz.
File metadata
- Download URL: arbok_driver-2.4.4.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5a102ad603c688ce1ba57308ec701c43bc2d8924f3c5ea774eac7c0b0e19b5b
|
|
| MD5 |
10aa59ebb58c3a37782c3942cbf3db40
|
|
| BLAKE2b-256 |
f23e869da9012d63a645ea60dfbbe6e2b2c689942ee973664fe13a26289fa0b4
|
File details
Details for the file arbok_driver-2.4.4-py3-none-any.whl.
File metadata
- Download URL: arbok_driver-2.4.4-py3-none-any.whl
- Upload date:
- Size: 91.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89603318a794858a1352119963bd923a749da9c042f89ebbbed4984c7254bf7a
|
|
| MD5 |
366a73ceb85240ee7aa6baf2bfb7c3f6
|
|
| BLAKE2b-256 |
f1d5457814c41fd786f62530fcd8702b1877b0195a62ec7e39a61ed07b0da5f4
|