Skip to content

Commit

Permalink
update pytket (#466)
Browse files Browse the repository at this point in the history
* disable not working test, update pytket

* update pytket, clean up not working tests
  • Loading branch information
cqc-melf authored Jul 9, 2024
1 parent 2225507 commit c55fdf1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
~~~~~~~~~

0.36.0
------

* Update pytket version requirement to 1.30.

0.35.0 (June 2024)
------------------

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
packages=find_namespace_packages(include=["pytket.*"]),
include_package_data=True,
install_requires=[
"pytket >= 1.29.2, < 2",
"pytket >= 1.30.0rc0, < 2",
"pytket-qir ~= 0.11.0",
"requests >= 2.2",
"types-requests",
"websockets >= 7.0",
"nest_asyncio >= 1.2",
"pyjwt ~= 2.4",
"msal ~= 1.18",
"numpy < 2",
],
extras_require={
"pecos": ["pytket-pecos ~= 0.1.28"],
Expand Down
1 change: 1 addition & 0 deletions tests/integration/backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ def test_qir_submission_mz_to_reg(
assert len(r.get_bitlist()) == 128


@pytest.mark.xfail(reason="https://github.com/CQCL/pytket-quantinuum/issues/443")
@pytest.mark.skipif(skip_remote_tests, reason=REASON)
@pytest.mark.parametrize(
"authenticated_quum_backend_qa", [{"device_name": "H1-1SC"}], indirect=True
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/convert_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_resize_scratch_registers() -> None:
reg_a = circ.add_c_register("a", 1)
reg_b = circ.add_c_register("b", 1)
circ.X(0, condition=reg_eq(reg_a ^ reg_b, 1))
assert circ.get_c_register(f"{_TEMP_BIT_REG_BASE}_0").size == 32
assert circ.get_c_register(f"{_TEMP_BIT_REG_BASE}_0").size == 64
c_compiled = circ.copy()
scratch_reg_resize_pass(10).apply(c_compiled)
assert circ == c_compiled
Expand Down

0 comments on commit c55fdf1

Please sign in to comment.