Commit de6ca2d
authored
Better decomposition of SWAP into ISWAP ** 0.5 (#2682)
* Better decomposition of SWAP into ISWAP ** 0.5
- Shortens length from 13 moments to 7 moments.
- Decomposition courtesy of @john6060 via @mpharrigan .
Fixes #26351 parent 575ae93 commit de6ca2d
File tree
2 files changed
+16
-1
lines changed- cirq/google/optimizers
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
265 | 280 | | |
266 | 281 | | |
267 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments