From d9538d3e2375458ae0053f03b463b408b6735064 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Wed, 4 Sep 2024 17:50:49 +0100 Subject: [PATCH] chore(py): release tket2-py 0.3.0 (#570) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release *beep* *boop* --- ## [0.3.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.1...tket2-py-v0.3.0) (2024-09-04) ### ⚠ BREAKING CHANGES * quantum extension renamed from "quantum.tket2" to "tket2.quantum" * Parametric Tk2Ops take angle type rather than float. * Rename lazy extension to "hseries" and add hseries ops. * `Tk2Op::AngleAdd` removed, use `fadd` from the hugr float ops standard extension * Updated to latest hugr version (`hugr-rs 0.12` / `hugr-py 0.8`). ECCs need to be recompiled. ### Features * HSeries ops ([#573](https://github.com/CQCL/tket2/issues/573)) ([e6acc88](https://github.com/CQCL/tket2/commit/e6acc881d7ab67c584e6622d387bf2025209f8b8)) * remove Tk2Op::AngleAdd ([#567](https://github.com/CQCL/tket2/issues/567)) ([42cc82f](https://github.com/CQCL/tket2/commit/42cc82f0ee6e77dffb2f55c53613a7c4c8687824)) * replace f64 with angle type for tk2 ops ([#578](https://github.com/CQCL/tket2/issues/578)) ([d14631f](https://github.com/CQCL/tket2/commit/d14631f762f7ad2cf7db65e66b11cc38a54966ef)) * Update rust hugr dependency to `0.12.0`, and python hugr to `0.8.0` ([#568](https://github.com/CQCL/tket2/issues/568)) ([258a7c5](https://github.com/CQCL/tket2/commit/258a7c5ec25ee2665c524a174704944f0c19729e)) ### Bug Fixes * quantum extension name wrong way round ([#582](https://github.com/CQCL/tket2/issues/582)) ([06a6838](https://github.com/CQCL/tket2/commit/06a68386ce6d0b1376ed369da2a42d3b3eaa056a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .release-please-manifest.json | 2 +- tket2-py/CHANGELOG.md | 23 +++++++++++++++++++++++ tket2-py/pyproject.toml | 2 +- tket2-py/tket2/__init__.py | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7a6fd4d7..d8e626ad 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - "tket2-py": "0.2.1", + "tket2-py": "0.3.0", "tket2-eccs": "0.1.0" } \ No newline at end of file diff --git a/tket2-py/CHANGELOG.md b/tket2-py/CHANGELOG.md index 5e321fbe..4d36bc06 100644 --- a/tket2-py/CHANGELOG.md +++ b/tket2-py/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.3.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.1...tket2-py-v0.3.0) (2024-09-04) + + +### ⚠ BREAKING CHANGES + +* quantum extension renamed from "quantum.tket2" to "tket2.quantum" +* Parametric Tk2Ops take angle type rather than float. +* Rename lazy extension to "hseries" and add hseries ops. +* `Tk2Op::AngleAdd` removed, use `fadd` from the hugr float ops standard extension +* Updated to latest hugr version (`hugr-rs 0.12` / `hugr-py 0.8`). ECCs need to be recompiled. + +### Features + +* HSeries ops ([#573](https://github.com/CQCL/tket2/issues/573)) ([e6acc88](https://github.com/CQCL/tket2/commit/e6acc881d7ab67c584e6622d387bf2025209f8b8)) +* remove Tk2Op::AngleAdd ([#567](https://github.com/CQCL/tket2/issues/567)) ([42cc82f](https://github.com/CQCL/tket2/commit/42cc82f0ee6e77dffb2f55c53613a7c4c8687824)) +* replace f64 with angle type for tk2 ops ([#578](https://github.com/CQCL/tket2/issues/578)) ([d14631f](https://github.com/CQCL/tket2/commit/d14631f762f7ad2cf7db65e66b11cc38a54966ef)) +* Update rust hugr dependency to `0.12.0`, and python hugr to `0.8.0` ([#568](https://github.com/CQCL/tket2/issues/568)) ([258a7c5](https://github.com/CQCL/tket2/commit/258a7c5ec25ee2665c524a174704944f0c19729e)) + + +### Bug Fixes + +* quantum extension name wrong way round ([#582](https://github.com/CQCL/tket2/issues/582)) ([06a6838](https://github.com/CQCL/tket2/commit/06a68386ce6d0b1376ed369da2a42d3b3eaa056a)) + ## [0.2.1](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.0...tket2-py-v0.2.1) (2024-08-14) ### ⚠ BREAKING CHANGES diff --git a/tket2-py/pyproject.toml b/tket2-py/pyproject.toml index 6373ea67..6e5af4ff 100644 --- a/tket2-py/pyproject.toml +++ b/tket2-py/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tket2" -version = "0.2.1" +version = "0.3.0" requires-python = ">=3.10,<3.13" description = "Quantinuum's TKET2 Quantum Compiler" license = { file = "LICENCE" } diff --git a/tket2-py/tket2/__init__.py b/tket2-py/tket2/__init__.py index ffe42454..ca065ce8 100644 --- a/tket2-py/tket2/__init__.py +++ b/tket2-py/tket2/__init__.py @@ -16,4 +16,4 @@ # This is updated by our release-please workflow, triggered by this # annotation: x-release-please-version -__version__ = "0.2.1" +__version__ = "0.3.0"