Crates.io | quantinuum-hugr |
lib.rs | quantinuum-hugr |
version | 0.2.1 |
source | src |
created_at | 2024-01-15 16:33:45.20079 |
updated_at | 2024-04-15 11:04:03.336097 |
description | ⚠ This crate has been renamed to `hugr` ⚠ |
homepage | |
repository | https://github.com/CQCL/hugr |
max_upload_size | |
id | 1100481 |
size | 1,131,186 |
hugr
⚠Please use the new package instead.
The Hierarchical Unified Graph Representation (HUGR, pronounced hugger) is the common representation of quantum circuits and operations in the Quantinuum ecosystem.
It provides a high-fidelity representation of operations, that facilitates compilation and encodes runnable programs.
The HUGR specification is here.
Add the dependency to your project:
cargo add hugr
The library crate is called hugr
.
Please read the API documentation here.
extension_inference
:
Experimental feature which allows automatic inference of extension usages and
requirements in a HUGR and validation that extensions are correctly specified.
Not enabled by default.See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.
See DEVELOPMENT.md for instructions on setting up the development environment.
This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).