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.3.0.tar.gz (71.2 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.3.0-py3-none-any.whl (83.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metsuperq-0.3.0.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3.0.tar.gz
Algorithm Hash digest
SHA256 65aed8ebefa63baa68f21d2f2d2a5e784539df1582f87b6efd5c9b09c683a4be
MD5 33b49d01d40ae7e083da0bfe7ba0bcc4
BLAKE2b-256 d183b39de616a890c0f6d40045b8ab8ded6188880b6ee328fb88bc3bd8aff832

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metsuperq-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 83.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 813ca5e76c190db1c71a80b6c45723201ac0bdf5730b2f52c44dd4e9bfabf2ac
MD5 6ca451274a289a2076ac03057bcd963c
BLAKE2b-256 fb49860a6f3bf317df8d3db10e32136315f904bda2d6336799daaf80263d60b2

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