Skip to main content
edited tags
Link
glS
  • 26.9k
  • 6
  • 35
  • 121
Source Link
user2820579
  • 641
  • 4
  • 13

Job ids retrieval from ID. Big set of jobs

I'm in the need of running a lot of jobs in the IBM backends. If one likes to run in parallel two jobs (say, with two different parameters), I have seen in the Jobs webpage that sometimes the jobs are mixed. What I mean with this is that e.g. in the downloadable cvs file, row 3 belongs to job 1 and row 4 to job 2. To filter out every single cell in the cvs does not appear feasible.

Now, in qiskit, if I send a big job, this is partitioned into several chunks, something that job_set_foo.report(detailed=True) returns is:

Job set name: 2021-07-22T14:09:01.003237
      ID: XXXX-YYYY
    tags: []
...
Detail report:
  experiments: 0-74
    job index: 0
    job ID: ZZZ1
...

So suppose that my ID XXX-YYY contains 20 jobs ids ZZZx. Is there a way to, from directly the ID, retrieve as a list all the ZZZx's jobs ids?

*job_set_foo = job_manager.run(circuits, backend=backend, shots=2**13)