Skip to main content

Homological Observability

A Python toolkit for studying which accumulated cycle histories can be recovered from discrete observations of a known finite-state Markov jump network. Given a network and optional integer counters, it computes hidden cycle directions and their asymptotic sampling requirements. With transition rates, it also constructs the critical-limit experiment.

The toolkit provides exact integer-lattice calculations, a command-line interface, a Python API, and reproducible finite-cycle examples.

Installation

Use Python 3.11–3.13. In an activated virtual environment, run:

python -m pip install homological-observability
homological-observability example wedge-c3-c5

The example joins a triangle and a five-cycle at one state and compares the cycle information retained by a weighted counter. Models and reference data are included in the installed package; no source checkout is needed.

Python API

import homological_observability as ho

model = ho.load_example("wedge-c3-c5")
result = ho.analyze_model(model)
print(ho.render_text(result))

Use ho.load_model("triangle.json") to read your own model and ho.analysis_to_dict(result) to obtain a structured result. The model guide describes inputs and resource limits.

Reproduce the reference calculations

homological-observability reproduce --check --output-dir generated_results

This command compares fresh calculations with the packaged reference data and writes a report and figure to generated_results. For a source checkout with pinned dependencies and the reader-side test suite, follow the reproduction guide.

Scope and documentation

The graph must be finite, connected, undirected, and simple. Critical experiments require known positive transition rates in both directions on each edge. Lattice operations and finite catalogues are exact when the calculation completes; sampling requirements and phase labels describe long-time asymptotic limits. They do not supply a finite-run error guarantee.

Companion paper and citation

The software accompanies Stochastic Histories at Finite Temporal Resolution: Homological Observability and Information Phase Diagrams in Markov Jump Processes.

Companion paper: The manuscript is not yet publicly available. An arXiv link will be added when the preprint is posted.

Cite the paper for theoretical results and the software for computations, including the software version. Citation metadata is available in CITATION.cff.

Authors: HongZheng Liu, YiNuo Tian, Zhiyue Wu, and Jianqun Cheng.

The software is distributed under the MIT License. The manuscript has its own copyright and licensing status.

Metadata

Release files for homological-observability 1.1.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 homological-observability 1.1.0
File Size Uploaded
homological_observability-1.1.0.tar.gz 292.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homological-observability 1.1.0
File Interpreter ABI Platform
homological_observability-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 369.0 kB

Release files / homological_observability-1.1.0.tar.gz

Download URL homological_observability-1.1.0.tar.gz
Size 292.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c2f8f8e8b6f96460c954d86be87d38392dd0aa56779238c379cb75f2625e0f8b
BLAKE2b-256 checksum
How to use checksums
1a6158a81672ba9c6da327158e2bf316677a845014c0fb22488282a3e78de211
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 Oct 13, 2026.

Transparency log

Release files / homological_observability-1.1.0-py3-none-any.whl

Download URL homological_observability-1.1.0-py3-none-any.whl
Size 76.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a3b767dd8ece39fc74d34786a353bc4d8119df4ee3c33ec9ce466e481c5b34d
BLAKE2b-256 checksum
How to use checksums
47e3531177805d4ec02a0f7b40378b709f071c63beb5ebaceb098d7fc9a84ffc
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 Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

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