From e540da7031cb8d3863ec16a2ba9c5a4d52ea4593 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Mon, 2 Feb 2026 11:18:28 -0600 Subject: [PATCH] chore: release --- Cargo.lock | 4 ++-- badger-optimiser/Cargo.toml | 2 +- qis-compiler/Cargo.toml | 4 ++-- tket-py/Cargo.toml | 4 ++-- tket-qsystem/CHANGELOG.md | 21 +++++++++++++++++++++ tket-qsystem/Cargo.toml | 4 ++-- tket/CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ tket/Cargo.toml | 2 +- tket1-passes/Cargo.toml | 2 +- 9 files changed, 65 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8b8719816..36e7e3d4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2664,7 +2664,7 @@ dependencies = [ [[package]] name = "tket" -version = "0.16.0" +version = "0.17.0" dependencies = [ "anyhow", "bytemuck", @@ -2743,7 +2743,7 @@ dependencies = [ [[package]] name = "tket-qsystem" -version = "0.22.0" +version = "0.23.0" dependencies = [ "anyhow", "clap", diff --git a/badger-optimiser/Cargo.toml b/badger-optimiser/Cargo.toml index 42493bbea..98afa26ab 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.22.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.23.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 91d1f09de..fe98dc0a4 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.16.0" } -tket-qsystem = { path = "../tket-qsystem", version = "0.22.0", features = [ +tket = { path = "../tket", version = "0.17.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.23.0", features = [ "llvm", ] } diff --git a/tket-py/Cargo.toml b/tket-py/Cargo.toml index ed6303d6d..e93b87d03 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.16.0", features = [ +tket = { path = "../tket", version = "0.17.0", features = [ "portmatching", "binary-eccs", ] } -tket-qsystem = { path = "../tket-qsystem", version = "0.22.0" } +tket-qsystem = { path = "../tket-qsystem", version = "0.23.0" } tket1-passes = { path = "../tket1-passes", version = "0.0.0" } derive_more = { workspace = true, features = ["into", "from"] } diff --git a/tket-qsystem/CHANGELOG.md b/tket-qsystem/CHANGELOG.md index 7161c89d9..e8abf1340 100644 --- a/tket-qsystem/CHANGELOG.md +++ b/tket-qsystem/CHANGELOG.md @@ -1,6 +1,27 @@ # Changelog +## [0.23.0](https://github.com/Quantinuum/tket2/compare/tket-qsystem-v0.22.0...tket-qsystem-v0.23.0) - 2026-02-02 + +### Bug Fixes + +- [**breaking**] Don't rely on command params for pytket barriers ([#1298](https://github.com/Quantinuum/tket2/pull/1298)) +- Wrongly reused qubit IDs in pytket encoding ([#1358](https://github.com/Quantinuum/tket2/pull/1358)) + +### New Features + +- `NormalizeGuppy` pass to simplify generated structure ([#1220](https://github.com/Quantinuum/tket2/pull/1220)) +- Allow running arbitrary serializable pytket passes on hugrs ([#1266](https://github.com/Quantinuum/tket2/pull/1266)) +- BorrowSquashPass to elide redundant borrow/return ops ([#1159](https://github.com/Quantinuum/tket2/pull/1159)) +- [**breaking**] Bump hugr to 0.25.0 ([#1325](https://github.com/Quantinuum/tket2/pull/1325)) +- Remove order edges in NormalizeGuppy pass ([#1326](https://github.com/Quantinuum/tket2/pull/1326)) +- hide new public funcs introduced by linearization ([#1333](https://github.com/Quantinuum/tket2/pull/1333)) + +### Testing + +- regenerate guppy_opt examples, and count gates ([#1249](https://github.com/Quantinuum/tket2/pull/1249)) +- run pytket on guppy_opt tests, measure (very limited) success ([#1250](https://github.com/Quantinuum/tket2/pull/1250)) + ## [0.22.0](https://github.com/quantinuum/tket2/compare/tket-qsystem-v0.21.0...tket-qsystem-v0.22.0) - 2025-10-20 ### New Features diff --git a/tket-qsystem/Cargo.toml b/tket-qsystem/Cargo.toml index d3044a06f..0b610cf1b 100644 --- a/tket-qsystem/Cargo.toml +++ b/tket-qsystem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket-qsystem" -version = "0.22.0" +version = "0.23.0" edition.workspace = true rust-version.workspace = true @@ -25,7 +25,7 @@ required-features = ["cli"] [dependencies] hugr.workspace = true hugr-core.workspace = true -tket = { path = "../tket", version = "0.16.0" } +tket = { path = "../tket", version = "0.17.0" } tket-json-rs = { workspace = true } lazy_static.workspace = true serde = { workspace = true, features = ["derive"] } diff --git a/tket/CHANGELOG.md b/tket/CHANGELOG.md index 09b086962..6f197acf8 100644 --- a/tket/CHANGELOG.md +++ b/tket/CHANGELOG.md @@ -1,6 +1,39 @@ # Changelog +## [0.17.0](https://github.com/Quantinuum/tket2/compare/tket-v0.16.0...tket-v0.17.0) - 2026-02-02 + +### Bug Fixes + +- *(encoded-circ)* Track unsupported wires between input and output ([#1224](https://github.com/Quantinuum/tket2/pull/1224)) +- Multiple fixes to the pytket encoder ([#1226](https://github.com/Quantinuum/tket2/pull/1226)) +- Don't use opgroup in pytket barrier encoding ([#1251](https://github.com/Quantinuum/tket2/pull/1251)) +- guppy_to_circuit always returns num_operations = 0 ([#1200](https://github.com/Quantinuum/tket2/pull/1200)) +- *(pytket-decoder)* Avoid QAllocating and immediately freeing qubits ([#1256](https://github.com/Quantinuum/tket2/pull/1256)) +- Encoding of opaque subgraphs with no associated qubit/bit ([#1295](https://github.com/Quantinuum/tket2/pull/1295)) +- [**breaking**] Don't rely on command params for pytket barriers ([#1298](https://github.com/Quantinuum/tket2/pull/1298)) +- Track output qubits in CircuitInfo ([#1304](https://github.com/Quantinuum/tket2/pull/1304)) +- Wrongly reused qubit IDs in pytket encoding ([#1358](https://github.com/Quantinuum/tket2/pull/1358)) + +### New Features + +- Deprecate local find_tuple_unpack rewrite ([#1188](https://github.com/Quantinuum/tket2/pull/1188)) +- Add CopyableExpressionAST ([#1209](https://github.com/Quantinuum/tket2/pull/1209)) +- `NormalizeGuppy` pass to simplify generated structure ([#1220](https://github.com/Quantinuum/tket2/pull/1220)) +- [**breaking**] pytket EncodedCircuit struct for in-place pytket optimisation ([#1211](https://github.com/Quantinuum/tket2/pull/1211)) +- [**breaking**] Interval is independent of resource IDs and scope position ([#1205](https://github.com/Quantinuum/tket2/pull/1205)) +- Don't translate usizes to pytket ([#1241](https://github.com/Quantinuum/tket2/pull/1241)) +- BorrowSquashPass to elide redundant borrow/return ops ([#1159](https://github.com/Quantinuum/tket2/pull/1159)) +- [**breaking**] Bump hugr to 0.25.0 ([#1325](https://github.com/Quantinuum/tket2/pull/1325)) +- Remove order edges in NormalizeGuppy pass ([#1326](https://github.com/Quantinuum/tket2/pull/1326)) +- [**breaking**] Remove deprecated unpack tuple pass ([#1387](https://github.com/Quantinuum/tket2/pull/1387)) + +### Refactor + +- Remove contain_qubits, use TypeUnpacker ([#1283](https://github.com/Quantinuum/tket2/pull/1283)) +- [**breaking**] Replace Subcircuit with SiblingSubgraph ([#1288](https://github.com/Quantinuum/tket2/pull/1288)) +- *(metadata)* [**breaking**] Migrate all metadata keys onto the new metadata traits ([#1328](https://github.com/Quantinuum/tket2/pull/1328)) + ## [0.16.0](https://github.com/quantinuum/tket2/compare/tket-v0.15.0...tket-v0.16.0) - 2025-10-20 ### Bug Fixes diff --git a/tket/Cargo.toml b/tket/Cargo.toml index 49d5bf5ee..bdfee55b6 100644 --- a/tket/Cargo.toml +++ b/tket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket" -version = "0.16.0" +version = "0.17.0" edition = { workspace = true } rust-version = { workspace = true } diff --git a/tket1-passes/Cargo.toml b/tket1-passes/Cargo.toml index 638d7e5b2..ac8c0621f 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.16.0" } +tket = { path = "../tket", version = "0.17.0" } [lints] workspace = true