Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.quantum_info.euler_angles_1q

euler_angles_1q(unitary_matrix)[código fonte]

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)

Parâmetros

unitary_matrix (ndarray) – 2x2 unitary matrix

Retorna

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

Tipo de retorno

tuple

Levanta

QiskitError – if unitary_matrix not 2x2, or failure