Symmetrize.m

From Spinach Documentation Wiki
Jump to: navigation, search

Symmetrizes interaction tensors. This is required to avoid numerical instabilities associated with small asymmetries during the diagonali- zation process. Syntax:

                     A=symmetrize(spin_system,A)