Skip to main content

Quantinuum's common representation for quantum programs

Project description

hugr

build_status codecov

The Hierarchical Unified Graph Representation (HUGR, pronounced hugger) is the common representation of quantum circuits and operations in the Quantinuum ecosystem.

This library provides a pure-python implementation of the HUGR data model, and a low-level API for constructing HUGR objects.

The API documentation for this package is here.

This library is intended to be used as a dependency for other high-level tools. See guppylang and tket2 for examples of such tools.

The HUGR specification is here.

Installation

The package name is hugr. It can be installed from PyPI:

pip install hugr

The current releases are in alpha stage, and the API is subject to change.

Usage

TODO

Recent Changes

TODO

Development

TODO

License

This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

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

hugr-0.4.0.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

hugr-0.4.0-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file hugr-0.4.0.tar.gz.

File metadata

  • Download URL: hugr-0.4.0.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure

File hashes

Hashes for hugr-0.4.0.tar.gz
Algorithm Hash digest
SHA256 060693b1bc04a19c433eef262ff9574d909091851e73a4fc442887ee818257b1
MD5 929334c50d3016884a5b0c76dcd18228
BLAKE2b-256 f6d70851db0776fd7ad41c84bb3d97726c599fa068123dadda20a38405def9cd

See more details on using hashes here.

File details

Details for the file hugr-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: hugr-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure

File hashes

Hashes for hugr-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 284f9a8eba8e638b3c2b0ed54b0cddfa84c527cdcb10bdc468cc70f9cd6c3f4d
MD5 954565b7d4980485e184f9e704aa20e4
BLAKE2b-256 7334830fce4de239c5e08b664b69d54c0d23e9fada6fd1c7c1abb5dda2587ebf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page