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

Support py expressions over python types implementing HUGR protocl #563

Open
ss2165 opened this issue Oct 16, 2024 · 0 comments
Open

Support py expressions over python types implementing HUGR protocl #563

ss2165 opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ss2165
Copy link
Member

ss2165 commented Oct 16, 2024

  1. If a type implements the protocol defined in Python protocol for python type -> hugr type hooks hugr#1586 support it in py expressions
  2. Maintain a register of types that can be converted via wrappers. E.g. GuppyPytketWrapper(Circuit).to_hugr_value().
@ss2165 ss2165 added the enhancement New feature or request label Oct 16, 2024
@ss2165 ss2165 added the good first issue Good for newcomers label Nov 19, 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant