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.3.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

hugr-0.3.0-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hugr-0.3.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for hugr-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1e1555b42b06a64221bd169dcf66b63cbb705211adca3f429683e70de5baaa01
MD5 80d573c1d250872dd763ddb2f4a16395
BLAKE2b-256 775cac5ac79d8820481c66426e1e959a60134b3caf6c1933624cdc439356b463

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for hugr-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 302b5c037c70faffbf4fdc00b2aef8be69afbf9f5f5f19039c4f4148f3493425
MD5 f3d70d1cabef0ed4908ed49f98169e4d
BLAKE2b-256 b613b349cadabd3898502ef0542d80bfad15c8b8d7154a834e8f22eabe136328

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