lime/oqs.py
def redfield_tensor(self, secular=False):
        """
        compute the Redfield tensor represented in the eigenbasis of H

        The returned Redfield tensor contains the unitary dynamics and is defined as

        i d/dt rho =  R rho

        Parameters
        ----------
        spectra : list of callback functions
            DESCRIPTION.
        secular : TYPE, optional
            DESCRIPTION. The default is False.

        Returns
        -------
        TYPE
            DESCRIPTION.

        """
        H = self.H
        c_ops = self.c_ops

        if self.spectra is None:
            raise TypeError('Specify the bath spectral function.')
        else:
            spectra = self.spectra

        R, evecs = redfield_tensor(H, c_ops, spectra, secular)
        self.R = R
        self.evecs = evecs

        return R, evecs

        compute the Redfield tensor represented in the eigenbasis of H

        The returned Redfield tensor contains the unitary dynamics and is defined as

        i d/dt rho =  R rho

        Parameters
        ----------
        spectra : list of callback functions
            DESCRIPTION.
        secular : TYPE, optional
            DESCRIPTION. The default is False.

        Returns
        -------
        TYPE
            DESCRIPTION.

        
compute the Redfield tensor represented in the eigenbasis of H
The returned Redfield tensor contains the unitary dynamics and is defined as

i d/dt rho =  R rho

Parameters

spectra : list of callback functions
DESCRIPTION.
secular : TYPE, optional
DESCRIPTION. The default is False.

Returns

TYPE
DESCRIPTION.
compute the Redfield tensor represented in the eigenbasis of H The returned Redfield tensor contains the unitary dynamics and is defined as i d / dt rho = R rho Parameters spectra : list of callback functions DESCRIPTION . secular : TYPE optional DESCRIPTION . The default is False . Returns TYPE DESCRIPTION .
def redfield_tensor(self, secular=False):
        H = self.H
        c_ops = self.c_ops
        if self.spectra is None:
            raise TypeError('Specify the bath spectral function.')
        else:
            spectra = self.spectra
        R, evecs = redfield_tensor(H, c_ops, spectra, secular)
        self.R = R
        self.evecs = evecs
        return R, evecs
def redfield_tensor ( self , secular = False ) : H = self . H c_ops = self . c_ops if self . spectra is None : raise TypeError ( 'Specify the bath spectral function.' ) else : spectra = self . spectra R , evecs = redfield_tensor ( H , c_ops , spectra , secular ) self . R = R self . evecs = evecs return R , evecs
compute the Redfield tensor represented in the eigenbasis of H
The returned Redfield tensor contains the unitary dynamics and is defined as
compute the Redfield tensor represented in the eigenbasis of H The returned Redfield tensor contains the unitary dynamics and is defined as
"""
        compute the Redfield tensor represented in the eigenbasis of H

        The returned Redfield tensor contains the unitary dynamics and is defined as

        i d/dt rho =  R rho

        Parameters
        ----------
        spectra : list of callback functions
            DESCRIPTION.
        secular : TYPE, optional
            DESCRIPTION. The default is False.

        Returns
        -------
        TYPE
            DESCRIPTION.

        """
self
secular