lime/superoperator.py
def correlation_4op_2t(self, rho0, ops, tlist, taulist, k=None):
        """
        Compute <A(t)B(t+tau)C(t)> by diagonalizing the Liouvillian.

        Returns
        -------
        1D array.
            correlation function.

        """
        if len(ops) != 4:
            raise ValueError('Number of operators is not 4.')
        else:
            a, b, c, d = ops

        corr = self.correlation_3op_2t(rho0=rho0, ops=[a, b@c, d], tlist=tlist, \
                                       taulist=taulist, k=k)
        return corr

        Compute <A(t)B(t+tau)C(t)> by diagonalizing the Liouvillian.

        Returns
        -------
        1D array.
            correlation function.

        
Compute  by diagonalizing the Liouvillian.
Returns

1D array.
correlation function.
Compute by diagonalizing the Liouvillian . Returns 1D array . correlation function .
def correlation_4op_2t(self, rho0, ops, tlist, taulist, k=None):
        if len(ops) != 4:
            raise ValueError('Number of operators is not 4.')
        else:
            a, b, c, d = ops
        corr = self.correlation_3op_2t(rho0=rho0, ops=[a, b@c, d], tlist=tlist, \
                                       taulist=taulist, k=k)
        return corr
def correlation_4op_2t ( self , rho0 , ops , tlist , taulist , k = None ) : if len ( ops ) != 4 : raise ValueError ( 'Number of operators is not 4.' ) else : a , b , c , d = ops corr = self . correlation_3op_2t ( rho0 = rho0 , ops = [ a , b @ c , d ] , tlist = tlist , taulist = taulist , k = k ) return corr
Compute <A(t)B(t+tau)C(t)> by diagonalizing the Liouvillian.
Compute <A ( t ) B ( t + tau ) C ( t ) > by diagonalizing the Liouvillian .
"""
        Compute <A(t)B(t+tau)C(t)> by diagonalizing the Liouvillian.

        Returns
        -------
        1D array.
            correlation function.

        """
self
rho0
ops
tlist
taulist
k