Code Monkey home page Code Monkey logo

Comments (2)

GTorlai avatar GTorlai commented on June 10, 2024

In-place operations and projections into measurement eigenstates are done.

The Ising benchmark before, using xi=4:

Ep = 1  Loss = 1.03229E+01  Fidelity = 5.826E-01
Ep = 2  Loss = 9.97692E+00  Fidelity = 7.322E-01
Ep = 3  Loss = 9.94436E+00  Fidelity = 8.212E-01
Ep = 4  Loss = 9.93183E+00  Fidelity = 8.677E-01
Ep = 5  Loss = 9.92677E+00  Fidelity = 8.928E-01
793.939391 seconds (5.58 G allocations: 626.845 GiB, 9.90% gc time)

and after:

Ep = 1  Loss = 1.03221E+01  Fidelity = 5.826E-01
Ep = 2  Loss = 9.97791E+00  Fidelity = 7.386E-01
Ep = 3  Loss = 9.94415E+00  Fidelity = 8.197E-01
Ep = 4  Loss = 9.93238E+00  Fidelity = 8.684E-01
Ep = 5  Loss = 9.92604E+00  Fidelity = 8.925E-01
324.237601 seconds (3.14 G allocations: 310.805 GiB, 12.07% gc time)

Note: there are some small discrepancies in the fidelity.

from pastaq.jl.

GTorlai avatar GTorlai commented on June 10, 2024

It appears that the first simulation was done at a commit a little too early, where some other core functionalities has been modified afterwards. By running the code for a later commit, the results are compatible with the LPDO after in-place optimization.

from pastaq.jl.

Related Issues (20)

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.