-
Notifications
You must be signed in to change notification settings - Fork 603
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
Extend the conditional operations documentation #2294
Merged
Merged
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3a27922
Add qfunc and else to cond's UsageDetails
antalszava e07cdcc
copy when inverting MV under the hood; add equivalent test case for i…
antalszava 3464e0d
format
antalszava e6831f8
test docstr
antalszava 87b5b04
format
antalszava b4dc79b
correct examples
antalszava dbe80b5
format
antalszava ce50a7e
docstring
antalszava 0f7ec27
have https://github.com/PennyLaneAI/pennylane/pull/2300 on rc too
antalszava d2a78b1
Merge branch 'v0.22.0-rc0' into conditional-ops-docs
antalszava e49ef45
lambda example
antalszava bd5ac2a
Merge branch 'v0.22.0-rc0' into conditional-ops-docs
antalszava 20eeb02
intro extend, docstring
antalszava ff88b0b
changelog PR num
antalszava be30b4b
link
antalszava b7f69fd
note update
antalszava 7252ec2
updates
antalszava 8f821d4
Apply suggestions from code review
albi3ro 1c94806
updates
antalszava 78415d9
Merge branch 'v0.22.0-rc0' into conditional-ops-docs
antalszava 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 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 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 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 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
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.
Maybe worth having
qnode()
take the parameter as an argument, e.g.,qnode(par)
? To avoid users potentially copying and pasting the code, and having odd closure/scope issues :)