joselado / dmrgpy

DMRGPy is a Python library to compute quasi-one-dimensional spin chains and fermionic systems using matrix product states with DMRG as implemented in ITensor. Most of the computations can be performed both with DMRG and exact diagonalization for small systems, which allows one to benchmark the results.
GNU General Public License v3.0
87 stars 20 forks source link

Installtion issue #10

Closed 000sadaf closed 2 years ago

000sadaf commented 2 years ago

Hi, my name sadaf i am new to python and coding. I am using jupyter notebook. How I install DMRGpy using pip? I am also using window10. Thanks

joselado commented 2 years ago

Dear 000sadaf,

thank you for your message. Unfortunately, the code does not work in Windows. You can see in the README the instructions to install the code in Linux (unfortunately, so far the code cannot be installed via pip). In your case, you could install a Virtual Machine with Linux in your computer and perform the calculations there.

Best regards, Jose

000sadaf commented 2 years ago

Hello sir, I had successfully install the DMRGpy in my laptop but I am facing several problems. I ran the code for ground state energy for 1d Heisenberg hamiltonian. But I am facing some errors 'import error: numba needs numpy 1.20 Or less'. I already have installed numpy 1.20. And there is no documentation for DMRGpy nad no tutorial for this module. How to solve this problem? Also I have a request can you please tell me that how to make a code for spin Correlation for 1d Heisenberg spin Hamiltonian without using dmrg module.

I had made the code for eigen value and eigen function for 1d Heisenberg hamiltonian using numpy and sympy. But facing a problem for spin correlation function. Thank you so much Best regards Sadaf

On Tue, 2 Nov, 2021, 7:34 pm Jose Lado, @.***> wrote:

Dear 000sadaf,

thank you for your message. Unfortunately, the code does not work in Windows. You can see in the README the instructions to install the code in Linux (unfortunately, so far the code cannot be installed via pip). In your case, you could install a Virtual Machine with Linux in your computer and perform the calculations there.

Best regards, Jose

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joselado/dmrgpy/issues/10#issuecomment-957646676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKC3PYX7IRR7W6Q7HQS36TUJ7VWDANCNFSM5HGRBBUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.