magnopy.SpinHamiltonian.remove_43#

method

SpinHamiltonian.remove_43(alpha: int, beta: int, gamma: int, nu: tuple, _lambda: tuple) None#

Removes a (four spins & three sites) parameter from the Hamiltonian.

Duplicates of the bonds are managed automatically (independently of the convention 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).

gammaint

Index of an atom from the _lambda unit cell.

0 <= gamma < 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.

\[\nu = (x_{\boldsymbol{a}_1}, x_{\boldsymbol{a}_2}, x_{\boldsymbol{a}_3})\]
_lambdatuple of 3 int

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

\[\lambda = (x_{\boldsymbol{a}_1}, x_{\boldsymbol{a}_2}, x_{\boldsymbol{a}_3})\]

See also

p43
add_43

Notes

If spinham.convention.multiple_counting is True, then this function removes all versions of the bond from the Hamiltonian.

If spinham.convention.multiple_counting is False, then this function removes the primary version of the given bond.

For the definition of the primary version see Multiple counting.