-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds basic PhasedISwapPow gate to Sycamore decomposition function (#2629
) [EDITED] This algorithm works as follows: - If `exponent` is 1, decompose the circuit into `ZPowGate`s and an `ISWAP`, which takes 12 one-qubit operations and 3 applications of the Sycamore gate. - Othwerise, if `phase_exponent` is .25, decompose the circuit into a static set of gates with coefficient, which takes 19 one-qubit operations and 4 applications of the Sycamore gate. This is the one that was in Cirq Internal. - If neither of these constraints are satisfied, throw an error.
- Loading branch information
1 parent
933329b
commit 5968ccd
Showing
2 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters