Module: cirq.optimizers.two_qubit_decompositions

Utility methods related to optimizing quantum circuits.

Functions

two_qubit_matrix_to_diagonal_and_operations(...): Decomposes a 2-qubit unitary to a diagonal and the remaining operations.

two_qubit_matrix_to_operations(...): Decomposes a two-qubit operation into Z/XY/CZ gates.

TYPE_CHECKING False