Skip to main content

QML Observer

CI PyPI Python versions License: MPL-2.0

An open-source observability and diagnostic framework for variational quantum machine learning (QML) training. QML Observer watches training runs in real time, detects pathologies such as probable barren plateaus, stagnation, and noise-dominated optimization, and can log, warn, pause, or stop training before expensive quantum computation is wasted.

Status: v0.7.0 — public beta. Core schemas, monitoring engine, detectors, diagnosis engine, actions (including a real PauseAction), both the PennyLane and Qiskit adapters, JSONL logging, run summaries, compute-saved estimation, the CLI, the calibration benchmark suite, webhook alerting (including a Slack-compatible formatter, alert deduplication/cooldowns, evidence redaction, and a webhook-URL SSRF safeguard), an optional read-only dashboard (qml-observer[dashboard]: live loss/gradient charts, a diagnosis panel, compute-usage panel, run history, and data export), opt-in research-grade diagnostics (qml_observer.advanced: QFIM estimation/conditioning, parameter-redundancy detection, Hessian-vector products, loss-landscape sampling, and qubit/depth gradient-variance scaling analysis — see docs/research/geometry.md), an opt-in recovery engine (qml_observer.recovery: ranked recovery strategies — reinitialization, learning-rate/shot-budget adjustment, ansatz-depth reduction, optimizer switching, natural gradient — plus recovery evaluation and monitor resume after a pause; see docs/architecture/recovery.md), and broader ecosystem support (PyTorch/JAX hybrid-workflow adapters, a generic autograd adapter, MLflow/W&B experiment-tracker integrations, a third-party detector plugin API, and local run comparison/experiment management — see docs/development/plugin_api.md and docs/architecture/run_history.md) are all shipped (Milestones 0–14). See CHANGELOG.md for the full release notes and docs/roadmap.md for what's next. The 0.x API is not yet stable and may change without a major-version bump, per SemVer's 0.x convention.

Architecture

QML Observer pipeline: training loop through an adapter into QMLMonitor, statistics, detectors, diagnosis engine, and action policy, which logs, warns, or stops training

Training events flow one-way through the pipeline above; nothing here ever owns or drives the quantum computation itself (plan.md §2). See docs/architecture/overview.md for the full, module-by-module breakdown, including the diagnosis engine's weighted-evidence scoring and the opt-in telemetry layer.

Metadata

Release files for qml-observer 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qml-observer 0.7.0
File Size Uploaded Provenance Actions
qml_observer-0.7.0.tar.gz 952.7 kB With provenance Details for qml_observer-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qml-observer 0.7.0
File Interpreter ABI Platform Actions
qml_observer-0.7.0-py3-none-any.whl Python 3 none any Details for qml_observer-0.7.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / qml_observer-0.7.0.tar.gz

Download URL qml_observer-0.7.0.tar.gz
Size 952.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2b0289c8c95225e557fd0b1c5b60c99dbc2acb7fc8ae7d47e868e70f87f86ff8
BLAKE2b-256 checksum
How to use checksums
9157eaba8cb6acf943637e9fb800a125ff6f91eaf9f827779908e2c2f32b0537
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

Release files / qml_observer-0.7.0-py3-none-any.whl

Download URL qml_observer-0.7.0-py3-none-any.whl
Size 231.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad386b74d93e6e502f867d3618d590c5dc2019c2509b78663fdeb7dfceb16d0f
BLAKE2b-256 checksum
How to use checksums
445e5c5384fc541a55e4c05485acc24b8bf65952a54bed31707fa8734957d9f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

Security for qml-observer 0.7.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qml_observer-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page