TransWikia.com

In the job tab, no histogram appears

Quantum Computing Asked by Ikky R on May 22, 2021

(Newbie here) Accessing IBM Q Experience on a Windows 7 operating system and using the Google Chorme browser. I can completely assemble my circuit, using the IBM Quantum Composer and when executing it goes to the area job, I hope to finish the whole process, but when I press to see the results, only what appears in the image appears, I can’t go down the page for the histogram presentation, however when accessing the same Job tab via my cell phone, the histogram and the circuit that was shown appear.

[Screenshot from IBM Q Experience]
enter image description here

One Answer

Strange.

This offers a way for you to retrieve your histogram but not exactly the solution to your problem. So hopefully it will be useful somehow.

First, note that each job you submitted has a job_ID. You actually can see it on the top left of your screenshot. You can "copy and paste" this JobID into line 6 of the script below

from qiskit import IBMQ
from qiskit.visualization import plot_histogram
%matplotlib inline
provider = IBMQ.load_account()
backend = provider.get_backend('ibmq_santiago')
job = backend.retrieve_job('ENTER JOB_ID HERE')
counts = job.result().get_counts()
plot_histogram(counts, color='black', title="Result")

Executing this script through the Jupyter Notebook provided in Quantum Lab will print out your Histogram. For instance, using a JobID for one of my old job, I printed out the following.

enter image description here

Again, not the exact solution to your question but at least this should provide you a way to retrieve your result, plot it, and not wasting your time having to rerun your experiment to get a new plot.

Correct answer by KAJ226 on May 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP