Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python HUGR builder interface #486

Closed
14 tasks done
ss2165 opened this issue Sep 1, 2023 · 2 comments
Closed
14 tasks done

Python HUGR builder interface #486

ss2165 opened this issue Sep 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request tracking-issue An issue tracking progress on multiple sub-tasks.

Comments

@aborgna-q aborgna-q self-assigned this Nov 8, 2023
github-merge-queue bot pushed a commit that referenced this issue Mar 19, 2024
Adds all the boilerplate for a `quantinuum-hugr` python package.

This includes conditional CI checks (dependant on the changed files),
and other metadata.

What's missing is a `release-please` configuration to generate python
changelogs. `release-plz` should already be configured to only include
changes that modify the rust project.

This is the foundation required for #486 and
CQCL/guppylang#173, and it should make adding
another package for #866 quite easy.
@aborgna-q aborgna-q added enhancement New feature or request P-high labels Mar 20, 2024
@aborgna-q
Copy link
Collaborator

Waiting on the pytket-future API
CQCL/tket2#308

@aborgna-q aborgna-q removed their assignment Apr 17, 2024
@aborgna-q aborgna-q removed the P-high label May 15, 2024
@ss2165 ss2165 changed the title Python bindings for builder interface Python HUGR builder interface May 24, 2024
@ss2165 ss2165 added the tracking-issue An issue tracking progress on multiple sub-tasks. label May 30, 2024
github-merge-queue bot pushed a commit that referenced this issue May 31, 2024
First steps of #486

- Uses cli tool to validate.
- Just covers DFG building for now but should be extensible in
principle.
- Op types are declared explicitly, no "inference".
- `Hugr` does some light stable index maintenance, but rewriting is not
prioritised as a use-case.
- Both inline nested graph building and full graph insertion are
expected use cases so are demonstrated.

---------

Co-authored-by: Agustín Borgna <121866228+aborgna-q@users.noreply.github.com>
@ss2165 ss2165 pinned this issue Jun 4, 2024
@ss2165
Copy link
Member Author

ss2165 commented Jul 2, 2024

The feature is now complete enough to do CQCL/guppylang#257 so closing, follow ups are listed in description above.

@ss2165 ss2165 closed this as completed Jul 2, 2024
@ss2165 ss2165 unpinned this issue Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracking-issue An issue tracking progress on multiple sub-tasks.
Projects
None yet
Development

No branches or pull requests

2 participants