magnopy.SpinHamiltonian.remove_22#

method

SpinHamiltonian.remove_22(alpha: int, beta: int, nu: tuple) None#

Removes a parameter of two spins & two sites term of the Hamiltonian (partition 1+1).

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 from the (0, 0, 0) unit cell.

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

betaint

Index of an atom from the nu unit cell.

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

nutuple of 3 int

Three relative coordinates with respect to the three lattice vectors, that specify the unit cell for the second atom.