Git Product home page Git Product logo

betavqe.jl's People

Contributors

akio-tomiya avatar giggleliu avatar wangleiphy avatar yidaizhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

betavqe.jl's Issues

Statistical error?

Hi, now I can successfully execute the code.
I want to know, how can I put statistical error for sampling?
I think there are two sources, one is for p and another is from quantum part.
What values in JLD2 is the mean values, right?

Solving 2D kagome lattice with BetaVQE.jl

Dear BetaVQE group,

I would like to solve a Heisenberg XXX model on a 2D kagome lattice with more than 24 sites by using BetaVQE. The model is considered in the presence of a longitudinal magnetic field. Then I would like to obtain some results for the magnetization versus magnetic field at low temperature. To do so, I installed julia, Yao.jl, YaoExtention.jl, and BetaVQE.jl.
Could you please let me know from where I have to begin to introduce my model to your package more efficiently? As the sample model in Fig. 2 of your publication Mach. Learn.: Sci. Technol. 2 (2021) 025011.
And could you let me have your sample code by which you simulated Fig. 4 in Mach. Learn.: Sci. Technol. 2 (2021) 025011?

Installing BetaVQE

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

How can I change hamiltonian?

Hi

I would like to use the betaVQE on a different system.
Which part should I change?
I plan to apply it on a Heisenberg type but different system.

Does not work

Hi

I attempt execute the code (without any modification) but it does not work.
All of the tests have been passed.

I tried 2 OS and 3 versions of Julia

  1. Julia 1.7.2 on Ubuntu and Apple silicon
    julia> versioninfo()
    Julia Version 1.7.2
    Commit bf53498635 (2022-02-06 15:21 UTC)
    Platform Info:
    OS: macOS (arm64-apple-darwin21.2.0)
    CPU: Apple M1
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-12.0.1 (ORCJIT, cyclone)

  2. Julia 1.6 and 1.6.6 on Ubuntu
    julia> versioninfo()
    Julia Version 1.6.0
    Commit f9720dc2eb (2021-03-24 12:55 UTC)
    Platform Info:
    OS: Linux (x86_64-pc-linux-gnu)
    CPU: Intel(R) Xeon(R) W-2265 CPU @ 3.50GHz
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-11.0.1 (ORCJIT, cascadelake)

The error message is as follows,

$ julia --project runner.jl learn 2 2 2.0 2.0
ERROR: LoadError: ArgumentError: Package JLD2 does not have OrderedCollections in its dependencies:
- If you have JLD2 checked out for development and have
  added OrderedCollections as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with JLD2
Stacktrace:
 [1] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:884
 [2] include
   @ ./Base.jl:386 [inlined]
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
   @ Base ./loading.jl:1213
 [4] top-level scope
   @ none:1
 [5] eval
   @ ./boot.jl:360 [inlined]
 [6] eval(x::Expr)
   @ Base.MainInclude ./client.jl:446
 [7] top-level scope
   @ none:1
in expression starting at /home/akio/.julia/packages/JLD2/k9Gt0/src/JLD2.jl:1
ERROR: LoadError: Failed to precompile JLD2 [033835bb-8acc-5ee8-8aae-3f567f8a3819] to /home/akio/.julia/compiled/v1.6/JLD2/jl_veIVCd.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901
in expression starting at /home/akio/.julia/dev/BetaVQE/runner.jl:2

All error messages are same.
Julia has been installed though Jill.

What kind of environment do you assume?
Thank you in advance.

Non-equilibrium many-body physics

Dear Wang,

Do Yao.jl and BetaVQE.jl support non-equilibrium many-body physics?
If so, how can I simulate the magnetization, specific heat and the internal energy of a quantum system (2D lattice) out of equilibrium?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.