Dear Sir, Thank you for the reply. However, the three lines given below is required to compute the spin polarized conductance.
ttdagger = G._a_ttdagger_a_inv(lead_out, lead_in) sigma_z_matrix = numpy.kron(np.eye(attdagger.shape[0]//2), sigma) return np.trace(sigma_z_matrix.dot(ttdagger)).real I want to calculate the spin polarized conductance between up/down left lead and up/down right lead. My question is, like smatrix((0,0),(0,0)) (for example), is it possible to calculate spin polarized conductance from the term sigma_z_matrix.dot(ttdagger). With Regards, Sudin Ganguly