# Correlation function for 1d Heisenberg hamiltonian

+1 vote

Hey,
I am currently using ubuntu and I know python a little and was made a program for Eigenvalus and eigen function for 1d Heisenberg hamiltonian in python using numpy and sympy.
But now I want to make a program for spin correlation function for same hamiltonian.
Am not sure how to make in python.
I never used Julia before. What to do....
I already installed DMRGpy but this is not working some import error it showing.
For the case of (2), please see the following examples of how to do (a) DMRG of the Heisenberg model and (b) compute a spin correlation function using the ITensor function called correlation_matrix