Search found 1 match

by yuanjk
26 Apr 2022, 12:25
Forum: HowTos and FAQ for TeNPy
Topic: calculate four-point correlation function
Replies: 1
Views: 1584

calculate four-point correlation function

Hello. Recently, I have calculated the four-point correlation function \braket{C^\dagger_{\downarrow,i} C^\dagger_{\uparrow,i+1} C_{\downarrow,j+1} C_{\uparrow,j}} by using the expectation_value_term(). def correlation(psi,a,b,c,d): L = psi.L f = np.zeros((L-1,L-1),dtype=complex) for i in range(L-1)...