Skip to content

Commit

Permalink
move runnerresult import (Qiskit#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyu00 authored May 10, 2021
1 parent 8c590a2 commit 3081031
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions 02_circuit_runner.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
}
],
"source": [
"\n",
"from qiskit import IBMQ\n",
"\n",
"IBMQ.load_account()\n",
Expand Down Expand Up @@ -225,7 +224,7 @@
}
],
"source": [
"from qiskit_runtime.circuit_runner import RunnerResult\n",
"from qiskit.providers.ibmq import RunnerResult\n",
"\n",
"backend = provider.backend.ibmq_montreal\n",
"\n",
Expand Down Expand Up @@ -290,7 +289,7 @@
}
],
"source": [
"from qiskit_runtime.circuit_runner import RunnerResult\n",
"from qiskit.providers.ibmq import RunnerResult\n",
"\n",
"backend = provider.backend.ibmq_montreal\n",
"\n",
Expand Down Expand Up @@ -355,7 +354,7 @@
"metadata": {},
"outputs": [],
"source": [
"result = provider.run_circuits(circuit, backend=backend, optimization_level=3).result(decoder=RunnerResult)"
"result = provider.run_circuits(circuit, backend=backend, optimization_level=3).result()"
]
},
{
Expand Down

0 comments on commit 3081031

Please sign in to comment.