Tket2

Latest version: v0.7.0

Safety actively analyzes 714712 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.7.3

Bug Fixes

- remove unicode pi symbols in rotation extension (743)

tket2-hseries-v0.9.1
New Features

- add a `tket2.qsystem.utils` extension with `GetCurrentShot` (772)
- add "tket2.qsystem.random" extension (779)

tket2-py-v0.6.1
[0.6.1](https://github.com/CQCL/tket2/compare/tket2-py-v0.6.0...tket2-py-v0.6.1) (2025-02-21)


Features

* add a `tket2.qsystem.utils` extension with `GetCurrentShot` ([772](https://github.com/CQCL/tket2/issues/772)) ([175a02d](https://github.com/CQCL/tket2/commit/175a02da2ce8a0065c265cdae7518c1b5284cff3)), closes [#767](https://github.com/CQCL/tket2/issues/767)


Bug Fixes

* include RNG extension in tket2-py, bump tket2-exts constraint ([781](https://github.com/CQCL/tket2/issues/781)) ([9eb8897](https://github.com/CQCL/tket2/commit/9eb8897fe5eed96070700b2f43461da1fd1346ee))

tket2-exts-v0.4.0
[0.4.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.3.0...tket2-exts-v0.4.0) (2025-02-20)


⚠ BREAKING CHANGES

* **tket2-hseries:** The signature of `QSystemOp::LazyMeasure` is changed to consume its qubit.
* Updated `hugr` rust dependency to `0.14.0` Extension are now defined in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call, and dropped the per-extension registry definitions.
* all references to "hseries" including extension, modules and structs renamed to "qsystem"
* hseries qalloc op replaced with fallible TryQalloc

Features

* add "tket2.qsystem.random" extension ([779](https://github.com/CQCL/tket2/issues/779)) ([f4901ee](https://github.com/CQCL/tket2/commit/f4901eed22f8e66ca5ea3ccb8d72ead134ff8001))
* add a `tket2.qsystem.utils` extension with `GetCurrentShot` ([772](https://github.com/CQCL/tket2/issues/772)) ([175a02d](https://github.com/CQCL/tket2/commit/175a02da2ce8a0065c265cdae7518c1b5284cff3)), closes [#767](https://github.com/CQCL/tket2/issues/767)
* move extensions to auxillary package ([682](https://github.com/CQCL/tket2/issues/682)) ([dd78f9a](https://github.com/CQCL/tket2/commit/dd78f9a571905407bcf74131a54f4aefbca740c4))
* **tket2-hseries:** Add `tket2.wasm` extension ([737](https://github.com/CQCL/tket2/issues/737)) ([34bdc21](https://github.com/CQCL/tket2/commit/34bdc218b5e9bf334830873e847935dea0053242))
* **tket2-hseries:** Redefine `QSystemOp::LazyMeasure` and introduce `QSystemOp::LazyMeasureReset` ([741](https://github.com/CQCL/tket2/issues/741)) ([1f126c0](https://github.com/CQCL/tket2/commit/1f126c0a4f7686fa6941a05aa28228786baac6d1))
* update measurement and alloc operations ([702](https://github.com/CQCL/tket2/issues/702)) ([a7a0201](https://github.com/CQCL/tket2/commit/a7a020116f42bfeb89c356d08816a2f3ce1b5226))


Bug Fixes

* remove unicode pi symbols in rotation extension ([743](https://github.com/CQCL/tket2/issues/743)) ([b3ed351](https://github.com/CQCL/tket2/commit/b3ed35108d5fe93c3aa8101084b695470c488a30))


Documentation

* docstring capitalisation ([686](https://github.com/CQCL/tket2/issues/686)) ([e18f921](https://github.com/CQCL/tket2/commit/e18f921903953dc6a033ef697092f80a99a142b0))


Miscellaneous Chores

* Update to next version of hugr ([720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4))


Code Refactoring

* rename hseries to qsystem ([703](https://github.com/CQCL/tket2/issues/703)) ([1e90173](https://github.com/CQCL/tket2/commit/1e90173872e73c44a6321fe400ae6f2e4e115220))

0.7.2

Bug Fixes

- remove unicode pi symbols in rotation extension (743)

tket2-hseries-v0.9.0
Bug Fixes

- Use `RemoveDeadFuncsPass` instead of deprecated `remove_polyfuncs()` (759)
- nondeterminism in lazify-measure (766)

New Features

- *(tket2-hseries)* Add `tket2.wasm` extension (737)
- force-order qfree early and qalloc late. (762)

0.7.1

Bug Fixes

- remove unicode pi symbols in rotation extension (743)

tket2-hseries-v0.8.0
New Features

- *(tket2-hseries)* [**breaking**] Redefine `QSystemOp::LazyMeasure` and introduce `QSystemOp::LazyMeasureReset` (741)
- *(tket2-hseries)* Lazify more flavours of measure ops (742)

tket2-hseries-v0.7.1
New Features

- Add monomorphization and constant folding to QSystemPass (730)

0.7.0

⚠ BREAKING CHANGES

- Removed `load_guppy_*` methods. Use `Circuit::load_function_reader` instead.
- Extension definitions and registries now use `Arc`s for sharing

New Features

- [**breaking**] Track circuit extensions and read/write packages (680)
- [**breaking**] update measurement and alloc operations (702)

Refactor

- [**breaking**] update to hugr 0.14 (700)

tket2-py-v0.6.0
[0.6.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.5.1...tket2-py-v0.6.0) (2024-12-16)


⚠ BREAKING CHANGES

* Updated `hugr` rust dependency to `0.14.0` Extension are now defined in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call, and dropped the per-extension registry definitions.
* all references to "hseries" including extension, modules and structs renamed to "qsystem"
* hseries qalloc op replaced with fallible TryQalloc

Features

* update measurement and alloc operations ([702](https://github.com/CQCL/tket2/issues/702)) ([a7a0201](https://github.com/CQCL/tket2/commit/a7a020116f42bfeb89c356d08816a2f3ce1b5226))


Miscellaneous Chores

* Update to next version of hugr ([720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4))


Code Refactoring

* rename hseries to qsystem ([703](https://github.com/CQCL/tket2/issues/703)) ([1e90173](https://github.com/CQCL/tket2/commit/1e90173872e73c44a6321fe400ae6f2e4e115220))

tket2-hseries-v0.7.0
⚠ BREAKING CHANGES

- Replaced the hseries `qalloc` op with a fallible `TryQalloc`
- Extension definitions and registries now use `Arc`s for sharing

New Features

- [**breaking**] update measurement and alloc operations (702)

Refactor

- [**breaking**] update to hugr 0.14 (700)
- [**breaking**] rename hseries to qsystem (703)

tket2-exts-v0.3.0
[0.3.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.2.0...tket2-exts-v0.3.0) (2024-12-16)


⚠ BREAKING CHANGES

* Updated `hugr` rust dependency to `0.14.0` Extension are now defined in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call, and dropped the per-extension registry definitions.

Miscellaneous Chores

* Update to next version of hugr ([720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4))

tket2-eccs-v0.3.0
[0.3.0](https://github.com/CQCL/tket2/compare/tket2-eccs-v0.2.0...tket2-eccs-v0.3.0) (2024-12-16)


⚠ BREAKING CHANGES

* Updated `hugr` rust dependency to `0.14.0` Extension are now defined in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call, and dropped the per-extension registry definitions.

Features

* move extensions to auxillary package ([682](https://github.com/CQCL/tket2/issues/682)) ([dd78f9a](https://github.com/CQCL/tket2/commit/dd78f9a571905407bcf74131a54f4aefbca740c4))


Reverts

* "Support python 3.13 ([653](https://github.com/CQCL/tket2/issues/653))" ([#657](https://github.com/CQCL/tket2/issues/657)) ([3fb67ac](https://github.com/CQCL/tket2/commit/3fb67acf5e860fba8f8e1b9e6c5836846a0fcb7d))


Miscellaneous Chores

* Update to next version of hugr ([720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4))

tket2-exts-v0.2.0
[0.2.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.1.1...tket2-exts-v0.2.0) (2024-12-02)


⚠ BREAKING CHANGES

* all references to "hseries" including extension, modules and structs renamed to "qsystem"
* hseries qalloc op replaced with fallible TryQalloc

Features

* update measurement and alloc operations ([702](https://github.com/CQCL/tket2/issues/702)) ([a7a0201](https://github.com/CQCL/tket2/commit/a7a020116f42bfeb89c356d08816a2f3ce1b5226))


Code Refactoring

* rename hseries to qsystem ([703](https://github.com/CQCL/tket2/issues/703)) ([1e90173](https://github.com/CQCL/tket2/commit/1e90173872e73c44a6321fe400ae6f2e4e115220))

tket2-py-v0.5.1
[0.5.1](https://github.com/CQCL/tket2/compare/tket2-py-v0.5.0...tket2-py-v0.5.1) (2024-11-29)


Bug Fixes

* Remove use of removed auto_rebase_pass ([708](https://github.com/CQCL/tket2/issues/708)) ([ea122a7](https://github.com/CQCL/tket2/commit/ea122a76444da0e94d745b02e2b475719cfd7bf7))

tket2-py-v0.5.0
[0.5.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.4.1...tket2-py-v0.5.0) (2024-11-11)


⚠ BREAKING CHANGES

* Removed `load_guppy_*` methods. Use Circuit::load_function_reader instead.

Features

* move extensions to auxillary package ([682](https://github.com/CQCL/tket2/issues/682)) ([dd78f9a](https://github.com/CQCL/tket2/commit/dd78f9a571905407bcf74131a54f4aefbca740c4))
* Track circuit extensions and read/write packages ([680](https://github.com/CQCL/tket2/issues/680)) ([5e87dd9](https://github.com/CQCL/tket2/commit/5e87dd94f216a87f4d27dee44d178578d40e7ace))


tket2-exts-v0.1.1
[0.1.1](https://github.com/CQCL/tket2/compare/tket2-exts-v0.1.0...tket2-exts-v0.1.1) (2024-11-05)


Documentation

* docstring capitalisation ([686](https://github.com/CQCL/tket2/issues/686)) ([e18f921](https://github.com/CQCL/tket2/commit/e18f921903953dc6a033ef697092f80a99a142b0))

tket2-exts-v0.1.0
Package for holding and versioning tket2 HUGR extensions

0.6.0

New Features

- *(badger)* `cx` and `rz` const functions and strategies for `LexicographicCostFunction` ([625](https://github.com/CQCL/tket2/pull/625))
- Add `tket2.rotation.from_halfturns_unchecked` op ([640](https://github.com/CQCL/tket2/pull/640))
- [**breaking**] update to hugr 0.13.0 ([645](https://github.com/CQCL/tket2/pull/645))
- Decode pytket op parameters ([644](https://github.com/CQCL/tket2/pull/644))
- re-export hugr crate ([652](https://github.com/CQCL/tket2/pull/652))
- Extract pytket parameters to input wires ([661](https://github.com/CQCL/tket2/pull/661))

Refactor

- [**breaking**] Remove deprecated exports ([662](https://github.com/CQCL/tket2/pull/662))

tket2-hseries-v0.6.0
New Features

- [**breaking**] `HSeriesPass` lowers `Tk2Op`s into `HSeriesOp`s ([602](https://github.com/CQCL/tket2/pull/602))
- [**breaking**] simplify angle extension in to a half turns rotation type ([611](https://github.com/CQCL/tket2/pull/611))

tket2-py-v0.4.1
[0.4.1](https://github.com/CQCL/tket2/compare/tket2-py-v0.4.0...tket2-py-v0.4.1) (2024-10-10)


Features

* Add `tket2.rotation.from_halfturns_unchecked` op ([640](https://github.com/CQCL/tket2/issues/640)) ([86ffe64](https://github.com/CQCL/tket2/commit/86ffe64fa455fc19a60999a7edb71803d615d77b))

tket2-eccs-v0.2.0
[0.2.0](https://github.com/CQCL/tket2/compare/tket2-eccs-v0.1.0...tket2-eccs-v0.2.0) (2024-10-10)


⚠ BREAKING CHANGES

* Recompiled eccs with `hugr 0.13.0`

tket2-py-v0.4.0
[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.5.0

Bug Fixes

- Support hugr packages, fix the notebooks ([622](https://github.com/CQCL/tket2/pull/622))

New Features

- Add an explicit struct for the tket2 sympy op ([616](https://github.com/CQCL/tket2/pull/616))
- Support encoding float and sympy ops ([618](https://github.com/CQCL/tket2/pull/618))

tket2-hseries-v0.5.0
New Features

- [**breaking**] `HSeriesPass` lowers `Tk2Op`s into `HSeriesOp`s ([602](https://github.com/CQCL/tket2/pull/602))
- [**breaking**] simplify angle extension in to a half turns rotation type ([611](https://github.com/CQCL/tket2/pull/611))

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.