qit.utils.angular_momentum

qit.utils.angular_momentum(*args)

Angular momentum matrices.

Returns the dimensionless angular momentum matrices \(\vec{J} / \hbar\) for the d-dimensional subspace.

The angular momentum matrices fulfill the commutation relation \([J_x, J_y] = i J_z\) and all its cyclic permutations.

\(\exp(-1i * J[k] * \theta)\) is a rotation by \(\theta\) radians.

Parameters

d (int) – dimension, the corresponding angular momentum quantum number is j = (d-1)/2

Returns

3-tuple of angular momentum matrices (Jx, Jy, Jz)

Return type

tuple