From 18431aa45f1b788194fae0dcaebb988060142060 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Thu, 1 Aug 2024 10:56:46 +0100 Subject: [PATCH 1/5] chore: release --- Cargo.lock | 2 +- tket2-hseries/CHANGELOG.md | 16 ++++++++++++++++ tket2-hseries/Cargo.toml | 2 +- tket2-py/Cargo.toml | 2 +- tket2/CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ tket2/Cargo.toml | 2 +- 6 files changed, 55 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ea0e4e9..36f179a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1768,7 +1768,7 @@ dependencies = [ [[package]] name = "tket2" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" dependencies = [ "bytemuck", "cgmath", diff --git a/tket2-hseries/CHANGELOG.md b/tket2-hseries/CHANGELOG.md index e69de29b..edb2b83e 100644 --- a/tket2-hseries/CHANGELOG.md +++ b/tket2-hseries/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.0-alpha.1](https://github.com/CQCL/tket2/releases/tag/tket2-hseries-v0.1.0-alpha.1) - 2024-08-01 + +### New Features +- [**breaking**] init tket2-hseries ([#368](https://github.com/CQCL/tket2/pull/368)) +- *(tket2-hseries)* Add `tket2.futures` Hugr extension ([#471](https://github.com/CQCL/tket2/pull/471)) +- Add lazify-measure pass ([#482](https://github.com/CQCL/tket2/pull/482)) +- add results extensions ([#494](https://github.com/CQCL/tket2/pull/494)) +- *(tket2-hseries)* [**breaking**] Add `HSeriesPass` ([#487](https://github.com/CQCL/tket2/pull/487)) diff --git a/tket2-hseries/Cargo.toml b/tket2-hseries/Cargo.toml index 772ee84a..f76b6f42 100644 --- a/tket2-hseries/Cargo.toml +++ b/tket2-hseries/Cargo.toml @@ -15,7 +15,7 @@ categories = ["compilers"] [dependencies] hugr.workspace = true -tket2 = { path = "../tket2", version = "0.1.0-alpha.1" } +tket2 = { path = "../tket2", version = "0.1.0-alpha.3" } lazy_static.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true diff --git a/tket2-py/Cargo.toml b/tket2-py/Cargo.toml index 15e774e8..588250a9 100644 --- a/tket2-py/Cargo.toml +++ b/tket2-py/Cargo.toml @@ -19,7 +19,7 @@ test = false bench = false [dependencies] -tket2 = { path = "../tket2", version = "0.1.0-alpha.1", features = [ +tket2 = { path = "../tket2", version = "0.1.0-alpha.3", features = [ "portmatching", "binary-eccs", ] } diff --git a/tket2/CHANGELOG.md b/tket2/CHANGELOG.md index 8dffbcd2..4967f55d 100644 --- a/tket2/CHANGELOG.md +++ b/tket2/CHANGELOG.md @@ -6,6 +6,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.0-alpha.3](https://github.com/CQCL/tket2/compare/tket2-v0.1.0-alpha.2...tket2-v0.1.0-alpha.3) - 2024-08-01 + +### Bug Fixes +- Single source of truth for circuit names, and better circuit errors ([#390](https://github.com/CQCL/tket2/pull/390)) +- Support non-DFG circuits ([#391](https://github.com/CQCL/tket2/pull/391)) +- Portmatching not matching const edges ([#444](https://github.com/CQCL/tket2/pull/444)) +- Pattern matcher discriminating on opaqueOp description ([#441](https://github.com/CQCL/tket2/pull/441)) +- `extract_dfg` inserting the output node with an invalid child order ([#442](https://github.com/CQCL/tket2/pull/442)) +- Recompile ecc sets after [#441](https://github.com/CQCL/tket2/pull/441) ([#484](https://github.com/CQCL/tket2/pull/484)) + +### Documentation +- Update tket2-py readme ([#431](https://github.com/CQCL/tket2/pull/431)) +- Better error reporting in portmatching ([#437](https://github.com/CQCL/tket2/pull/437)) +- Improved multi-threading docs for Badger ([#495](https://github.com/CQCL/tket2/pull/495)) + +### New Features +- `Circuit::operations` ([#395](https://github.com/CQCL/tket2/pull/395)) +- tuple unpack rewrite ([#406](https://github.com/CQCL/tket2/pull/406)) +- guppy → pytket conversion ([#407](https://github.com/CQCL/tket2/pull/407)) +- Drop linear bits, improve pytket encoding/decoding ([#420](https://github.com/CQCL/tket2/pull/420)) +- *(py)* Allow using `Tk2Op`s in the builder ([#436](https://github.com/CQCL/tket2/pull/436)) +- Initial support for `TailLoop` as circuit parent ([#417](https://github.com/CQCL/tket2/pull/417)) +- Support tuple unpacking with multiple unpacks ([#470](https://github.com/CQCL/tket2/pull/470)) +- Partial tuple unpack ([#475](https://github.com/CQCL/tket2/pull/475)) +- [**breaking**] Compress binary ECCs using zlib ([#498](https://github.com/CQCL/tket2/pull/498)) +- Add timeout options and stats to Badger ([#496](https://github.com/CQCL/tket2/pull/496)) +- Expose advanced Badger timeout options to tket2-py ([#506](https://github.com/CQCL/tket2/pull/506)) + +### Refactor +- [**breaking**] Simplify tket1 conversion errors ([#408](https://github.com/CQCL/tket2/pull/408)) +- Cleanup tket1 serialized op structures ([#419](https://github.com/CQCL/tket2/pull/419)) + +### Testing +- Add coverage for Badger split circuit multi-threading ([#505](https://github.com/CQCL/tket2/pull/505)) + ## [0.1.0-alpha.2](https://github.com/CQCL/tket2/compare/tket2-v0.1.0-alpha.1...tket2-v0.1.0-alpha.2) - 2024-06-11 ### Bug Fixes diff --git a/tket2/Cargo.toml b/tket2/Cargo.toml index 0cf293d7..8f069682 100644 --- a/tket2/Cargo.toml +++ b/tket2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket2" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" edition = { workspace = true } rust-version = { workspace = true } From 7eb04b783e3f4c537704d116590b370afa316f08 Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Thu, 1 Aug 2024 12:49:59 +0100 Subject: [PATCH 2/5] bump for ci From 13763f6e7295a20b184868a60753ba6fc3a08977 Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Thu, 1 Aug 2024 12:51:46 +0100 Subject: [PATCH 3/5] set tket2 crate version to 0.1.0 --- tket2-hseries/Cargo.toml | 2 +- tket2/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tket2-hseries/Cargo.toml b/tket2-hseries/Cargo.toml index f76b6f42..fb0175c9 100644 --- a/tket2-hseries/Cargo.toml +++ b/tket2-hseries/Cargo.toml @@ -15,7 +15,7 @@ categories = ["compilers"] [dependencies] hugr.workspace = true -tket2 = { path = "../tket2", version = "0.1.0-alpha.3" } +tket2 = { path = "../tket2", version = "0.1.0" } lazy_static.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true diff --git a/tket2/Cargo.toml b/tket2/Cargo.toml index 8f069682..179c9123 100644 --- a/tket2/Cargo.toml +++ b/tket2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket2" -version = "0.1.0-alpha.3" +version = "0.1.0" edition = { workspace = true } rust-version = { workspace = true } From 656f63bd79342014b5b32a0bddb18954139c919f Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Thu, 1 Aug 2024 13:56:57 +0100 Subject: [PATCH 4/5] tweaks --- Cargo.lock | 4 ++-- tket2-hseries/CHANGELOG.md | 2 +- tket2-hseries/Cargo.toml | 2 +- tket2-py/Cargo.toml | 2 +- tket2/CHANGELOG.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 36f179a6..82c32bc3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1768,7 +1768,7 @@ dependencies = [ [[package]] name = "tket2" -version = "0.1.0-alpha.3" +version = "0.1.0" dependencies = [ "bytemuck", "cgmath", @@ -1810,7 +1810,7 @@ dependencies = [ [[package]] name = "tket2-hseries" -version = "0.1.0-alpha.1" +version = "0.1.0" dependencies = [ "cool_asserts", "hugr", diff --git a/tket2-hseries/CHANGELOG.md b/tket2-hseries/CHANGELOG.md index edb2b83e..4845fbcf 100644 --- a/tket2-hseries/CHANGELOG.md +++ b/tket2-hseries/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.1.0-alpha.1](https://github.com/CQCL/tket2/releases/tag/tket2-hseries-v0.1.0-alpha.1) - 2024-08-01 +## [0.1.0](https://github.com/CQCL/tket2/releases/tag/tket2-hseries-v0.1.0) - 2024-08-01 ### New Features - [**breaking**] init tket2-hseries ([#368](https://github.com/CQCL/tket2/pull/368)) diff --git a/tket2-hseries/Cargo.toml b/tket2-hseries/Cargo.toml index fb0175c9..66760dc4 100644 --- a/tket2-hseries/Cargo.toml +++ b/tket2-hseries/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tket2-hseries" -version = "0.1.0-alpha.1" +version = "0.1.0" edition.workspace = true rust-version.workspace = true diff --git a/tket2-py/Cargo.toml b/tket2-py/Cargo.toml index 588250a9..6b9441cf 100644 --- a/tket2-py/Cargo.toml +++ b/tket2-py/Cargo.toml @@ -19,7 +19,7 @@ test = false bench = false [dependencies] -tket2 = { path = "../tket2", version = "0.1.0-alpha.3", features = [ +tket2 = { path = "../tket2", version = "0.1.0", features = [ "portmatching", "binary-eccs", ] } diff --git a/tket2/CHANGELOG.md b/tket2/CHANGELOG.md index 4967f55d..5ec8ab74 100644 --- a/tket2/CHANGELOG.md +++ b/tket2/CHANGELOG.md @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.1.0-alpha.3](https://github.com/CQCL/tket2/compare/tket2-v0.1.0-alpha.2...tket2-v0.1.0-alpha.3) - 2024-08-01 +## [0.1.0](https://github.com/CQCL/tket2/compare/tket2-v0.1.0-alpha.2...tket2-v0.1.0) - 2024-08-01 ### Bug Fixes - Single source of truth for circuit names, and better circuit errors ([#390](https://github.com/CQCL/tket2/pull/390)) From 73d6e651c7cebc6758ac7957a6ff9c7aee1f9419 Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Thu, 1 Aug 2024 14:08:49 +0100 Subject: [PATCH 5/5] tket2-hseries gets tags and git releases --- release-plz.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/release-plz.toml b/release-plz.toml index f4596042..466a9d2e 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -38,5 +38,3 @@ release = true # Disabled until the first version is manually published publish = false -git_tag_enable = false -git_release_enable = false