-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add support for custom resets using the @Reset()
attribute
#1981
Conversation
Change in memory usage detected by benchmark. Memory Report for 44c05c2
|
Change in memory usage detected by benchmark. Memory Report for 94bfb0f
|
Change in memory usage detected by benchmark. Memory Report for cb50809
|
Change in memory usage detected by benchmark. Memory Report for 23a28e2
|
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
Change in memory usage detected by benchmark. Memory Report for 37b3e22
|
Change in memory usage detected by benchmark. Memory Report for 3a3498d
|
Change in memory usage detected by benchmark. Memory Report for bf92955
|
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.
Signed off with some minor comments, nothing that I think prevents merging (especially since we may follow up with unifying Measurement and Reset handling using this infrastructure after the release).
Co-authored-by: César Zaragoza Cortés <cesarzc@microsoft.com>
Change in memory usage detected by benchmark. Memory Report for 8e3f8d2
|
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.
Signing off, looking forward to the unification PR!
This PR adds support for custom resets using the
@Reset
attribute. It consists of the following changes:@Reset
attribute to the language."irreversible"
attribute.qsc_passes
based on the@Reset
attribute.#1
irreversible attribute in QIR when calling the Reset operation.