Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Quaternion.to_matrix

Quaternion.to_matrix()[source]

Converts a unit-length quaternion to a rotation matrix.

Returns

Rotation matrix.

Return type

ndarray