Module: cirq_google.optimizers

Package for optimizers and gate compilers related to Google-specific devices.

Modules

convert_to_sqrt_iswap module

convert_to_sycamore_gates module

convert_to_xmon_gates module

optimize_for_sycamore module: A combination of several optimizations targeting XmonDevice.

optimize_for_xmon module: A combination of several optimizations targeting XmonDevice.

two_qubit_gates module

Classes

class ConvertToSqrtIswapGates: Attempts to convert gates into ISWAP**-0.5 gates.

class ConvertToSycamoreGates: Attempts to convert non-native gates into SycamoreGates.

class ConvertToXmonGates: Attempts to convert strange gates into XmonGates.

class GateTabulation: A 2-qubit gate compiler based on precomputing/tabulating gate products.

Functions

gate_product_tabulation(...): Generate a GateTabulation for a base two qubit unitary.

optimized_for_sycamore(...): Optimizes a circuit for Google devices.

optimized_for_xmon(...)