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

Integrate transform dialect scheduling into quantum module abstraction #1185

Open
paul0403 opened this issue Oct 7, 2024 · 0 comments
Open
Labels
compiler Pull requests that update the compiler

Comments

@paul0403
Copy link
Contributor

paul0403 commented Oct 7, 2024

#1144 puts each qnode into its own module. We can integrate the transform dialect into this abstraction by letting each qnode module carry its own transform_named_sequence, instead of having one overall sequence look for target qnode functions by function name.

In addition, there are some passes intended to be run on qnodes (e.g. --split-multiple-tapes) that early exit if the visited function does not carry a qnode unit attribute . This happens to still work because the qnode attribute for quantum functions is not removed, but we should think about using the new abstraction for the purpose of an isQuantumFunction() method.

@paul0403 paul0403 added the compiler Pull requests that update the compiler label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Pull requests that update the compiler
Projects
None yet
Development

No branches or pull requests

1 participant