Commit a5dceed
Fixing MS gate inverse is not implemented correctly (Issue 7432) (#7466)
Fixing MS gate inverse is not implemented correctly (Issue
#7432)
The MS gate has a theta entanglement angle parameter in it's signature,
with a 0.25 default value. The problems that need to be corrected here
is that when implementing the inverse MS gate the theta parameter is not
applied, and instead implicitly its default value is being used when
specifying inverse of MS in terms of MS.
Code and tests were updated.
---------
Co-authored-by: Michael Hucka <mhucka@caltech.edu>1 parent 346c95b commit a5dceed
File tree
2 files changed
+5
-2
lines changed- cirq-ionq/cirq_ionq
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
0 commit comments