Qualibrate handler for IQCC cloud
A Python tool for uploading Qualibrate experiment data to IQCC cloud storage.
Features
- Loads and processes Qualibrate experiment data from local directories
- Converts PNG files to base64 format
- Uploads experiment data to cloud storage using IQCC Cloud
- Supports uploading node.json, state.json, wiring.json, data.json and PNG files
- Uploads raw-data files (
*.h5,*.npz) so plots can be recreated from the cloud - Downloads and stores calibration data from the cloud, restoring the node folder layout
Cloud datasets
Each node is pushed as a parent dataset (datatype = node name) with these children:
| datatype | content |
|---|---|
node_info |
node.json |
state |
quam_state/state.json |
wiring |
quam_state/wiring.json |
node_data |
data.json (fit results and references to the dataset files) |
figure |
one per *.png, base64 encoded |
exp_data |
a single dataset bundling all *.h5 / *.npz files |
The exp_data payload is
{"__type__": "exp_data/bundle", "files": [{"file_name", "size", "sha256", "data"}, ...]},
where data is the file zlib compressed then base64 encoded. The size and
sha256 of each original file are checked on download.
The total encoded size of the bundle is capped by max_raw_bytes (default
15 MiB). If it does not fit, the largest files are skipped with a warning and
listed under skipped_raw_files in the parent dataset. Raw-data upload can be
turned off with upload_raw_data=False.
Installation
pip install iqcc-qualibrate2cloud
Usage
from iqcc-qualibrate2cloud import QualibrateCloudHandler
# Initialize the handler with your experiment path
handler = QualibrateCloudHandler("/path/to/your/experiment")
# Upload the experiment data (including raw data) to the cloud
handler.upload_to_cloud("your_quantum_computer_backend")
# Upload without raw data, or with a different per-file size cap
handler.upload_to_cloud("your_quantum_computer_backend", upload_raw_data=False)
handler.upload_to_cloud(
"your_quantum_computer_backend", max_raw_bytes=5 * 1024**2
)
# Download calibration data from the cloud
QualibrateCloudHandler.store_from_cloud("your_quantum_computer_backend")
Development
Running Tests
uvx ruff run pytest
Code Formatting
uvx ruff format
Linting
uvx ruff check
Metadata
Release files for iqcc-qualibrate2cloud 0.1.3
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 |
|---|---|---|---|---|
| iqcc_qualibrate2cloud-0.1.3.tar.gz | 8.8 kB | Without provenance | Details for iqcc_qualibrate2cloud-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iqcc_qualibrate2cloud-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for iqcc_qualibrate2cloud-0.1.3-py3-none-any.whl |
Total release size: 16.7 kB
Release files / iqcc_qualibrate2cloud-0.1.3.tar.gz
| Download URL | iqcc_qualibrate2cloud-0.1.3.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8e3583730015b7083a8fcac7047ab7ec800bb881dc75fa02d6a6c7145096a81
|
|
BLAKE2b-256 checksum How to use checksums |
5dcb289b48a5dbfc629b01bd46a1a1e84c71ac332c6c94c1eeac0a87dc9a9e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / iqcc_qualibrate2cloud-0.1.3-py3-none-any.whl
| Download URL | iqcc_qualibrate2cloud-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
596638f46c4f40ae83aae535887fc31f731d35b652b29e38a6dc7b764ff85166
|
|
BLAKE2b-256 checksum How to use checksums |
b01e9d4b0a8d2eee9b4576c99e28a845f3fe3d97bb30997fa2f2821da7778009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for iqcc-qualibrate2cloud 0.1.3
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.