Local Server for Running Quantum Calibrations
QUAlibrate-Runner is a subpackage of QUAlibrate that acts as a local server for executing calibration tasks. It allows the QUAlibrate-App to remotely initiate calibration nodes or graphs on quantum processing units (QPUs), decoupling the web interface from the execution environment for flexibility and scalability. The server must be started from a location with access to quantum control hardware to properly execute calibration tasks.
The server must be launched in a Python environment that includes the required packages such as QUAM and qm-qua, which are essential for interacting with quantum hardware and executing calibration routines effectively.
The recommended way to install QUAlibrate-Runner is through the main QUAlibrate package:
pip install qualibrateAlternatively, QUAlibrate-Runner can be installed separately:
pip install qualibrate-runnerMake sure you are in a Python environment that has all the necessary packages installed, including quam and qm-qua. Ensure that the server is started from a location with access to the quantum control hardware so that it can execute the requested calibration tasks effectively.
By default, QUAlibrate-Runner is started automatically together with QUAlibrate-App when you run:
qualibrate startAlternatively, you can run the QUAlibrate-Runner server separately:
qualibrate-runner startIn this case, ensure that the correct address and port are specified in the configuration file. For more details, refer to the configuration documentation.
To run the test suite:
poetry run pytestFor verbose output:
poetry run pytest -vQUAlibrate-Runner is licensed under the BSD-3 license. See the LICENSE file for more details.