cirq.google.GateTabulation

class cirq.google.GateTabulation(base_gate: numpy.ndarray, kak_vecs: numpy.ndarray, single_qubit_gates: Sequence[Sequence[Tuple[numpy.ndarray, numpy.ndarray]]], max_expected_infidelity: float, summary: str, missed_points: Tuple[numpy.ndarray, …])[source]

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

__init__(base_gate: numpy.ndarray, kak_vecs: numpy.ndarray, single_qubit_gates: Sequence[Sequence[Tuple[numpy.ndarray, numpy.ndarray]]], max_expected_infidelity: float, summary: str, missed_points: Tuple[numpy.ndarray, …]) → None

Initialize self. See help(type(self)) for accurate signature.

Methods

compile_two_qubit_gate(unitary)

Compute single qubit gates required to compile a desired unitary.