SU(2)¶
- class groups.su2.SU2(J, dtype=torch.float64, device='cpu')[source]¶
- Parameters:
J (int) – highest weight
dtype (torch.dtype) – data type of matrix representation of operators
device (int) – device on which the torch.tensor objects are stored
Build a representation J of SU(2) group. The J corresponds to (physics) spin irrep notation as spin \(S = (J-1)/2\).
The raising and lowering operators are defined as:
\[\begin{split}\begin{align*} S^+ &=S^x+iS^y & S^x &= 1/2(S^+ + S^-)\\ S^- &=S^x-iS^y\ \Rightarrow\ & S^y &=-i/2(S^+ - S^-) \end{align*}\end{split}\]- S()[source]¶
- Returns:
rank-3 tensor containing spin generators [S^z, S^x, S^y]
- Return type:
torch.tensor