![]() |
Breaks down a 2x2 unitary into more useful ZYZ angle parameters.
cirq.deconstruct_single_qubit_matrix_into_angles(
mat: np.ndarray
) -> Tuple[float, float, float]
Args | |
---|---|
mat
|
The 2x2 unitary matrix to break down. |
Returns | |
---|---|
A tuple containing the amount to phase around Z, then rotate around Y, then phase around Z (all in radians). |