Conversation
aeb46d3 to
82495c1
Compare
|
Asking for a review before merging the LLVM update from #1422 into this branch. |
BREAKING CHANGE: The hugr-llvm LLVM version is being upgraded to 21.1, and code that depends on it here needs to be updated as well. This also includes an MSRV change to 1.91 to match hugr. See [the hugr PR](Quantinuum/hugr#2901) for details. Closes #1421 --------- Co-authored-by: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Co-authored-by: Agustín Borgna <agustin.borgna@quantinuum.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1448 +/- ##
==========================================
- Coverage 79.65% 79.53% -0.13%
==========================================
Files 155 155
Lines 20335 20245 -90
Branches 19345 19254 -91
==========================================
- Hits 16197 16101 -96
- Misses 3180 3191 +11
+ Partials 958 953 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This PR contains breaking changes to the public Rust API. cargo-semver-checks summary |
58e75da to
45b7d1e
Compare
45b7d1e to
e5766ff
Compare
|
I had to skip the I suspect it's due to the pass scope configuration in |
7c55c3c to
c42afe0
Compare
e4d4905 to
cb4d32c
Compare
cb4d32c to
2b29cdb
Compare
|
I disabled the linux ARM qis-compiler builds for now, while we wait for the custom LLVM builds on lower glibc. I think this should be ready to merge now. |
| manylinux-aarch64-image = "manylinux_2_28" | ||
|
|
||
| # TODO: This has been temporarily bumped to get the tests working after the | ||
| # update to LLVM 21. This needs to go back to 'manylinux_2_28' before release. |
There was a problem hiding this comment.
Should make an issue for this if there isn't one already.
| // and is the best way to do so. | ||
| // This was written when using LLVM14, so we used 3 `feq`s. | ||
| // | ||
| // TODO: We now use LLVM21. Update this accordingly. |
There was a problem hiding this comment.
Worth making a github issue for this?
## 🤖 New release * `tket`: 0.17.0 -> 0.18.0 (✓ API compatible changes) * `tket-qsystem`: 0.23.0 -> 0.24.0 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `tket` <blockquote> ## [0.18.0](tket-v0.17.0...tket-v0.18.0) - 2026-04-02 ### Bug Fixes - *(pytket decoder)* Panic on repeated bit registers in pytket decoded output ([#1445](#1445)) - pytket encoder drops order edges to the output node ([#1466](#1466)) ### Documentation - Fix tket README introductory example ([#1463](#1463)) ### New Features - [**breaking**] Use raw Hugrs in pytket encoding/decoding API ([#1418](#1418)) - [**breaking**] Remove unused `lower_to_pytket` pass ([#1431](#1431)) - [**breaking**] Replace CircuitHash with hugr's implementation ([#1420](#1420)) - [**breaking**] Update MSRV to rust 1.91 ([#1446](#1446)) - [**breaking**] Update to hugr 0.26.0 ([#1448](#1448)) - [**breaking**] Follow pass scopes in composable passes ([#1429](#1429)) - Implemented `post_opdef` for `RotationOp` for constant folding ([#1468](#1468)) - [**breaking**] Reorganize `tket::passes` and add `hugr_passes` re-exports ([#1472](#1472)) - [**breaking**] Bump `hugr` dependency to 0.27.0 ([#1488](#1488)) - Move hugr-passes implementations to tket::passes ([#1487](#1487)) - Pass scopes in python API, update to hugr-py 0.16 ([#1464](#1464)) ### Refactor - *(llvm)* use llvm.is.fpclass for from_halfturns ([#1457](#1457)) ### Testing - Fixed signatures when decoding pytket circuits ([#1405](#1405)) </blockquote> ## `tket-qsystem` <blockquote> ## [0.24.0](tket-qsystem-v0.23.0...tket-qsystem-v0.24.0) - 2026-04-02 ### Bug Fixes - pytket encoder drops order edges to the output node ([#1466](#1466)) - Constant Folding with PassScope::Global should act globally, not just beneath the entrypoint ([#1470](#1470)) ### New Features - [**breaking**] Use raw Hugrs in pytket encoding/decoding API ([#1418](#1418)) - Add qsystem.rz pytket decoder ([#1432](#1432)) - [**breaking**] Update MSRV to rust 1.91 ([#1446](#1446)) - [**breaking**] Update to hugr 0.26.0 ([#1448](#1448)) - [**breaking**] Follow pass scopes in composable passes ([#1429](#1429)) - [**breaking**] Reorganize `tket::passes` and add `hugr_passes` re-exports ([#1472](#1472)) - Move hugr-passes implementations to tket::passes ([#1487](#1487)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). --------- Co-authored-by: Agustín Borgna <agustin.borgna@quantinuum.com>
Updates the hugr dependencies to
0.26.0, and fixes all the breaking changes.I only added no-op stubs implementing
WithScopefor the local passes.We will add the actual implementation in #1429.
Requires updating LLVM too, so we should merge #1422 into this PR. We also need to delete the now removed
stack_arraylowering.BREAKING CHANGE: Updated public
hugrdependency to0.26.0.Requires a
hugr-passes 0.26.1patch release to include Quantinuum/hugr#2954Closes #1444