Skip to content

Commit

Permalink
fix: include RNG extension in tket2-py, bump tket2-exts constraint (#781
Browse files Browse the repository at this point in the history
)

I forgot to edit `tket2-py/tket2/extensions/__init__.py` in #779 

Need to bump version constraint for tket2-exts to be able to use it in
guppy at CQCL/guppylang#806
  • Loading branch information
qartik authored Feb 21, 2025
1 parent 244db12 commit 9eb8897
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tket2-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
'pytket >= 1.34, < 2',
'hugr >= 0.10.0, < 0.11',
'tket2_eccs >= 0.3.0, < 0.4',
'tket2_exts >= 0.3.0, < 0.4',
'tket2_exts >= 0.4.0, < 0.5',
]

[tool.uv.sources]
Expand Down
20 changes: 18 additions & 2 deletions tket2-py/tket2/extensions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
from tket2_exts import rotation, futures, qsystem, qsystem_utils, quantum, result
from tket2_exts import (
rotation,
futures,
qsystem,
qsystem_random,
qsystem_utils,
quantum,
result,
)


__all__ = ["rotation", "futures", "qsystem", "qsystem_utils", "quantum", "result"]
__all__ = [
"rotation",
"futures",
"qsystem",
"qsystem_random",
"qsystem_utils",
"quantum",
"result",
]

0 comments on commit 9eb8897

Please sign in to comment.