Skip to content

Commit 6a2dbc6

Browse files
author
Abraham Asfaw
authored
Merge pull request #11 from yaelbh/new_ibmq
Updated one notebook to new ibmq
2 parents 0a7f090 + 49c19af commit 6a2dbc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ignis/repetition_code.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
"from qiskit.compiler import transpile\n",
123123
"from qiskit.transpiler import PassManager\n",
124124
"\n",
125-
"IBMQ.load_accounts()\n",
126-
"backend = IBMQ.get_backend('ibmq_16_melbourne')\n",
125+
"provider = IBMQ.load_account()\n",
126+
"backend = provider.get_backend('ibmq_16_melbourne')\n",
127127
"qc0 = transpile(code.circuit['0'], backend=backend)\n",
128128
"qc1 = transpile(code.circuit['1'], backend=backend)"
129129
]

0 commit comments

Comments
 (0)