Skip to content

Commit

Permalink
release 0.37.0 (#96)
Browse files Browse the repository at this point in the history
* update version, changelog and pytketversion

* fix mypy
  • Loading branch information
cqc-melf authored Aug 5, 2024
1 parent 011083e commit db4c343
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _metadata.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__extension_version__ = "0.36.0"
__extension_version__ = "0.37.0"
__extension_name__ = "pytket-pyquil"
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down
4 changes: 2 additions & 2 deletions tests/pyquil_convert_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit db4c343

Please sign in to comment.