French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Quaternion.from_euler

classmethod Quaternion.from_euler(angles, order='yzy')[source]

Generate a quaternion from a set of Euler angles.

Paramètres
  • angles (array_like) – Array of Euler angles.

  • order (str) – Order of Euler rotations. “yzy” is default.

Renvoie

Quaternion representation of Euler rotation.

Type renvoyé

Quaternion