Skip to content

Commit f28e35e

Browse files
authored
remove old qx4
1 parent ef67149 commit f28e35e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

games/game_engines/quantum_slot/quantum_slot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_slot_values(backend, qslot):
4040
result = job.result()
4141
counts = list(result.get_counts().keys())[0]
4242
return int(counts[0:3], 2), int(counts[3:6], 2), int(counts[6:9], 2)
43-
elif backend == 'ibmq_5_tenerife':
43+
elif backend == 'ibmqx2':
4444
int1 = qslot.children[0]._stored_ints.pop(0)
4545
int2 = qslot.children[0]._stored_ints.pop(0)
4646
int3 = qslot.children[0]._stored_ints.pop(0)
@@ -159,7 +159,7 @@ def get_ibmq_ints(qslot):
159159
qslot.children[0]._stored_ints = [
160160
int(kk, 16) for kk in job.result().results[0].data.memory]
161161

162-
qslot.children[1].children[0].options = ['qasm_simulator', 'ibmq_5_tenerife', 'ANU QRNG']
162+
qslot.children[1].children[0].options = ['qasm_simulator', 'ibmqx2', 'ANU QRNG']
163163

164164

165165
#top
@@ -299,7 +299,7 @@ def get_ibmq_ints(qslot):
299299
slot._credits = 20
300300

301301
solver = widgets.Dropdown(
302-
options=['qasm_simulator', 'ibmq_5_tenerife', 'ANU QRNG'],
302+
options=['qasm_simulator', 'ibmqx2', 'ANU QRNG'],
303303
value='qasm_simulator',
304304
description='',
305305
disabled=False,

0 commit comments

Comments
 (0)