Skip to content

Commit 910a4bd

Browse files
committed
Fixed commented out code to current version of qiskit in case users want to run on devices rather than simulators
1 parent 3006d8a commit 910a4bd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

terra/qis_intro/entanglement_introduction.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"\n",
101101
"# Uncomment the following lines to run on a real device\n",
102102
"# IBMQ.load_accounts()\n",
103-
"# from qiskit.backends.ibmq import least_busy\n",
103+
"# from qiskit.providers.ibmq import least_busy\n",
104104
"# backend = least_busy(IBMQ.backends(operational=True, simulator=False))\n",
105105
"# print(\"the best backend is \" + backend.name())"
106106
]
@@ -714,7 +714,7 @@
714714
"name": "python",
715715
"nbconvert_exporter": "python",
716716
"pygments_lexer": "ipython3",
717-
"version": "3.7.2"
717+
"version": "3.7.3"
718718
}
719719
},
720720
"nbformat": 4,

terra/qis_intro/superposition.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"\n",
101101
"# Uncomment the following lines to run on a real device\n",
102102
"#IBMQ.load_accounts()\n",
103-
"#from qiskit.backends.ibmq import least_busy\n",
103+
"#from qiskit.providers.ibmq import least_busy\n",
104104
"#backend = least_busy(IBMQ.backends(operational=True, simulator=False))\n",
105105
"#print(\"the best backend is \" + backend.name())"
106106
]
@@ -652,7 +652,7 @@
652652
"name": "python",
653653
"nbconvert_exporter": "python",
654654
"pygments_lexer": "ipython3",
655-
"version": "3.7.2"
655+
"version": "3.7.3"
656656
}
657657
},
658658
"nbformat": 4,

terra/qis_intro/teleportation_superdensecoding.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@
677677
"\n",
678678
"# Uncomment the following lines to run on a real device\n",
679679
"# IBMQ.load_accounts()\n",
680-
"# from qiskit.backends.ibmq import least_busy\n",
680+
"# from qiskit.providers.ibmq import least_busy\n",
681681
"# backend = least_busy(IBMQ.backends(operational=True, simulator=False))\n",
682682
"# print(\"the best backend is \" + backend.name())\n",
683683
"\n",
@@ -722,7 +722,7 @@
722722
"name": "python",
723723
"nbconvert_exporter": "python",
724724
"pygments_lexer": "ipython3",
725-
"version": "3.7.2"
725+
"version": "3.7.3"
726726
}
727727
},
728728
"nbformat": 4,

0 commit comments

Comments
 (0)