We're celebrating World Quantum Day 2022! Join us

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