Skip to main content

link-khovanov

Compute distinct integral Khovanov homologies across component orientations of a link.

Installation

pip install link-khovanov

Usage example

from link_khovanov import link_khovanov

hopf = [[2, 3, 1, 4], [4, 1, 3, 2]]
for value in link_khovanov(hopf):
    print(value)

Algorithm

The PD component graph is decomposed into oriented cycles. One global orientation is fixed because reversing every component simultaneously is redundant; the remaining 2^(n-1) orientation representatives are evaluated and duplicate homology strings are removed. Computation is delegated in batches to the Khovanov backend to avoid starting a new compiler or process for every orientation.

Input conventions

A PD code is represented as a list of four-entry crossings. Arc labels normally occur exactly twice. Public functions validate inputs and return new values rather than mutating caller-owned data unless their API explicitly says otherwise.

External software

  • A C++14 compiler is required by the Khovanov backend on first use.
  • No Java runtime is required.

Development

Run examples and package checks before release. Python packages require Python 3.10 or newer. Build PyPI artifacts with:

poetry check
poetry build

License

MIT. See LICENSE.

Download files

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

Source Distribution

link_khovanov-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

link_khovanov-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

Supported by

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