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


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!


It is straightforward to add a name to a job. Here is an example from one of my scripts. Below, "circs" is a group of circuits that I submit simultaneously. Replace "jobname" with the name of the job that you want to use.

backend     = provider.get_backend('ibmq_qasm_simulator')
circs       = transpile(circs, backend=backend)
job_manager = IBMQJobManager()
job_set_foo = job_manager.run(circs, backend=backend, shots=nshots, name='jobname')```
  • $\begingroup$ Thank you very much for your answer, but what I am trying is to add a name or tag to a VQE job. I don't have explicitly the circuits. So with what I have posted I cannot find a way to add a name because I have no circuits but instead a VQE. res=VQEUCCFactory(quantum_instance=QuantumInstance(provider.get_backend('ibmq_athens'), shots=8000) optimizer=optimizer, initial_state=initial_state) $\endgroup$ – Silvia Riera Jun 11 at 9:06
  • $\begingroup$ I am not sure if what you want is possible. Here is the qiskit documentation and it does not seem like you can add a name or tag. qiskit.org/documentation/stubs/… $\endgroup$ – thespaceman Jun 13 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.