I was running this code on a quantum computer. How can I generate a state vector for each shot while running on a quantum computer?
qiskit code
## initiate alpha beta with own values
vector = [alpha,beta]
print('non normalised vector form a multi vector is')
print(vector)
norm = np.linalg.norm(vector)
print(norm)
qc = QuantumCircuit(1) # Create a quantum circuit with one qubit
initial_state = vector/np.linalg.norm(vector)
print('initial state is')
print(initial_state)
qc.initialize(initial_state, 0)
qc.x(0) ###### for not gate
qc.h(0) ####### for hadamard gate
a = qc.draw()
print(a)
simulator = Aer.get_backend('statevector_simulator')
qobj = assemble(qc) # Create a Qobj from the circuit for the simulator to run
result = simulator.run(qobj).result() # Do the simulation and return the result
out_state = result.get_statevector()
print(out_state)
from qiskit import IBMQ
IBMQ.load_account()
#provider = IBMQ.get_provider = ('ibm-q')
provider = IBMQ.load_account()
qcomp= provider.get_backend('ibmq_qasm_simulator')
job = execute(qc,backend=qcomp)
from qiskit.tools.monitor import job_monitor
job_monitor(job)
result = job.result()
plot_histogram(result.get_counts(qc))