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

Make linear function arguments @inout by default #413

Closed
croyzor opened this issue Aug 28, 2024 · 0 comments · Fixed by #486
Closed

Make linear function arguments @inout by default #413

croyzor opened this issue Aug 28, 2024 · 0 comments · Fixed by #486
Assignees

Comments

@croyzor
Copy link
Collaborator

croyzor commented Aug 28, 2024

No description provided.

@mark-koch mark-koch changed the title Make qubit variables @inout by default Make linear function arguments @inout by default Aug 29, 2024
@mark-koch mark-koch added this to the guppylang 0.10.0 milestone Sep 2, 2024
@croyzor croyzor self-assigned this Sep 3, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 13, 2024
Resolves #413 and #414.

BREAKING CHANGE: Linear function arguments are now borrowed by default;
removed the now redundant `@inout` annotation

---------

Co-authored-by: Agustín Borgna <[email protected]>
Co-authored-by: Agustin Borgna <[email protected]>
Co-authored-by: Mark Koch <[email protected]>
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 a pull request may close this issue.

3 participants