magnopy.SpinHamiltonian.remove_21#

method

SpinHamiltonian.remove_21(alpha: int) None#

Removes a (two spins & one site) parameter from the Hamiltonian.

Parameters:
alphaint

Index of an atom, with which the parameter is associated.

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

See also

p21
add_21