-
Notifications
You must be signed in to change notification settings - Fork 627
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
New OrbitalRotation
decomposition
#3171
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3171 +/- ##
==========================================
- Coverage 99.69% 99.69% -0.01%
==========================================
Files 274 274
Lines 23884 23883 -1
==========================================
- Hits 23810 23809 -1
Misses 74 74
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thanks, @isaacdevlugt! Looking good. Just a couple of minor suggestions, and it will be good to go.
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Thanks for implementing this! |
Context: New decomposition for
OrbitalDecomposition
.Description of the Change: Decomposes into
SingleExcitation
gates instead of more elementary gates (e.g. control gates,Hadamard
, etc.)Benefits:
There are two really big advantages to decomposing down into SingleExcitation gates:
default.qubit
andlightning
natively supportSingleExcitation
, so the execution will be fasterSingleExcitation
has a parameter-shift rule defined, so less circuits will be executed to get the gradientRelated GitHub Issues: #3169