Skip to content

v0.2.0

Latest

Choose a tag to compare

@lmondada lmondada released this 03 Sep 07:39
· 26 commits to main since this release

[0.2.0] - 2024-09-03

Added

  • Expose InvalidRewriteError, PortDiff::as_ptr
  • Viewer support for experimental StaticSizeCircuits diffs from tket2.
  • New BoundaryPort type. Boundaries can now be either sites or sentinel nodes, thus supporting rewrites to empty graphs.

Changed

  • Graph::link_sites no longer returns the newly created edge.
  • PortDiff::boundary_site now returns Option<BoundaryPort>. Use PortDiff::boundary_port to get a BoundaryPort instead.

Fixed

  • PortDiff::opposite_ports was returning duplicate ports.
  • Rewrite failed for boundaries outside of region area.
  • PortDiff::are_compatible checks compatibility of all diffs in the graph view.