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

[OpenQASM3] Support input/output variable modifiers #222

Open
1tnguyen opened this issue Sep 15, 2021 · 0 comments
Open

[OpenQASM3] Support input/output variable modifiers #222

1tnguyen opened this issue Sep 15, 2021 · 0 comments

Comments

@1tnguyen
Copy link
Contributor

Ref: https://qiskit.github.io/openqasm/language/directives.html#input-output

We may utilize the output modifier as a way to mark a variable as the return value of the main OpenQASM3 program (wrapped inside the __internal_mlir function)

Related to https://github.com/ORNL-QCI/qcor/issues/190

I lodged this separately here since this is a new feature. I guess we'll close https://github.com/ORNL-QCI/qcor/issues/190 once all the updated syntax has been incorporated.

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

No branches or pull requests

1 participant