Comments (5)
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.
I added the commons directory in the project. Getting the below result.
The directory structure of my project looks like as below:
I hope this is the expected result.
I only have the access to the Qasm simulator.
from qc-app-oriented-benchmarks.
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.
Closing this issue for now
from qc-app-oriented-benchmarks.
Closing for now, as new issue created for new issues
from qc-app-oriented-benchmarks.
Related Issues (16)
- (AE/MC) Controlled Circuits in Braket
- MCX Shim in braket grover's doesn't work
- hamiltonian-simulation is throwing the error HOT 3
- Circuit depth in the paper :Application-Oriented Performance Benchmarks for Quantum Computing
- Problem in executing the vqe code HOT 6
- Let's add benchmarks for Quantum Wavelet Transforms HOT 1
- Add High Level Intuition README sections
- Qiskit transpilation for circuit depth determination is slow; cache data for performance
- Implement optional execution of multiple circuits in each job in Qiskit version
- polarization fidelity is not a valid comparator HOT 4
- [new feature] Add possibility of multiple transpilation passes in Qiskit HOT 1
- Figure 9 from paper does not use proper depth HOT 5
- No ability to specify which qubits used in Qiskit transpiler HOT 10
- Generating invalid expected distribution
- `execute` performance vs simple qiskit execute calls on simulator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qc-app-oriented-benchmarks.