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

expand pyqir.FunctionType to allow List of type as return #258

Open
cqc-melf opened this issue Oct 19, 2023 · 0 comments
Open

expand pyqir.FunctionType to allow List of type as return #258

cqc-melf opened this issue Oct 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cqc-melf
Copy link
Contributor

We would like to use self defined functions which have multiple return value. To do this we class pyqir.FunctionType would need to be extended. To simplest solution would be to change the type of the return value (ret) to List[Type] (same as param).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant