diff --git a/_metadata.py b/_metadata.py index 847b366..f7f4772 100644 --- a/_metadata.py +++ b/_metadata.py @@ -1,2 +1,2 @@ -__extension_version__ = "0.36.0" +__extension_version__ = "0.37.0" __extension_name__ = "pytket-pyquil" diff --git a/docs/changelog.rst b/docs/changelog.rst index fd73a72..3fe8909 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,12 @@ Changelog ~~~~~~~~~ +0.37.0 (August 2024) +-------------------- + +* Update pytket version requirement to 1.31. +* add CH and CY to the supported gateset. + 0.36.0 (July 2024) ------------------ diff --git a/setup.py b/setup.py index 356f96e..e4cef21 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ packages=find_namespace_packages(include=["pytket.*"]), include_package_data=True, install_requires=[ - "pytket >= 1.30.0", + "pytket >= 1.31.0", "pyquil >= 4.13.0", "typing-extensions >= 4.12.2", ], diff --git a/tests/pyquil_convert_test.py b/tests/pyquil_convert_test.py index b9ee8ec..ab8225c 100644 --- a/tests/pyquil_convert_test.py +++ b/tests/pyquil_convert_test.py @@ -138,8 +138,8 @@ def test_conversion_of_controlled_y() -> None: {"name": "H", "qubits": [1, 0]}, ] c = Circuit(2, 2) - c.CY(*single_controlled_gates_attributes[0]["qubits"]) - c.CH(*single_controlled_gates_attributes[1]["qubits"]) + c.CY(*single_controlled_gates_attributes[0]["qubits"]) # type: ignore + c.CH(*single_controlled_gates_attributes[1]["qubits"]) # type: ignore p = tk_to_pyquil(c)