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.1.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.1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metsuperq-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 694efb118bd18690bfa20b2cc132afe8a8c83a5054a1edd0d3a7a6c421603f8b
MD5 7dbae11acfd5e9d6e22631e3bb552816
BLAKE2b-256 4dbce708f926e24ac54e010bd8b1efe08f66c23d67ac30a2c084ba44066a5e8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metsuperq-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7519bfe528c73394d9d1ad8b5cf56f2d6c3c399d4094f094b04fa18675dc55b5
MD5 7f9982fa67f54d961a03c2d31432b215
BLAKE2b-256 a478ae2192d03fb25535e44b163a4db146872e535c1f6ebf87f24f6b32ec2d56

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