hugr-passes

Crates.iohugr-passes
lib.rshugr-passes
version0.13.3
sourcesrc
created_at2024-05-29 13:33:46.656432
updated_at2024-11-06 13:58:44.336195
descriptionCompiler passes for Quantinuum's HUGR
homepagehttps://github.com/CQCL/hugr
repositoryhttps://github.com/CQCL/hugr
max_upload_size
id1255484
size156,465
Alec Edgington (cqc-alec)

documentation

https://docs.rs/hugr-passes/

README

hugr-passes

build_status crates msrv codecov

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.

This crate provides compilation passes that act on HUGR programs.

Usage

Add the dependency to your project:

cargo add hugr-passes

Please read the API documentation here.

Experimental Features

  • 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.

Recent Changes

See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.

Development

See DEVELOPMENT.md for instructions on setting up the development environment.

License

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

Commit count: 1004

cargo fmt