Skip to content

Conversation

@hugrbot
Copy link
Collaborator

@hugrbot hugrbot commented Nov 5, 2025

πŸ€– New release

  • hugr-model: 0.24.2 -> 0.24.3
  • hugr-core: 0.24.2 -> 0.24.3
  • hugr-llvm: 0.24.2 -> 0.24.3 (βœ“ API compatible changes)
  • hugr-passes: 0.24.2 -> 0.24.3 (βœ“ API compatible changes)
  • hugr: 0.24.2 -> 0.24.3 (βœ“ API compatible changes)
  • hugr-cli: 0.24.2 -> 0.24.3
  • hugr-persistent: 0.3.3 -> 0.3.4
Changelog

hugr-model

0.24.1 - 2025-11-03

Bug Fixes

  • Correct conversion of table::Term::Tuple to ast::Term (#2653)

hugr-core

0.24.1 - 2025-11-03

Bug Fixes

  • validation outside entrypoint, normalize_cfgs w/ nonlocal edges (#2633)
  • SiblingSubgraph::try_from_nodes for non-entrypoint region (#2655)
  • Correct conversion of table::Term::Tuple to ast::Term (#2653)

New Features

  • track package descriptions when loading (#2639)
  • (cli) describe sub-command (#2650)

hugr-llvm

0.24.3 - 2025-11-05

Bug Fixes

  • BorrowArray discard handler allows elements to be borrowed (#2666)

hugr-passes

0.24.3 - 2025-11-05

Bug Fixes

  • BorrowArray discard handler allows elements to be borrowed (#2666)

hugr

0.24.3 - 2025-11-05

Bug Fixes

  • BorrowArray discard handler allows elements to be borrowed (#2666)

hugr-cli

0.24.1 - 2025-11-03

New Features

  • track package descriptions when loading (#2639)
  • (cli) describe sub-command (#2650)

hugr-persistent

0.3.2 - 2025-11-03

New Features

  • (persistent) More efficient HugrView iterators for PersistentHugr (#2595)


This PR was generated with release-plz.

@hugrbot hugrbot added the release Release PR label Nov 5, 2025
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 83.46%. Comparing base (7287845) to head (12cae1d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2667   +/-   ##
=======================================
  Coverage   83.46%   83.46%           
=======================================
  Files         262      262           
  Lines       51297    51297           
  Branches    46858    46858           
=======================================
  Hits        42813    42813           
  Misses       6105     6105           
  Partials     2379     2379           
Flag Coverage Ξ”
python 91.46% <ΓΈ> (ΓΈ)
rust 82.70% <ΓΈ> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aborgna-q aborgna-q marked this pull request as ready for review November 6, 2025 10:00
@aborgna-q aborgna-q added this pull request to the merge queue Nov 6, 2025
@hugrbot hugrbot closed this Nov 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a manual request Nov 6, 2025
@cqc-alec
Copy link
Collaborator

cqc-alec commented Nov 6, 2025

?

github-merge-queue bot pushed a commit to CQCL/tket2 that referenced this pull request Nov 6, 2025
This PR is a compilation of fixes to the pytket encoder/decoder. With
these implemented, the example from
CQCL/hugr#2667 should work correctly.

The fixes include (one per commit):

- Marking wires that carry no value as unsupported, since they cannot be
attached to a pytket operation. (They will instead be included in an
opaque subgraph / barrier op).
- Don't use `SiblingSubgraph` to define the unsupported subgraphs. That
structure is quite opinionated and brittle;
  - it doesn't support non-value edges in the boundaries
- it has a complex definition for mapping between boundary ports and
actual node ports (unnecessary in this case)
- requires running an expensive convexity checker on each instantiation,
even when we know the set of nodes is valid
  - and other annoyances
- Mark any node with order edges as unsupported (so we don't lose those
the edges the pytket roundtrip)
- Fix issue with bits not appearing in the input/output missing from the
pytket circuit's list
- Add an initial hardcoded translator between native booleans and tket
booleans, with a TODO to make the system extensible.
- Avoid `QAlloc`ing qubits that don't get consumed afterwards.
- Ensure we give loaded output parameters the correct type.
- Don't try to encode wires with complex types that include parameters
like `[float]` / `[float, rotation]`.
- Store input parameters to `extra_subgraph` (that cannot be encoded in
the pytket circuit)

The main result is a bunch of tests now passing in `tests.rs`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants