Skip to content

Commit 739b292

Browse files
committed
replaced load_accounts with load_account
1 parent 6de54e7 commit 739b292

File tree

51 files changed

+51
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+51
-51
lines changed

Cryptography/QRandom.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"from qiskit.visualization import plot_state_city\n",
1616
"import matplotlib.pyplot as plt\n",
1717
"# Loading your IBM Q account(s)\n",
18-
"IBMQ.load_accounts()\n",
18+
"IBMQ.load_account()\n",
1919
"import numpy as np"
2020
]
2121
},

algorithms/bernstein_vazirani.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"outputs": [],
172172
"source": [
173173
"# Load our saved IBMQ accounts.\n",
174-
"IBMQ.load_accounts()"
174+
"IBMQ.load_account()"
175175
]
176176
},
177177
{

algorithms/deutsch_jozsa.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"outputs": [],
143143
"source": [
144144
"# Load our saved IBMQ accounts\n",
145-
"IBMQ.load_accounts()"
145+
"IBMQ.load_account()"
146146
]
147147
},
148148
{

algorithms/grover_algorithm.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@
486486
"metadata": {},
487487
"outputs": [],
488488
"source": [
489-
"IBMQ.load_accounts()"
489+
"IBMQ.load_account()"
490490
]
491491
},
492492
{

algorithms/iterative_phase_estimation_algorithm.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"outputs": [],
133133
"source": [
134134
"# Load saved IBMQ accounts\n",
135-
"IBMQ.load_accounts()"
135+
"IBMQ.load_account()"
136136
]
137137
},
138138
{

algorithms/simon_algorithm.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"outputs": [],
149149
"source": [
150150
"# Load the saved IBMQ accounts\n",
151-
"IBMQ.load_accounts()"
151+
"IBMQ.load_account()"
152152
]
153153
},
154154
{

awards/teach_me_qiskit_2018/elementary_arithmetic_operations/elementary_arithmetic_operations.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"metadata": {},
7474
"outputs": [],
7575
"source": [
76-
"IBMQ.load_accounts()"
76+
"IBMQ.load_account()"
7777
]
7878
},
7979
{

awards/teach_me_qiskit_2018/hadamard_action/hadamard_action.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
"metadata": {},
812812
"outputs": [],
813813
"source": [
814-
"IBMQ.load_accounts()"
814+
"IBMQ.load_account()"
815815
]
816816
},
817817
{

awards/teach_me_qiskit_2018/w_state/W State 1 - Multi-Qubit Systems.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"metadata": {},
6161
"outputs": [],
6262
"source": [
63-
"IBMQ.load_accounts()"
63+
"IBMQ.load_account()"
6464
]
6565
},
6666
{

awards/teach_me_qiskit_2018/w_state/W State 2 - Let's Make a Deal.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"metadata": {},
6161
"outputs": [],
6262
"source": [
63-
"IBMQ.load_accounts()"
63+
"IBMQ.load_account()"
6464
]
6565
},
6666
{

awards/teach_me_qiskit_2018/w_state/W State 3 - Monty Hall Problem Solver.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"metadata": {},
5050
"outputs": [],
5151
"source": [
52-
"IBMQ.load_accounts()"
52+
"IBMQ.load_account()"
5353
]
5454
},
5555
{

awards/teach_me_quantum_2018/TeachMeQ/Week_1-Quantum_Tools/exercises/IBMQ_setup.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"metadata": {},
8484
"outputs": [],
8585
"source": [
86-
"IBMQ.load_accounts()"
86+
"IBMQ.load_account()"
8787
]
8888
},
8989
{

awards/teach_me_quantum_2018/TeachMeQ/Week_3-Quantum_Gates/exercises/w3_01.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"outputs": [],
3939
"source": [
4040
"from qiskit import IBMQ\n",
41-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
41+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4242
]
4343
},
4444
{

awards/teach_me_quantum_2018/TeachMeQ/Week_3-Quantum_Gates/exercises/w3_01_s.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"outputs": [],
3939
"source": [
4040
"from qiskit import IBMQ\n",
41-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
41+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4242
]
4343
},
4444
{

awards/teach_me_quantum_2018/TeachMeQ/Week_4-Quantum_Facts/exercises/w4_01.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"outputs": [],
4141
"source": [
4242
"from qiskit import IBMQ\n",
43-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
43+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4444
]
4545
},
4646
{

awards/teach_me_quantum_2018/TeachMeQ/Week_4-Quantum_Facts/exercises/w4_01_s.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"outputs": [],
4141
"source": [
4242
"from qiskit import IBMQ\n",
43-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
43+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4444
]
4545
},
4646
{

awards/teach_me_quantum_2018/TeachMeQ/Week_5-Quantum_Algorithms/exercises/w5_01.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"outputs": [],
4343
"source": [
4444
"from qiskit import IBMQ\n",
45-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
45+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4646
]
4747
},
4848
{

awards/teach_me_quantum_2018/TeachMeQ/Week_5-Quantum_Algorithms/exercises/w5_01_s.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"outputs": [],
4343
"source": [
4444
"from qiskit import IBMQ\n",
45-
"IBMQ.load_accounts() # make sure you have setup your token locally to use this"
45+
"IBMQ.load_account() # make sure you have setup your token locally to use this"
4646
]
4747
},
4848
{

awards/teach_me_quantum_2018/TeachMeQ/Week_6-Quantum_Search/exercises/w6_01.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@
459459
"metadata": {},
460460
"outputs": [],
461461
"source": [
462-
"IBMQ.load_accounts()"
462+
"IBMQ.load_account()"
463463
]
464464
},
465465
{

awards/teach_me_quantum_2018/TeachMeQ/Week_7-Quantum_Factorization/exercises/w7_01.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"metadata": {},
169169
"outputs": [],
170170
"source": [
171-
"IBMQ.load_accounts()"
171+
"IBMQ.load_account()"
172172
]
173173
},
174174
{

awards/teach_me_quantum_2018/TeachMeQ/Week_8-High_Level_Quantum_Programming/exercises/w8_02.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"outputs": [],
7070
"source": [
7171
"from qiskit import IBMQ\n",
72-
"IBMQ.load_accounts()"
72+
"IBMQ.load_account()"
7373
]
7474
},
7575
{

awards/teach_me_quantum_2018/TeachMeQ/Week_8-High_Level_Quantum_Programming/exercises/w8_03.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"outputs": [],
140140
"source": [
141141
"from qiskit import IBMQ\n",
142-
"# IBMQ.load_accounts()"
142+
"# IBMQ.load_account()"
143143
]
144144
},
145145
{

awards/teach_me_quantum_2018/TeachMeQ/Week_8-High_Level_Quantum_Programming/exercises/w8_04.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"outputs": [],
140140
"source": [
141141
"from qiskit import IBMQ\n",
142-
"IBMQ.load_accounts()"
142+
"IBMQ.load_account()"
143143
]
144144
},
145145
{

awards/teach_me_quantum_2018/TeachMeQ/Week_8-High_Level_Quantum_Programming/exercises/w8_05.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"outputs": [],
7171
"source": [
7272
"from qiskit import IBMQ\n",
73-
"IBMQ.load_accounts()"
73+
"IBMQ.load_account()"
7474
]
7575
},
7676
{

awards/teach_me_quantum_2018/bronze/bronze/B04_hello_from_quantum_world.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
"metadata": {},
259259
"outputs": [],
260260
"source": [
261-
"IBMQ.load_accounts()"
261+
"IBMQ.load_account()"
262262
]
263263
},
264264
{

creative/random_terrain_generation.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
"source": [
343343
"from qiskit.providers.aer import noise\n",
344344
"\n",
345-
"IBMQ.load_accounts()\n",
345+
"IBMQ.load_account()\n",
346346
"\n",
347347
"backend_to_simulate = IBMQ.get_backend('ibmq_16_melbourne')\n",
348348
"noise_model = noise.device.basic_device_noise_model(backend_to_simulate.properties())\n",

games/quantum_awesomeness.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"outputs": [],
6060
"source": [
6161
"from qiskit import IBMQ\n",
62-
"IBMQ.load_accounts()\n",
62+
"IBMQ.load_account()\n",
6363
"backend = IBMQ.get_backend(device)"
6464
]
6565
},

games/quantum_counterfeit_coin_problem.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
],
9090
"source": [
9191
"# Load saved IBMQ accounts\n",
92-
"IBMQ.load_accounts()"
92+
"IBMQ.load_account()"
9393
]
9494
},
9595
{

hello_world/bitstring_compression.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"import math\n",
4444
"from qiskit.tools.visualization import plot_histogram\n",
4545
"\n",
46-
"# qiskit.IBMQ.load_accounts()\n",
46+
"# qiskit.IBMQ.load_account()\n",
4747
"backend = Aer.get_backend('qasm_simulator')\n",
4848
"backend_vec= Aer.get_backend('statevector_simulator')"
4949
]

hello_world/hello_zero.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
}
140140
],
141141
"source": [
142-
"qiskit.IBMQ.load_accounts()\n",
142+
"qiskit.IBMQ.load_account()\n",
143143
"backend = qiskit.providers.ibmq.least_busy(qiskit.IBMQ.backends(simulator=False))\n",
144144
"print(\"We'll use the least busy device:\",backend.name())\n",
145145
"job = qiskit.execute( program, backend )\n",

hello_world/laurel_or_yanny.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"outputs": [],
105105
"source": [
106106
"# Load saved IBMQ accounts\n",
107-
"IBMQ.load_accounts()"
107+
"IBMQ.load_account()"
108108
]
109109
},
110110
{

hello_world/quantum_8ball.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"outputs": [],
210210
"source": [
211211
"# load IBM Q account\n",
212-
"IBMQ.load_accounts()"
212+
"IBMQ.load_account()"
213213
]
214214
},
215215
{

hello_world/quantum_emoticon.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
"metadata": {},
233233
"outputs": [],
234234
"source": [
235-
"IBMQ.load_accounts()"
235+
"IBMQ.load_account()"
236236
]
237237
},
238238
{

hello_world/quantum_world.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"metadata": {},
4747
"outputs": [],
4848
"source": [
49-
"IBMQ.load_accounts()"
49+
"IBMQ.load_account()"
5050
]
5151
},
5252
{

terra/qasm_run.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"backend = BasicAer.get_backend('qasm_simulator') # run on local simulator by default\n",
111111
"\n",
112112
"# Uncomment the following lines to run on a real device\n",
113-
"# IBMQ.load_accounts()\n",
113+
"# IBMQ.load_account()\n",
114114
"# from qiskit.providers.ibmq import least_busy\n",
115115
"# backend = least_busy(IBMQ.backends(operational=True, simulator=False))\n",
116116
"# print(\"the best backend is \" + backend.name())"

terra/qis_adv/Multi-Qubit_W_States_with_Tomography.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
"metadata": {},
416416
"outputs": [],
417417
"source": [
418-
"IBMQ.load_accounts()"
418+
"IBMQ.load_account()"
419419
]
420420
},
421421
{

terra/qis_adv/comparing_classical_and_quantum_finite_automata.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"metadata": {},
126126
"outputs": [],
127127
"source": [
128-
"IBMQ.load_accounts()\n",
128+
"IBMQ.load_account()\n",
129129
"sim_backend = Aer.get_backend('qasm_simulator')\n",
130130
"device_backend = least_busy(IBMQ.backends(operational=True, simulator=False))"
131131
]

terra/qis_adv/entangled_measurement.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"metadata": {},
100100
"outputs": [],
101101
"source": [
102-
"IBMQ.load_accounts()"
102+
"IBMQ.load_account()"
103103
]
104104
},
105105
{

terra/qis_adv/fourier_transform.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"metadata": {},
199199
"outputs": [],
200200
"source": [
201-
"IBMQ.load_accounts()"
201+
"IBMQ.load_account()"
202202
]
203203
},
204204
{

terra/qis_adv/quantum_magic_square.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"outputs": [],
110110
"source": [
111111
"# To use IBMQ online backends\n",
112-
"IBMQ.load_accounts()"
112+
"IBMQ.load_account()"
113113
]
114114
},
115115
{

terra/qis_adv/quantum_walk.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
],
309309
"source": [
310-
"IBMQ.load_accounts()\n",
310+
"IBMQ.load_account()\n",
311311
"IBMQ.backends()"
312312
]
313313
},

terra/qis_adv/random_number_generation.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
"from qiskit import IBMQ\n",
334334
"from qiskit.providers.ibmq import least_busy\n",
335335
"\n",
336-
"IBMQ.load_accounts()\n",
336+
"IBMQ.load_account()\n",
337337
"\n",
338338
"backend = least_busy(IBMQ.backends(operational=True, simulator=False))\n",
339339
"job = execute(circ, backend, shots=5, memory=True)"

terra/qis_adv/single-qubit_quantum_random_access_coding.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"metadata": {},
8787
"outputs": [],
8888
"source": [
89-
"IBMQ.load_accounts()"
89+
"IBMQ.load_account()"
9090
]
9191
},
9292
{

terra/qis_adv/topological_quantum_walk.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
"metadata": {},
288288
"outputs": [],
289289
"source": [
290-
"IBMQ.load_accounts()\n",
290+
"IBMQ.load_account()\n",
291291
"sim_backend = Aer.get_backend('qasm_simulator')\n",
292292
"device_backend = least_busy(IBMQ.backends(operational=True, simulator=False))"
293293
]

0 commit comments

Comments
 (0)