magnopy.SpinHamiltonian.p1#

property

property SpinHamiltonian.p1: list#

Parameters of (one spin & one site) term of the Hamiltonian.

\[\boldsymbol{J}_1(\boldsymbol{r}_{\alpha})\]

of the term

\[C_1 \sum_{\mu, \alpha, i} J_1^i(\boldsymbol{r}_{\alpha}) S_{\mu,\alpha}^i\]
Returns:
parameterslist

List of parameters. The list has a form of

[[alpha, J], ...]

0 <= len(parameters) <= len(spinham.atoms.names).

where alpha is an index of the atom to which the parameter is assigned and J is a (3, ) numpy.ndarray. The parameters are sorted by the index of an atom alpha in the ascending order.

See also

add_1
remove_1