QCoDeS compatible driver for the OPX+ from Quantum Machines Arbok is taylored for routines using the Quantum Machines OPX(+) quantum control hardware.
To install the arbok python module locally follow the steps below
git clone https://github.com/andncl/arbok_driver.git
We create an empty conda environment to avoid interference with other python packages and to manage package dependencies for measurements. Remember to fix the python version as shown below when creating the environment, since some of the modules are not yet compatible with the latest 3.12.
conda create --name <your_env_name> python=3.11
conda activate <your_env_name>
conda install pip
pip install -e .
**Do not forget the dot after '-e' **. Arbok should now install all its requirements automatically. If you need additional packages, install them in your new environment called <your_env_name>
Install the git hook so that your notebooks are stripped before committing.
.\tools\git.hooks\setupMicrosoft.ps1
./tools/git.hooks/setupLinux.sh
I recommend running measurements from jupyter lab, which is automatically installed when executing 3). To pick the environment you just created within the jupyter lab application, add it to the ipython kernel.
python -m ipykernel install --user --name <your_env_name>
Data inslection and live plotting can be done with the plottr-inpectr
module. To launch it open a terminal and activate your conda environment...
conda activate <your-env-name>
... and launch plottr
plottr-inspectr --dbpath <path-to-your-database>
The data inspector is now running independently of all measurement while beiong connected to the selected database. Select auto-update intervals to have new measurements displayed in real time
Jupyter notebooks are a very convenient way of cinducting measurements. Code cells can be run one after another data analysis can be done concurrently to measurements. Keeping measurements in notbooks also guaratees a clear separation between the underlying code base and the configuration files of devices and sequences.
Again activate your conda environment and launch jupyterlab
For example to run the first tutorial:
jupyter lab docs/1_parameterizing_sequences.ipynb
If all running applications have been closed for example when the hosting PC is being restarted, a previously run arbok session can be easily restarted in a few steps.
Activate your conda install environment that you created initally. If you are unsure what the name of your environment is type conda env list
. After that launch jupyter lab as shown below. To simplyfy navigation, launch jupyter in the directory where your notebooks are saved.
conda activate <your-env-name>
jupyter lab
Exactly as described above!
- validators in custom parameter classes for times (4ns -> 1 qm-cycle)
- change the way to create sweeps!
- sset list of dicts -> list entry per axis, dict entry per param
- sweeps should be properties with setters for save measurement management
- TESTS!
- issue: stubbing OPX/ errors raised by instrument