Metadata-Version: 2.1
Name: hugr
Version: 0.3.0
Summary: Quantinuum's common representation for quantum programs
Home-page: https://github.com/CQCL/hugr
License: Apache-2.0
Author: TKET development team
Author-email: tket-support@cambridgequantum.com
Maintainer: TKET development team
Maintainer-email: tket-support@cambridgequantum.com
Requires-Python: >=3.10
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Requires-Dist: pydantic (>=2.7.0,<2.8.0)
Project-URL: Repository, https://github.com/CQCL/hugr
Description-Content-Type: text/markdown

hugr
===============

[![build_status][]](https://github.com/CQCL/hugr/actions)
[![codecov][]](https://codecov.io/gh/CQCL/hugr)

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](https://cqcl.github.io/hugr/).

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](https://github.com/CQCL/hugr/blob/main/specification/hugr.md).

  [`guppylang`]: https://pypi.org/project/guppylang/
  [`tket2`]: https://github.com/CQCL/tket2


## Installation

The package name is `hugr`. It can be installed from PyPI:
```bash
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).

  [build_status]: https://github.com/CQCL/hugr/actions/workflows/ci-py.yml/badge.svg?branch=main
  [codecov]: https://img.shields.io/codecov/c/gh/CQCL/hugr?logo=codecov
  [LICENSE]: https://github.com/CQCL/hugr/blob/main/LICENCE
  [CHANGELOG]: https://github.com/CQCL/hugr/blob/main/hugr-py/CHANGELOG.md

