Skip to content

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

Open
@BassantTolba1234

Description

@BassantTolba1234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions