Giter Site home page Giter Site logo

Comments (2)

rtvuser1 avatar rtvuser1 commented on July 30, 2024

There was a recent update to the HHL code (last few days). When we run the hhl notebook as committed to the master branch, this is the plot that results:

image

Additionally, the output you are showing includes some print statements that were used for debugging but have been removed (specifically the initializing and rem lines). You can enable verbose mode by adding this line prior to the call to run() in the cell that executes the benchmark:

hhl_benchmark.verbose=True

with this enabled you should see even more output that you are seeing.
Can you please verify that you have the latest code from the master branch?

Note: that calculation ((2off_diag_index)*(3b) does have a known problem, a bit different from what you described. Turns out that once you get to larger qubit numbers like 15+, we get an integer overflow error as the exponentials grow too large.
This will be changed at some point. Basically, that formula is just used to create a unique identifier that is used to identify the particular instance of the input parameters for each circuit execution.
At the top of the notebook, there is a variable, max_circuits=3, that indicates how many different input combinations to run at each qubit width. The formula that includes the 1000 is used to create a unique index containing the instance index, combined with the diag and b values associated with the input.

from qc-app-oriented-benchmarks.

lbwei1016 avatar lbwei1016 commented on July 30, 2024

Oh yes! I have changed max_circuit=3 to max_circuit=1 accidentally, which led to the plot in my first post. After I specify max_circuit=3, my output plot becomes similar to yours. Thanks for your help and nice clarification! :)

from qc-app-oriented-benchmarks.

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.