wangleiphy / BetaVQE.jl

Solving Quantum Statistical Mechanics with Variational Autoregressive Networks and Quantum Circuits
MIT License
33 stars 6 forks source link

Installing BetaVQE #1

Closed HamidArianZad closed 2 years ago

HamidArianZad commented 2 years ago

Dear Yao managers,

I could almost install all parts of Yao on my system except BetaVQE.jl. Actually, I get attached error. Could you please help me to resolve it?

Julia_betaVQE

wangleiphy commented 2 years ago

@GiggleLiu Would you please have a look?

GiggleLiu commented 2 years ago

Thanks for the issue. I just updated the dependencies. It should work now. Please check the updated installation guide in README too.

HamidArianZad commented 2 years ago

Dear Jinguo,

Thank you very much I could install BetaVQE and test it normally. Now, I am going to simulate the magnetization and specific heat of a particular 2D lattice in the presence of an external magnetic field as shown in below attached figure.

MartiniLattices

I want to follow the procedure that you have used in your publication Mach. Learn.: Sci. Technol. 2 (2021) 025011 for 3x3 lattice. Please let me know what is the starting point to do that and the steps from starting to executing code. Thanks!!

wangleiphy commented 2 years ago

I would imagine the first step is to get the Hamiltonian and the lattice right. For that, you may start by modifying these codes:
https://github.com/wangleiphy/BetaVQE.jl/blob/master/src/hamiltonian.jl