Skip to content

Releases: CQCL/hugr

hugr: v0.2.1

15 Apr 11:06
Compare
Choose a tag to compare

This is the last release for the crate quantinuum-hugr.

The library has been renamed to hugr, please update your dependency.

hugr: v0.3.0

15 Apr 10:51
e71489a
Compare
Choose a tag to compare

This release includes a long list of breaking changes to the API.

  • The crate was renamed from quantinuum_hugr to hugr.
  • The API has been simplified, flattening structures and reworking unnecessarily
    fallible operations where possible.
  • Includes version 1 of the hugr serialization schema. Older pre-v1 serialized
    hugrs are no longer supported. Starting with v1, backward compatibility for
    loading older versions will be maintained.

hugr-py: v0.1.0

15 Apr 15:59
477fa95
Compare
Choose a tag to compare

0.1.0 (2024-04-15)

⚠ BREAKING CHANGES

  • Flatten LeafOp (#922)
  • EdgeKind::{Static -> Const}, add new EdgeKind::Function, Type contains only monomorphic functions, remove TypeApply.
  • py: Rename package to hugr (#913)

Features

Release 0.2.0

20 Feb 16:37
4985850
Compare
Choose a tag to compare

Documentation

  • Fix crates.io badge in README (#809)
  • Use absolute links in the README (#811)
  • Remove input->const order edges from spec diagrams (#812)
  • Remove incorrect indentation in spec (#813)
  • Tweaks to main example (#825)
  • Add example to CFGBuilder (#826)

Features

  • Add InlineDFG rewrite (#828)
  • [breaking] Impls of CustomConst must be able to report their type (#827)
  • Minimal implementation for YAML extensions (#833)

Release v0.1.0

15 Jan 16:37
9e71c89
Compare
Choose a tag to compare

This is the initial release of the Hierarchical Unified Graph Representation.
See the representation specification available at hugr.md.

This release includes an up-to-date implementation of the spec, including the core definitions (control flow, data flow and module structures) as well as the Prelude extension with support for basic classical operations and types.

HUGRs can be loaded and stored using the versioned serialization format, or they can be constructed programmatically using the builder utility.
The modules hugr::hugr::view and hugr::hugr::rewrite provide an API for querying and mutating the HUGR.
For more complex operations, some algorithms are provided in hugr::algorithms.

https://crates.io/crates/quantinuum-hugr/0.1.0