diff --git a/_metadata.py b/_metadata.py index 92614389..cce7b976 100644 --- a/_metadata.py +++ b/_metadata.py @@ -1,2 +1,2 @@ -__extension_version__ = "0.5.4" +__extension_version__ = "0.6.0" __extension_name__ = "pytket-cutensornet" diff --git a/docs/changelog.rst b/docs/changelog.rst index ef4f76f2..84f4984e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,19 @@ Changelog ~~~~~~~~~ +0.6.0 (April 2024) +------------------ + +* **New feature**: Tree Tensor Network (TTN) simulator, supporting both fixed ``chi`` and ``truncation_fidelity``. Calculation of single amplitudes is supported by ``get_amplitude`` and inner products by ``vdot``. Measurement and postselection are not yet supported. +* **New API**: both ``MPS`` and ``TTN`` share a common interface: ``StructuredState``. Import paths have changed, multiple classes have been renamed: ``ConfigMPS`` is now ``Config``, ``ContractionAlg`` is now ``SimulationAlgorithm``. Documentation has been updated accordingly. + +* Canonicalisation of MPS is now always applied before a two-qubit gate. We found that this tends to reduce runtime due to canonicalisation decreasing virtual bond dimension. +* Two-qubit gates are now decomposed (SVD) before applying them to remove null singular values (e.g. in ``XXPhase`` gates). +* Fixed a bug on copying an ``MPS`` if ``truncation_fidelity`` was set. +* Fixed a bug on ``CuTensorNetHandle`` that would prevent it from working when the device set was different from the default one (``dev=0``) and when using ``cuTensorNet>=2.3.0``. +* Fixed a bug on ``TensorNetwork`` due to unsupported ``Create`` operation. +* Updated pytket version requirement to 1.26. + 0.5.4 (January 2024) -------------------- diff --git a/setup.py b/setup.py index abc65423..c7d90902 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ license="Apache 2", packages=find_namespace_packages(include=["pytket.*"]), include_package_data=True, - install_requires=["pytket ~= 1.24"], + install_requires=["pytket ~= 1.26"], classifiers=[ "Environment :: Console", "Programming Language :: Python :: 3.10",