lime/Floquet.py
def HamiltonFT(H0, H1, n):
    """
    Fourier transform of the Hamiltonian matrix, required to construct the
    Floquet Hamiltonian

    INPUT
        n : Fourier component index
        M : dipole matrix
    """
    Norbs = H0.shape[-1]

    if n == 0:

        return H0

    elif n == 1 or n == -1:
        return H1

    else:
        return np.zeros((Norbs,Norbs))

    Fourier transform of the Hamiltonian matrix, required to construct the
    Floquet Hamiltonian

    INPUT
        n : Fourier component index
        M : dipole matrix
    
Fourier transform of the Hamiltonian matrix, required to construct the
Floquet Hamiltonian

INPUT
n : Fourier component index
M : dipole matrix
Fourier transform of the Hamiltonian matrix required to construct the Floquet Hamiltonian INPUT n : Fourier component index M : dipole matrix
def HamiltonFT(H0, H1, n):
    Norbs = H0.shape[-1]
    if n == 0:
        return H0
    elif n == 1 or n == -1:
        return H1
    else:
        return np.zeros((Norbs,Norbs))
def HamiltonFT ( H0 , H1 , n ) : Norbs = H0 . shape [ - 1 ] if n == 0 : return H0 elif n == 1 or n == - 1 : return H1 else : return np . zeros ( ( Norbs , Norbs ) )
Fourier transform of the Hamiltonian matrix, required to construct the
Floquet Hamiltonian
Fourier transform of the Hamiltonian matrix required to construct the Floquet Hamiltonian
"""
    Fourier transform of the Hamiltonian matrix, required to construct the
    Floquet Hamiltonian

    INPUT
        n : Fourier component index
        M : dipole matrix
    """
H0
H1
n