Skip to content

Commit 55d0fe7

Browse files
author
Abraham Asfaw
authored
Merge pull request #45 from ordmoj/master
Minor Notebook fixes
2 parents 14b2a78 + b1432e2 commit 55d0fe7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

qiskit_advocates/meetups/09_23_19-Hassi_Norlen-Morgan_State_Uni/1_3_coin_toss_IBMQ.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
},
178178
"outputs": [],
179179
"source": [
180-
"print(result)"
180+
"print(job.result())"
181181
]
182182
},
183183
{

qiskit_advocates/meetups/09_23_19-Hassi_Norlen-Morgan_State_Uni/1_4_bell_state.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
"if n_qubits > backend.configuration().n_qubits:\n",
380380
" print(\"Your circuit contains too many qubits (\",n_qubits,\"). Start over!\")\n",
381381
"else:\n",
382-
" job = execute(qc, backend, shots=1000)\n",
382+
" job = execute(qc2, backend, shots=1000)\n",
383383
" job_monitor(job)"
384384
]
385385
},
@@ -405,7 +405,7 @@
405405
"outputs": [],
406406
"source": [
407407
"result = job.result()\n",
408-
"counts = result.get_counts(qc)\n",
408+
"counts = result.get_counts(qc2)\n",
409409
"print(counts)\n",
410410
"plot_histogram(counts)"
411411
]

0 commit comments

Comments
 (0)