# How do I identify a VQE job run in real hardware?

I am running a VQEUCCFactory for H2 on a real hardware device.

res=VQEUCCFactory(quantum_instance=QuantumInstance(provider.get_backend('ibmq_athens'),
shots=8000)
optimizer=optimizer,
initial_state=initial_state)


I left it running offline and when I go to check the results I get more than one job_id. So when I want to simulate another molecule, I obtain more jobs_id. Therefore at the end I cannot identify which jobs_id belongs to each molecules.

Is there any way to add a tag or name to my jobs to identify which molecule corresponds to each group of jobs? I have seen that it can be done (https://quantum-computing.ibm.com/lab/docs/iql/manage/account/ibmq) but I don't know how to implement the job_name of job_tag parameters to my code above.

Thank you very much in advance for the help!

• Try to see if you can use job_callback option define within QuantumInstance. qiskit.org/documentation/stubs/qiskit.aqua.QuantumInstance.html By using this option, you should be able to extract the job_id for the all the circuit execution and from that you know which is which... Jun 10 at 15:52
• It doesn't seem that you can assign a name to each job when you're running an Aqua algorithm, but you can use job_callback to get the IDs of the jobs as mentioned above. Maybe this is helpful for you: github.com/Qiskit/qiskit-aqua/issues/545. Jul 14 at 17:47

backend     = provider.get_backend('ibmq_qasm_simulator')
job_set_foo = job_manager.run(circs, backend=backend, shots=nshots, name='jobname')
`