Apologies for what I feel is a very simple question, So I've figured out how to work with simulating a quantum circuit in Qiskit, but now I'm trying to figure out how I would actually send the code to the queue for a quantum computer.
Say I have the following simple code.
from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit, Aer, execute
from numpy import pi
qreg_q = QuantumRegister(1, 'q')
creg_c = ClassicalRegister(1, 'c')
circuit = QuantumCircuit(qreg_q, creg_c)
circuit.h(qreg_q[0])
circuit.measure(qreg_q[0], creg_c[0])
backend = Aer.get_backend('qasm_simulator')
job = execute(circuit, Aer.get_backend('qasm_simulator'), shots=20000, memory=True)
output=[]
result_list=job.result().get_memory()
for entry in result_list:
output.append(int(entry))
print(output)
What do I need to change about the code and/or what would I need to do to actually run this on a quantum computer.