Skip to content

Commit

Permalink
Merge pull request qiskit-community#71 from nonhermitian/patch-1
Browse files Browse the repository at this point in the history
remove old qx4 from slot machine
  • Loading branch information
jaygambetta authored Apr 3, 2020
2 parents 651d29a + f28e35e commit 9d816d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions games/game_engines/quantum_slot/quantum_slot.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_slot_values(backend, qslot):
result = job.result()
counts = list(result.get_counts().keys())[0]
return int(counts[0:3], 2), int(counts[3:6], 2), int(counts[6:9], 2)
elif backend == 'ibmq_5_tenerife':
elif backend == 'ibmqx2':
int1 = qslot.children[0]._stored_ints.pop(0)
int2 = qslot.children[0]._stored_ints.pop(0)
int3 = qslot.children[0]._stored_ints.pop(0)
Expand Down Expand Up @@ -159,7 +159,7 @@ def get_ibmq_ints(qslot):
qslot.children[0]._stored_ints = [
int(kk, 16) for kk in job.result().results[0].data.memory]

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


#top
Expand Down Expand Up @@ -299,7 +299,7 @@ def get_ibmq_ints(qslot):
slot._credits = 20

solver = widgets.Dropdown(
options=['qasm_simulator', 'ibmq_5_tenerife', 'ANU QRNG'],
options=['qasm_simulator', 'ibmqx2', 'ANU QRNG'],
value='qasm_simulator',
description='',
disabled=False,
Expand Down

0 comments on commit 9d816d7

Please sign in to comment.