dq.sigmap
sigmap(*, layout: Layout | None = None) -> QArray
Returns the Pauli raising operator \(\sigma_+\).
It is defined by \(\sigma_+ = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}\).
Parameters
-
layout
–
Matrix layout (
dq.dense
,dq.dia
orNone
).
Returns
(qarray of shape (2, 2)) Pauli \(\sigma_+\) operator.
Examples
>>> dq.sigmap()
QArray: shape=(2, 2), dims=(2,), dtype=complex64, layout=dia, ndiags=1
[[ â‹… 1.+0.j]
[ â‹… â‹… ]]