quant_met.mean_field.hamiltonians.ThreeBand.

hamiltonian_derivative#

ThreeBand.hamiltonian_derivative(k, direction)#

Calculate the spatial derivative of the Hamiltonian.

Parameters:
knumpy.ndarray

List of k points in reciprocal space.

directionstr

Direction for the derivative, either ‘x’ or ‘y’.

Returns:
class:

numpy.ndarray The derivative of the Hamiltonian matrix in the specified direction.