-
Notifications
You must be signed in to change notification settings - Fork 17
feat!: Use borrow_array instead of value_array for array lowering
#1166
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
40d1255
chore: update to hugr-py v0.13
ss2165 60dccb3
Dev deps
tatiana-s 4054f8f
feat: Insert drop ops for affine values
mark-koch a1b19af
Fix imports and bound
tatiana-s 169aa76
Progress
tatiana-s 8272f8c
Check
tatiana-s eeecf53
Small fixes
tatiana-s b9d961b
More fixes
tatiana-s 3df7013
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s db52f55
Result attempt with clone
tatiana-s c9fe2d4
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s eedecd8
Fix after merge
tatiana-s 001da68
update wheel
tatiana-s 1926639
Stop inlining
tatiana-s c70670f
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s 71b9fc6
Update uv
tatiana-s 31d92cc
Latest wheel
tatiana-s 1fa119e
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s 8c87895
Fix merge issue
tatiana-s b75047d
Fix array assert iter (and update wheel)
tatiana-s ab08667
More fixes
tatiana-s 7575884
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s 7342398
Fix types
tatiana-s b8a33c3
Fix copy
tatiana-s 9a63367
Adjust to comments
tatiana-s 5525ea5
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
tatiana-s e81872d
Fix inout order
tatiana-s dda2742
Use get in classical array getitem now that there is a fix for bool l…
tatiana-s 025880d
chore: update tket-exts dep
ss2165 60665ba
released tket
ss2165 d5b4ca6
remove qis-compiler hard dependency
ss2165 9332015
add qis-compiler dependency to internals
ss2165 f1fc799
comments/typos
acl-cqc 3635907
Verify that whenever is_affine is read, it's (not copy and drop) - br…
acl-cqc 982d8a9
Revert "Verify that whenever is_affine is read, it's (not copy and dr…
acl-cqc 5f3e366
released qis-compiler
ss2165 a6d3d0b
extend test_drop_bound to demonstrate failure
acl-cqc f38682c
Remove test, comment about bug
acl-cqc c1c0808
Merge remote-tracking branch 'origin/main' into ts/borrow-arrays
acl-cqc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the chances of defining return as a pass-through operation, i.e. such that it returns the array? (much like
resultin Rust would only borrow the array not consume it)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would require the signature of the result which is a breaking change in the extension which was a subject of much discussion and though it was implemented it was then reverted again so I don't think we are doing that for now