Giter Site home page Giter Site logo

Comments (5)

rtvuser1 avatar rtvuser1 commented on July 30, 2024

It looks like you are running this from a local directory ... Pytorch_Study_Workspace\Benchmark_dj

This .py file will not run in isolation. It requires the __common directory to reside in parallel as it imports files from _common to manage job execution and collect/plot metrics. It was done this way to avoid having to create and install a "benchmark support package".

The best way to run these benchmarks is in the top-level directory of the QC-App-Oriented-Benchmarks repository, using the Jupyter notebook benchmarks-qiskit.ipynb, as described in the README. This notebook executes all the benchmarks if you do a "Run All".

Alternatively, you can execute each benchmark in its respective subdirectory, e.g qiskit/deutsch-jozsa with a simple python dj_benchmark.py.

Please let us know if you get past this Issue so that it can be resolved.

from qc-app-oriented-benchmarks.

manu123416 avatar manu123416 commented on July 30, 2024

I added the commons directory in the project. Getting the below result.
image
The directory structure of my project looks like as below:
image
I hope this is the expected result.
I only have the access to the Qasm simulator.

from qc-app-oriented-benchmarks.

rtvuser1 avatar rtvuser1 commented on July 30, 2024

Yes that looks correct.
Using the simulator, the circuit creation and execution time is very small, the fidelity of execution is high (~1.0) and the circuit depth is relatively constant (for DJ).
However, there should be another plot that gets produced, the volumetric plot showing the circuit profile.

Try the other benchmarks, you will see more interesting results (DJ is very limited in what it does). Best way to run is in the Jupyter notebook that is at the top level, where everything is configured to run all the benchmarks. (note that it has the extension .template which you need to remove when you copy the file).

You can also reference the READM at top level and this paper for more info: https://arxiv.org/abs/2110.03137

I will leave this Issue open for a little longer. Please feel free to ask additional questions here.
I'll close this Issue once you let me know you have a good handle on things.

from qc-app-oriented-benchmarks.

rtvuser1 avatar rtvuser1 commented on July 30, 2024

Closing this issue for now

from qc-app-oriented-benchmarks.

rtvuser1 avatar rtvuser1 commented on July 30, 2024

Closing for now, as new issue created for new issues

from qc-app-oriented-benchmarks.

Related Issues (16)

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.