Tket2

Latest version: v0.5.0

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

Scan your dependencies

Page 1 of 2

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))

0.4.0

Bug Fixes

- angle type docstring to say 2pi ([607](https://github.com/CQCL/tket2/pull/607))
- Fix broken ConstAngle::TAU ([609](https://github.com/CQCL/tket2/pull/609))

New Features

- [**breaking**] simplify angle extension in to a half turns rotation type ([611](https://github.com/CQCL/tket2/pull/611))

tket2-hseries-v0.4.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))

0.3.0

Bug Fixes

- extension ops checking against incorrect name ([593](https://github.com/CQCL/tket2/pull/593))
- [**breaking**] remove TryFrom for extension ops use `cast` ([592](https://github.com/CQCL/tket2/pull/592))
- don't load angle extensions on to quantum ([597](https://github.com/CQCL/tket2/pull/597))

New Features

- [**breaking**] move angle types + and ops to new "tket2.angle" extension ([591](https://github.com/CQCL/tket2/pull/591))
- dataflow builder methods for angle ops ([596](https://github.com/CQCL/tket2/pull/596))
- lowering tk2ops -> hseriesops ([579](https://github.com/CQCL/tket2/pull/579))

tket2-hseries-v0.3.0
Bug Fixes

- extension ops checking against incorrect name ([593](https://github.com/CQCL/tket2/pull/593))
- [**breaking**] remove TryFrom for extension ops use `cast` ([592](https://github.com/CQCL/tket2/pull/592))

New Features

- lowering tk2ops -> hseriesops ([579](https://github.com/CQCL/tket2/pull/579))
- *(tket2-hseries)* cli extension dumping ([584](https://github.com/CQCL/tket2/pull/584))

tket2-py-v0.3.0
[0.3.0](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.0...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 (https://github.com/CQCL/tket2/issues/573) ([e6acc88](https://github.com/CQCL/tket2/commit/e6acc881d7ab67c584e6622d387bf2025209f8b8))
* remove Tk2Op::AngleAdd (https://github.com/CQCL/tket2/issues/567) ([42cc82f](https://github.com/CQCL/tket2/commit/42cc82f0ee6e77dffb2f55c53613a7c4c8687824))
* replace f64 with angle type for tk2 ops (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 (https://github.com/CQCL/tket2/issues/568) ([258a7c5](https://github.com/CQCL/tket2/commit/258a7c5ec25ee2665c524a174704944f0c19729e))

Bug Fixes

* quantum extension name wrong way round (https://github.com/CQCL/tket2/issues/582) ([06a6838](https://github.com/CQCL/tket2/commit/06a68386ce6d0b1376ed369da2a42d3b3eaa056a))

0.2.0

Bug Fixes
- [**breaking**] quantum extension name wrong way round ([582](https://github.com/CQCL/tket2/pull/582))

New Features
- Extend Command::optype lifetime ([562](https://github.com/CQCL/tket2/pull/562))
- [**breaking**] Update rust hugr dependency to `0.12.0`, and python hugr to `0.8.0` ([568](https://github.com/CQCL/tket2/pull/568))
- [**breaking**] remove Tk2Op::AngleAdd ([567](https://github.com/CQCL/tket2/pull/567))
- [**breaking**] angle type no longer parametric. ([577](https://github.com/CQCL/tket2/pull/577))
- [**breaking**] HSeries ops ([573](https://github.com/CQCL/tket2/pull/573))
- [**breaking**] replace f64 with angle type for tk2 ops ([578](https://github.com/CQCL/tket2/pull/578))
- more angle ops (construct, deconstruct, radians, equality) ([581](https://github.com/CQCL/tket2/pull/581))

tket2-hseries-v0.2.0
New Features
- [**breaking**] Update rust hugr dependency to `0.12.0`, and python hugr to `0.8.0` ([568](https://github.com/CQCL/tket2/pull/568))
- [**breaking**] HSeries ops ([573](https://github.com/CQCL/tket2/pull/573))
- [**breaking**] replace f64 with angle type for tk2 ops ([578](https://github.com/CQCL/tket2/pull/578))

0.1.1

New Features
- Move parallel evaluation code to CircuitChunks ([528](https://github.com/CQCL/tket2/pull/528))

tket2-hseries-v0.1.1
New Features
- *(tket2-hseries)* make result operation internals public ([542](https://github.com/CQCL/tket2/pull/542))

tket2-py-v0.2.1
[0.2.1](https://github.com/CQCL/tket2/compare/tket2-py-v0.2.0...tket2-py-v0.2.1) (2024-08-14)


Documentation

* Add tket2-py module docstring ([539](https://github.com/CQCL/tket2/issues/539)) ([8ef7a57](https://github.com/CQCL/tket2/commit/8ef7a5736294cf462b0694c235f0d10316c68f68))

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.