Module: cirq_google.optimizers.two_qubit_gates.gate_compilation

Attempt to tabulate single qubit gates required to generate a target 2Q gate

with a product A k A.


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

class TwoQubitGateCompilation: Represents a compilation of a target 2-qubit with respect to a base


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

reduce(...): reduce(function, sequence[, initial]) -> value