Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I run using IBM Quantum computer, there is a warning msg and no output result #120

Open
BassantTolba1234 opened this issue Sep 15, 2022 · 0 comments

Comments

@BassantTolba1234
Copy link

Please all, I made an account on IBM and got my API key. Then I tried to run a code on google Collab using IBM real quantum computer:
I attached below the two methods I used, but the same warning message appears with no any result output of code, just a warning msg in all training phase.

Here are the two methods I used
try:
qiskit.IBMQ.enable_account("MY IBM saved key")
except:
pass

backend = qiskit.IBMQ.get_provider().get_backend("ibmq_qasm_simulator")
#else:

Second method is
IBMQ.save_account('MY IBM saved key')
IBMQ.load_account()
provider = IBMQ.get_provider(hub='ibm-q', group='open', project='main')
provider.backends()
backend = provider.get_backend('ibmq_qasm_simulator')

The warning message appears without any result for executing the code is

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant