-
Notifications
You must be signed in to change notification settings - Fork 48
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 OpType.CnRx and OpType.CnRz #1405
Changes from 9 commits
0b18d8c
cd439bb
1ceaa37
1cdaeda
312a87c
b123b99
b6f5fa6
c5c9332
15bb3e7
578f639
4bd2756
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -608,6 +608,20 @@ enum class OpType { | |||||
*/ | ||||||
CnRy, | ||||||
|
||||||
/** | ||||||
* Multiply-controlled \ref OpType::Rz | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good spot, done |
||||||
* | ||||||
* The phase parameter is defined modulo \f$ 4 \f$. | ||||||
*/ | ||||||
CnRx, | ||||||
|
||||||
/** | ||||||
* Multiply-controlled \ref OpType::Rx | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
* | ||||||
* The phase parameter is defined modulo \f$ 4 \f$. | ||||||
*/ | ||||||
CnRz, | ||||||
|
||||||
/** | ||||||
* Multiply-controlled \ref OpType::X | ||||||
*/ | ||||||
|
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.
also check c1rx == crx?
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.
oops, yep will add back in!