Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(py): release tket2-py 0.4.0 #594

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"tket2-py": "0.3.0",
"tket2-py": "0.4.0",
"tket2-eccs": "0.1.0"
}
18 changes: 18 additions & 0 deletions tket2-py/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## [0.4.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.3.0...tket2-py-v0.4.0) (2024-10-01)


### ⚠ BREAKING CHANGES

* "tket2.angle" extension replaced with "tket2.rotation" extension with rotation type and simplified set of operations.

### Features

* `BadgerOptimiser.load_precompiled`, `BadgerOptimiser.compile_eccs` and `passes.badger_pass` now take an optional `cost_fn` parameter to specify the cost function to minimise. Supported values are `'cx'` (default behaviour) and `'rz'`. ([83ebfcb](https://github.com/CQCL/tket2/commit/83ebfcb9156fb5516f877155939062d11c7196d5))
* simplify angle extension in to a half turns rotation type ([#611](https://github.com/CQCL/tket2/issues/611)) ([0723937](https://github.com/CQCL/tket2/commit/0723937a8aed69302359fbd2383a01a77adc6b36))


### Bug Fixes

* Support hugr packages, fix the notebooks ([#622](https://github.com/CQCL/tket2/issues/622)) ([1cf9dcb](https://github.com/CQCL/tket2/commit/1cf9dcb7ba80dd236916bcf86a1fa0f5459fd349))


## [0.3.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.1...tket2-py-v0.3.0) (2024-09-04)


Expand Down
4 changes: 2 additions & 2 deletions tket2-py/examples/1-Getting-Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"\n",
"# Uncomment one of these lines depending on whether you are using a published\n",
"# version of tket2 or a local build.\n",
"#!uv pip install \"tket2>=0.4.0,<0.5\"\n",
"!cd ../../ && maturin develop --quiet --uv"
"!uv pip install \"tket2>=0.4.0,<0.5\"\n",
"#!cd ../../ && maturin develop --quiet --uv"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion tket2-py/examples/2-Rewriting-Circuits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"source": [
"!uv pip install \\\n",
" \"pytket>=1.30.0,<2\" \\\n",
" \"tket2>=0.3.0,<0.4\" \\\n",
" \"tket2>=0.4.0,<0.5\" \\\n",
" \"guppylang>=0.10.0,<0.11\" \\\n",
" \"hugr>=0.8.1,<0.9\""
]
Expand Down
2 changes: 1 addition & 1 deletion tket2-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tket2"
version = "0.3.0"
version = "0.4.0"
requires-python = ">=3.10,<3.13"
description = "Quantinuum's TKET2 Quantum Compiler"
license = { file = "LICENCE" }
Expand Down
2 changes: 1 addition & 1 deletion tket2-py/tket2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

# This is updated by our release-please workflow, triggered by this
# annotation: x-release-please-version
__version__ = "0.3.0"
__version__ = "0.4.0"
4 changes: 1 addition & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading