Skip to main content

Standardized analysis package for the MetSuperQ project: extract qubit coherence metrics (quantities of interest) from measurements across various project partners and store them in InfluxDB for cross-comparison.

Project description

MetSuperQ

PyPI Python CI Docs License: BSD-3-Clause

Standardized analysis package for the MetSuperQ project — extract qubit coherence metrics (quantities of interest) from measurements across various project partners and store them in InfluxDB for cross-comparison.

Install

Requires Python 3.13 or later.

pip install metsuperq

Usage

from metsuperq import analyze_measurement

result = analyze_measurement(
    file_path="/path/to/raw_measurement.hdf5",
    experiment_id="experiment_1",
    device_name="device_1",
    qubit_name="Q1",
    save_outputs=True,
)

Configuration

Create a config.toml in the project root with your InfluxDB connection details:

[influxdb]
url = "your-influxdb-url"
org = "your-org-name"
bucket = "your-bucket-name"
token = "your-token-here"

Development

git clone https://code.orangeqs.com/opensource/metsuperq.git
cd metsuperq
uv sync
uv run pytest

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md.

License

BSD 3-Clause — see LICENSE.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metsuperq-0.2.2.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metsuperq-0.2.2-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file metsuperq-0.2.2.tar.gz.

File metadata

  • Download URL: metsuperq-0.2.2.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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}

File hashes

Hashes for metsuperq-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c67e0b0c547f24fca3bddd786002fc5cadd55a57cbb1087b7a9379561e1e9cc4
MD5 ffb27acff27d75ffe765d8778f533cac
BLAKE2b-256 749e2f90360ebe21e5c3698838b1f922b21c17ea792edaf4849c9a155e6fd3bb

See more details on using hashes here.

File details

Details for the file metsuperq-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: metsuperq-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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}

File hashes

Hashes for metsuperq-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c864f29051e5dafbd89a8bced90fd3cee06e0025c143f6e4fe137f80426aa955
MD5 011f151529386359647eb74dc6b4c411
BLAKE2b-256 e94a8eb0d7946c868f4bdebedaf3802c686f5244d5e2d9af901ebaaa6938b289

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page