Skip to content

Conversation

@comp-phys-marc
Copy link
Contributor


Context: We would like to be able to declare outputs in QASM 3.0 and return values for these inputs from interpret()

Description of the Change: We allow a "return" dict to be returned on the final context, populated with the final values of the output variables in the program.

Benefits: We now support full IO to and from QASM 3.0 programs.

Possible Drawbacks:

Related ShortCut Stories: [sc-91128]

Base automatically changed from feature/inputs to master July 14, 2025 18:45
@comp-phys-marc comp-phys-marc enabled auto-merge July 14, 2025 18:51
	- stuck on codecov
@comp-phys-marc comp-phys-marc added this pull request to the merge queue Jul 14, 2025
Merged via the queue into master with commit ea0364b Jul 14, 2025
54 checks passed
@comp-phys-marc comp-phys-marc deleted the feature/outputs branch July 14, 2025 20:26
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

Successfully merging this pull request may close these issues.

6 participants