Qanary
Qanary runs parameter sweeps, records them as xarray datasets, and publishes live results to Qimchi.
Installation
Qanary officially supports Python 3.14. Install the latest release from PyPI:
uv add "qanary[drivers]"
pip install "qanary[drivers]"
The drivers extra adds the instrument drivers used by the examples
(qcdrivers and QCoDeS contrib
drivers). Leave it out if you bring your own.
Migrating from QCUtils
Qanary is the renamed successor to QCUtils. Replace the qcutils dependency
with qanary, change imports from qcutils... to qanary..., and rename
QCUTILS_HOME to QANARY_HOME. The default application directory has likewise
changed from ~/.qcutils to ~/.qanary.
Preparing a measurement project
The examples below use uv to manage the project
environment and run commands.
Initializing a Measurement
Create a project for the measurement:
uv init measurement_name
cd measurement_name
Add Qanary to the project with:
uv add "qanary[drivers]"
Running Commands
Run modules inside the project environment with:
uv run -m package.method
Using pyproject.toml
You can also declare Qanary directly in pyproject.toml:
[project]
name = "example"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"qanary",
]
Then install the declared dependencies:
uv sync
Measurement
For complete measurement scripts, see the examples directory.
Live and disk formats
qanary uses a split data path:
- Live visualization: in-memory Zarr snapshots published through Qimchi-Connect, with a temporary disk checkpoint for recovery
- Completed measurement: a netCDF (
.nc) file in the configured data directory
Qimchi discovers a Qanary measurement automatically while it runs. After a successful final export, Qanary removes the temporary Zarr checkpoint and the netCDF file remains as the measurement record.
Development
To contribute, clone the repository:
git clone https://gitlab.com/squad-lab/qanary
Navigate into the cloned directory and install the package in development mode:
cd qanary
uv sync --extra dev
uv run pre-commit install
Citing Qanary
Please cite Qanary when using it in your work:
@misc{qanary,
author = {Anupam, Spandan and Schreibing, Simon and Shivottam, Jyotirmaya and Mourik, Vincent},
title = {Qanary: Sweep and measurement utilities for QCoDeS},
year = {2026},
note = {Version 0.13.2, software},
publisher = {Zenodo},
doi = {10.5281/zenodo.23536660},
url = {https://doi.org/10.5281/zenodo.23536660}
}
This DOI covers all archived releases. To cite a specific version, use its DOI from the Zenodo record. CITATION.cff has the same information in machine-readable form.
Authors
- Spandan Anupam: s.anupam@fz-juelich.de
- Simon Schreibing: s.schreibing@fz-juelich.de
- Jyotirmaya Shivottam: shivottam@proton.me
- Vincent Mourik: v.mourik@fz-juelich.de
License
Qanary is free software under the AGPL-3.0-or-later. Dependencies are installed separately under their own licenses.
Copyright © 2024–2026 Forschungszentrum Jülich GmbH, PGI-11.
Metadata
Release files for qanary 0.13.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qanary-0.13.2.tar.gz | 317.5 kB | Without provenance | Details for qanary-0.13.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qanary-0.13.2-py3-none-any.whl | Python 3 | none | any | Details for qanary-0.13.2-py3-none-any.whl |
Total release size: 363.9 kB
Release files / qanary-0.13.2.tar.gz
| Download URL | qanary-0.13.2.tar.gz |
|---|---|
| Size | 317.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66021042bbcd8bf3eedb4a7f3e527badb028f546dbf0002eb64f9ed3e42e5f04
|
|
BLAKE2b-256 checksum How to use checksums |
209e16ec568e80458aa0d48e58d959935e46bd070743897165a196394218c56b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.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}
|
Release files / qanary-0.13.2-py3-none-any.whl
| Download URL | qanary-0.13.2-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e35fe450bc7fb2bf3038a326d476857d0ac587923efe1ee390a64cd6d68ddb09
|
|
BLAKE2b-256 checksum How to use checksums |
b10e024cef6cc96ef9618672ec1143ef94d588e753ae4566d39619078a341a40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.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}
|
Security for qanary 0.13.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.