magnopy.SpinHamiltonian.remove_1#

method

SpinHamiltonian.remove_1(alpha: int) None#

Removes a (one spin & 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

p1
add_1