( 1 ) terms#
Linear terms of the Hamiltonian are trivial and do not split into extra types.
\[\begin{split}C_1
\sum_{\substack{\mu, \\ \alpha_1, \\ i_1}}
J^{i_1}_{\alpha_1}
S_{\mu, \alpha_1}^{i_1}\end{split}\]
Relevant API#
-
Convention constant.
-
Method to add the parameter to the Hamiltonian.
magnopy.SpinHamiltonian.remove()Method to remove the parameter from the Hamiltonian.
-
An iterator over the parameters already added to the Hamiltonian.