From d13f89555b3c7646215fd4119d6d33c4e974e4a4 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Thu, 2 Apr 2026 07:22:27 -0500 Subject: [PATCH 1/2] chore: release --- Cargo.lock | 4 ++-- badger-optimiser/Cargo.toml | 2 +- qis-compiler/Cargo.toml | 4 ++-- tket-py/Cargo.toml | 4 ++-- tket-qec/Cargo.toml | 2 +- tket-qsystem/CHANGELOG.md | 17 +++++++++++++++++ tket-qsystem/Cargo.toml | 4 ++-- tket/CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ tket/Cargo.toml | 2 +- tket1-passes/Cargo.toml | 2 +- 10 files changed, 62 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c96b843d9..927e3c03e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2803,7 +2803,7 @@ dependencies = [ [[package]] name = "tket" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "ascent", @@ -2898,7 +2898,7 @@ dependencies = [ [[package]] name = "tket-qsystem" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "clap", diff --git a/badger-optimiser/Cargo.toml b/badger-optimiser/Cargo.toml index 98afa26ab..d6eecb70f 100644 --- a/badger-optimiser/Cargo.toml +++ b/badger-optimiser/Cargo.toml @@ -16,7 +16,7 @@ tket = { path = "../tket", features = [ "rewrite-tracing", "binary-eccs", ] } -tket-qsystem = { path = "../tket-qsystem", version = "0.23.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.24.0" } tracing = { workspace = true } tracing-subscriber = { workspace = true } tracing-appender = { workspace = true } diff --git a/qis-compiler/Cargo.toml b/qis-compiler/Cargo.toml index 5ec8017f5..699ad52c8 100644 --- a/qis-compiler/Cargo.toml +++ b/qis-compiler/Cargo.toml @@ -20,8 +20,8 @@ serde_json.workspace = true tracing.workspace = true itertools.workspace = true strum.workspace = true -tket = { path = "../tket", version = "0.17.0" } -tket-qsystem = { path = "../tket-qsystem", version = "0.23.0", features = [ +tket = { path = "../tket", version = "0.18.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.24.0", features = [ "llvm", ] } diff --git a/tket-py/Cargo.toml b/tket-py/Cargo.toml index 832701822..149874e03 100644 --- a/tket-py/Cargo.toml +++ b/tket-py/Cargo.toml @@ -20,11 +20,11 @@ test = false bench = false [dependencies] -tket = { path = "../tket", version = "0.17.0", features = [ +tket = { path = "../tket", version = "0.18.0", features = [ "portmatching", "binary-eccs", ] } -tket-qsystem = { path = "../tket-qsystem", version = "0.23.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.24.0" } tket1-passes = { path = "../tket1-passes", version = "0.0.0" } derive_more = { workspace = true, features = ["into", "from"] } diff --git a/tket-qec/Cargo.toml b/tket-qec/Cargo.toml index 4e2901611..f7b7619bf 100644 --- a/tket-qec/Cargo.toml +++ b/tket-qec/Cargo.toml @@ -20,4 +20,4 @@ workspace = true hugr.workspace = true semver = "1.0.27" strum = { workspace = true, features = ["derive"] } -tket-qsystem = { version = "0.23.0", path = "../tket-qsystem" } +tket-qsystem = { version = "0.24.0", path = "../tket-qsystem" } diff --git a/tket-qsystem/CHANGELOG.md b/tket-qsystem/CHANGELOG.md index e8abf1340..cf11e135e 100644 --- a/tket-qsystem/CHANGELOG.md +++ b/tket-qsystem/CHANGELOG.md @@ -1,6 +1,23 @@ # Changelog +## [0.24.0](https://github.com/Quantinuum/tket2/compare/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](https://github.com/Quantinuum/tket2/pull/1466)) +- Constant Folding with PassScope::Global should act globally, not just beneath the entrypoint ([#1470](https://github.com/Quantinuum/tket2/pull/1470)) + +### New Features + +- [**breaking**] Use raw Hugrs in pytket encoding/decoding API ([#1418](https://github.com/Quantinuum/tket2/pull/1418)) +- Add qsystem.rz pytket decoder ([#1432](https://github.com/Quantinuum/tket2/pull/1432)) +- [**breaking**] Update MSRV to rust 1.91 ([#1446](https://github.com/Quantinuum/tket2/pull/1446)) +- [**breaking**] Update to hugr 0.26.0 ([#1448](https://github.com/Quantinuum/tket2/pull/1448)) +- [**breaking**] Follow pass scopes in composable passes ([#1429](https://github.com/Quantinuum/tket2/pull/1429)) +- [**breaking**] Reorganize `tket::passes` and add `hugr_passes` re-exports ([#1472](https://github.com/Quantinuum/tket2/pull/1472)) +- Move hugr-passes implementations to tket::passes ([#1487](https://github.com/Quantinuum/tket2/pull/1487)) + ## [0.23.0](https://github.com/Quantinuum/tket2/compare/tket-qsystem-v0.22.0...tket-qsystem-v0.23.0) - 2026-02-02 ### Bug Fixes diff --git a/tket-qsystem/Cargo.toml b/tket-qsystem/Cargo.toml index 0eb164ef2..ceb2f6a48 100644 --- a/tket-qsystem/Cargo.toml +++ b/tket-qsystem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket-qsystem" -version = "0.23.0" +version = "0.24.0" edition.workspace = true rust-version.workspace = true @@ -23,7 +23,7 @@ name = "tket-qsystem" required-features = ["cli"] [dependencies] -tket = { path = "../tket", version = "0.17.0" } +tket = { path = "../tket", version = "0.18.0" } tket1-passes = { path = "../tket1-passes" } hugr.workspace = true diff --git a/tket/CHANGELOG.md b/tket/CHANGELOG.md index 6f197acf8..8e2e97e33 100644 --- a/tket/CHANGELOG.md +++ b/tket/CHANGELOG.md @@ -1,6 +1,39 @@ # Changelog +## [0.18.0](https://github.com/Quantinuum/tket2/compare/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](https://github.com/Quantinuum/tket2/pull/1445)) +- pytket encoder drops order edges to the output node ([#1466](https://github.com/Quantinuum/tket2/pull/1466)) + +### Documentation + +- Fix tket README introductory example ([#1463](https://github.com/Quantinuum/tket2/pull/1463)) + +### New Features + +- [**breaking**] Use raw Hugrs in pytket encoding/decoding API ([#1418](https://github.com/Quantinuum/tket2/pull/1418)) +- [**breaking**] Remove unused `lower_to_pytket` pass ([#1431](https://github.com/Quantinuum/tket2/pull/1431)) +- [**breaking**] Replace CircuitHash with hugr's implementation ([#1420](https://github.com/Quantinuum/tket2/pull/1420)) +- [**breaking**] Update MSRV to rust 1.91 ([#1446](https://github.com/Quantinuum/tket2/pull/1446)) +- [**breaking**] Update to hugr 0.26.0 ([#1448](https://github.com/Quantinuum/tket2/pull/1448)) +- [**breaking**] Follow pass scopes in composable passes ([#1429](https://github.com/Quantinuum/tket2/pull/1429)) +- Implemented `post_opdef` for `RotationOp` for constant folding ([#1468](https://github.com/Quantinuum/tket2/pull/1468)) +- [**breaking**] Reorganize `tket::passes` and add `hugr_passes` re-exports ([#1472](https://github.com/Quantinuum/tket2/pull/1472)) +- [**breaking**] Bump `hugr` dependency to 0.27.0 ([#1488](https://github.com/Quantinuum/tket2/pull/1488)) +- Move hugr-passes implementations to tket::passes ([#1487](https://github.com/Quantinuum/tket2/pull/1487)) +- Pass scopes in python API, update to hugr-py 0.16 ([#1464](https://github.com/Quantinuum/tket2/pull/1464)) + +### Refactor + +- *(llvm)* use llvm.is.fpclass for from_halfturns ([#1457](https://github.com/Quantinuum/tket2/pull/1457)) + +### Testing + +- Fixed signatures when decoding pytket circuits ([#1405](https://github.com/Quantinuum/tket2/pull/1405)) + ## [0.17.0](https://github.com/Quantinuum/tket2/compare/tket-v0.16.0...tket-v0.17.0) - 2026-02-02 ### Bug Fixes diff --git a/tket/Cargo.toml b/tket/Cargo.toml index c9629c049..350740203 100644 --- a/tket/Cargo.toml +++ b/tket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket" -version = "0.17.0" +version = "0.18.0" edition = { workspace = true } rust-version = { workspace = true } diff --git a/tket1-passes/Cargo.toml b/tket1-passes/Cargo.toml index ac8c0621f..285cc344f 100644 --- a/tket1-passes/Cargo.toml +++ b/tket1-passes/Cargo.toml @@ -31,7 +31,7 @@ rayon.workspace = true # Used for integration tests hugr = { workspace = true } -tket = { path = "../tket", version = "0.17.0" } +tket = { path = "../tket", version = "0.18.0" } [lints] workspace = true From 92f57e1eb0625a83eeb67a847aaa367ac4013f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= Date: Thu, 2 Apr 2026 13:23:41 +0100 Subject: [PATCH 2/2] release blurb --- tket/CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tket/CHANGELOG.md b/tket/CHANGELOG.md index 8e2e97e33..397c56b4a 100644 --- a/tket/CHANGELOG.md +++ b/tket/CHANGELOG.md @@ -3,6 +3,9 @@ ## [0.18.0](https://github.com/Quantinuum/tket2/compare/tket-v0.17.0...tket-v0.18.0) - 2026-04-02 +This release bumps `hugr` to 0.27.0 and reworks the pytket encoding/decoding API to use raw `Hugr`s. +The `tket::passes` module now contains the passes previously available in `hugr_passes`. + ### Bug Fixes - *(pytket decoder)* Panic on repeated bit registers in pytket decoded output ([#1445](https://github.com/Quantinuum/tket2/pull/1445)) @@ -20,7 +23,7 @@ - [**breaking**] Update MSRV to rust 1.91 ([#1446](https://github.com/Quantinuum/tket2/pull/1446)) - [**breaking**] Update to hugr 0.26.0 ([#1448](https://github.com/Quantinuum/tket2/pull/1448)) - [**breaking**] Follow pass scopes in composable passes ([#1429](https://github.com/Quantinuum/tket2/pull/1429)) -- Implemented `post_opdef` for `RotationOp` for constant folding ([#1468](https://github.com/Quantinuum/tket2/pull/1468)) +- Implemented `post_opdef` for `RotationOp` for constant folding ([#1468](https://github.com/Quantinuum/tket2/pull/1468)) - [**breaking**] Reorganize `tket::passes` and add `hugr_passes` re-exports ([#1472](https://github.com/Quantinuum/tket2/pull/1472)) - [**breaking**] Bump `hugr` dependency to 0.27.0 ([#1488](https://github.com/Quantinuum/tket2/pull/1488)) - Move hugr-passes implementations to tket::passes ([#1487](https://github.com/Quantinuum/tket2/pull/1487))