-
Notifications
You must be signed in to change notification settings - Fork 81
Add support for lowering adjoint and control with Operator2 #2980
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 56 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
034e500
add translation and lowering of OperatorOp
albi3ro a9308fc
sonnet's AI recommendation to fix python bindings issue
albi3ro 8599ec6
switch to StrAttr
albi3ro 5c4504e
bump pl version
albi3ro b23289a
remove qref patch
albi3ro 6d4de2b
formatting
albi3ro daca7ae
black
albi3ro 05fa495
Merge branch 'main' into handle-operator2
albi3ro 79e060e
starting to add some tests
albi3ro 65af9f5
Merge branch 'handle-operator2' of github.com:PennyLaneAI/catalyst in…
albi3ro 98c88c4
tests, changelog, formatting
albi3ro 862375e
pylint
albi3ro 6e4eaf7
why didn't black work
albi3ro 5546ee7
Merge branch 'main' into handle-operator2
albi3ro 78b4f9e
more pylint
albi3ro ffca762
Merge branch 'handle-operator2' of github.com:PennyLaneAI/catalyst in…
albi3ro 54ba606
Merge branch 'main' into handle-operator2
albi3ro 51639cd
add specialized lowerings
albi3ro 6725b02
Merge branch 'main' into operator2-custom-op
albi3ro 8513e91
Apply suggestions from code review
albi3ro ca108c8
styling
albi3ro 65ec5fb
move things to their own file
albi3ro ab0c04d
more testing
albi3ro 277c485
more tests
albi3ro a42a5c6
more testing, changelog, formatting
albi3ro bb0728a
codefactor
albi3ro 862632d
Merge branch 'main' into operator2-custom-op
albi3ro 6a40341
I HATE LITgit add *git add *git add *git add *git add *git add *git a…
albi3ro 32c3a81
Apply suggestions from code review
albi3ro 2903e03
add general validation that wires are actual wires in lowering
albi3ro 7fb66dc
stupid mistake
albi3ro fdd290a
Apply suggestion from @albi3ro
albi3ro ab5484d
Add support for lowering adjoint and control with Operator2
mudit2812 95f62c3
Change adjoint from property to attribute
mudit2812 801caaa
Revert formatting
mudit2812 a561f53
Add lit tests
mudit2812 1ae3875
Update operator_p import path
mudit2812 0f8efa8
[skip ci] Skip CI
mudit2812 6a2b581
Transmit ctrl/adjoint information to spacial lowerings
mudit2812 360851e
[skip ci] Skip CI
mudit2812 e235a1f
LIT IS THE WORST THING EVER INVENTED
albi3ro 1f2b72a
Merge branch 'operator2-custom-op' of github.com:PennyLaneAI/catalyst…
albi3ro 01f2b23
Update dep-versions
mudit2812 f65c967
[skip ci] Skip CI
mudit2812 aaa491f
Merge branch 'main' into operator2-custom-op
albi3ro e6788d3
Update based on upstream changes
mudit2812 25005e2
Merge branch 'operator2-custom-op' into operator2-adj-ctrl
mudit2812 b49010b
Merge branch 'main' into operator2-adj-ctrl
mudit2812 c236102
Finish adding tests. Won't pass until PL-side fix is uploaded to Test…
mudit2812 3666553
Merge branch 'main' into operator2-adj-ctrl
mudit2812 e3b96bb
Fix merge conflict
mudit2812 20998c6
[skip ci] Skip CI
mudit2812 8b4f496
Merge branch 'main' into operator2-adj-ctrl
mudit2812 aab165a
[skip ci]
mudit2812 342f7d3
Merge branch 'operator2-adj-ctrl' of https://github.com/PennyLaneAI/c…
mudit2812 16f9aee
[skip ci]
mudit2812 e273e73
Remove wayward comment
mudit2812 429fda0
[skip ci] Skip CI
mudit2812 fd14cb9
Replace qp.ops.ControlledOp2 with qp.ctrl
mudit2812 6be5efb
[skip ci] Skip CI
mudit2812 5af372d
Merge branch 'main' into operator2-adj-ctrl
mudit2812 20a2867
Update PL dep
mudit2812 341f314
Merge branch 'operator2-adj-ctrl' of https://github.com/PennyLaneAI/c…
mudit2812 4b4d65f
Address code review
mudit2812 8bf1a52
Merge branch 'main' into operator2-adj-ctrl
mudit2812 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.
Uh oh!
There was an error while loading. Please reload this page.