cirq_google.transformers.known_2q_op_to_sycamore_operations

Synthesizes a known two-qubit operation using cirq_google.SYC + single qubit rotations.

This function dispatches to various known gate decompositions based on gate type. Currently, the following gates are known:

1. Adjacent <a href="https://quantumai.google/reference/python/cirq/SWAP"><code>cirq.SWAP</code></a> and <a href="https://quantumai.google/reference/python/cirq/ZPowGate"><code>cirq.ZPowGate</code></a> wrapped in a circuit operation of length 2.
2. <a href="https://quantumai.google/reference/python/cirq/PhasedISwapPowGate"><code>cirq.PhasedISwapPowGate</code></a> with exponent = 1 or phase_exponent = 0.25.
3. <a href="https://quantumai.google/reference/python/cirq/SWAP"><code>cirq.SWAP</code></a>, <a href="https://quantumai.google/reference/python/cirq/ISWAP"><code>cirq.ISWAP</code></a>.
4. <a href="https://quantumai.google/reference/python/cirq/CNotPowGate"><code>cirq.CNotPowGate</code></a>, <a href="https://quantumai.google/reference/python/cirq/CZPowGate"><code>cirq.CZPowGate</code></a>, <a href="https://quantumai.google/reference/python/cirq/ZZPowGate"><code>cirq.ZZPowGate</code></a>.

op Operation to decompose.

  • A cirq.OP_TREE that implements the given known operation using only cirq_google.SYC + single qubit rotations OR
  • None if op is not a known operation.