-
Notifications
You must be signed in to change notification settings - Fork 294
Update decomposition patterns for value semantics #2145
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
Conversation
* Update QuakeOperator builders to automatically return wires when appropriate * Create helpers to allow common "create" functions for both reference semantics and value semantics * Update UnitaryBuilder to understand unwraps
|
CUDA Quantum Docs Bot: A preview of the documentation can be found 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.
LGTM, I found the design of QuakeOperatorCreator quite nice.
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
* Allows a mixture of reference semantics and value semantics in a single operation * Add mixed semantics test * Allows `quake.control` types where possible
|
CUDA Quantum Docs Bot: A preview of the documentation can be found 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.
Nice work, Ben. Thank you.
Update QuakeOperator builders to automatically return wires when appropriate.(Edit: removed per an offline discussion that stated that unlike passes, where we want to have the passes support multiple IR flavors, it was preferred to have the builders only support reference semantics)Note: this does not do the
quake.exp_paulioperation because we cannot currently getquake.exp_paulioperations into value semantics form yet.