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)
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.
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.