We're celebrating World Quantum Day 2022! Join us

Module: cirq.transformers.analytical_decompositions.two_qubit_to_cz

Utility methods for decomposing two-qubit unitaries into CZ gates.

Functions

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

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

two_qubit_matrix_to_diagonal_and_operations(...): THIS FUNCTION IS DEPRECATED.

two_qubit_matrix_to_operations(...): THIS FUNCTION IS DEPRECATED.