magnopy.SpinHamiltonian.remove_21#
method
- SpinHamiltonian.remove_21(alpha: int) None#
Removes a parameter of two spins & one site term of the Hamiltonian (partition 2+0).
Deprecated since version 0.5.0: Use
SpinHamiltonian.remove()instead.See Spin Hamiltonian for the definition of the relevant term of the Hamiltonian.
- Parameters:
- alphaint
Index of an atom in the unit cell, with which the parameter is associated.
0 <= alpha < len(spinham.atoms.names).
See also