magnopy.SpinHamiltonian.p21#
property
- property SpinHamiltonian.p21: list#
Parameters of (two spins & one site) term of the Hamiltonian.
\[\boldsymbol{J}_{2,1}(\boldsymbol{r}_{\alpha})\]of the term
\[C_{2,1} \sum_{\mu, \alpha, i, j} J^{ij}_{2,1}(\boldsymbol{r}_{\alpha}) S_{\mu,\alpha}^i S_{\mu,\alpha}^j\]- Returns:
- parameterslist
List of parameters. The list has a form of
[[alpha, J], ...]
0 <= len(parameters) <= len(spinham.atoms.names).where
alphais an index of the atom to which the parameter is assigned andJis a (3, ) numpy.ndarray. The parameters are sorted by the index of an atomalphain the ascending order.