single_qubit_matrix_to_pauli_rotations(mat: numpy.ndarray, atol: float = 0) → List[Tuple[cirq.ops.pauli_gates.Pauli, float]]¶
Implements a single-qubit operation with few rotations.
- mat – The 2x2 unitary matrix of the operation to implement.
- atol – A limit on the amount of absolute error introduced by the construction.
A list of (Pauli, half_turns) tuples that, when applied in order, perform the desired operation.