|View source on GitHub|
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