grogupy._core.calc_Vu

grogupy._core.calc_Vu(H: ndarray[Any, dtype[_ScalarType_co]], Tu: ndarray[Any, dtype[_ScalarType_co]]) tuple[ndarray[Any, dtype[_ScalarType_co]], ndarray[Any, dtype[_ScalarType_co]]][source]

Calculates the local perturbation in case of a spin rotation.

Parameters

H: (NO, NO) NDArray

Hamiltonian

Tu: (NO, NO) array_like

Rotation around u

Returns

Vu1: (NO, NO) NDArray

First order perturbed matrix

Vu2: (NO, NO) NDArray

Second order perturbed matrix