Skip to content

dq.sigmay

sigmay() -> Array

Returns the Pauli \(\sigma_y\) operator.

It is defined by \(\sigma_y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}\).

Returns

(array of shape (2, 2)) Pauli \(\sigma_y\) operator.

Examples

>>> dq.sigmay()
Array([[ 0.+0.j, -0.-1.j],
       [ 0.+1.j,  0.+0.j]], dtype=complex64)