View source on GitHub |
Transformers for compiling to Google-specific gates, such as Sycamore.
Modules
analytical_decompositions
module
sycamore_gauge
module: A gauge transformer for the Sycamore gate.
target_gatesets
module: cirq.CompilationTargetGateset
implementations for cirq_google gatesets and devices.
Classes
class GoogleCZTargetGateset
: cirq.CZTargetGateset
implementation tailored to Google devices.
class SycamoreTargetGateset
: Target gateset containing Sycamore + single qubit rotations + Measurement gates.
Functions
known_2q_op_to_sycamore_operations(...)
: Synthesizes a known two-qubit operation using cirq_google.SYC
+ single qubit rotations.
two_qubit_matrix_to_sycamore_operations(...)
: Decomposes a two-qubit unitary matrix into cirq_google.SYC
+ single qubit rotations.