Quantum Computing, Science, Programming.
from qiskit import Aer, IBMQ try: backend = Aer.get_backend(device) except: backend = IBMQ.get_backend(device) The ask_for_device() function simply asks the player whether or not to use the real device. If they respond y, the device chosen is ibmq_5_tenerife: a real five qubit quantum processor in