Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.quantum_info.euler_angles_1q

euler_angles_1q(unitary_matrix)

GitHub

DEPRECATED: Compute Euler angles for a single-qubit gate.

Find angles (theta, phi, lambda) such that unitary_matrix = phase * Rz(phi) * Ry(theta) * Rz(lambda)

Parameters

unitary_matrix (ndarray) – 2x2 unitary matrix

Returns

(theta, phi, lambda) Euler angles of SU(2)

Return type

tuple

Raises

QiskitError – if unitary_matrix not 2x2, or failure

Was this page helpful?
Report a bug or request content on GitHub.