eclipse / xacc

XACC - eXtreme-scale Accelerator programming framework
https://xacc.readthedocs.io
BSD 3-Clause "New" or "Revised" License
163 stars 84 forks source link

Fixes honeywell running single circuit when execute(vector<CompositeInstruction>) is called #559

Closed danclaudino closed 1 year ago

danclaudino commented 1 year ago

This PR fixes an issue with having job_id as a member variable when calling execute(vector<CompositeInstruction>). job_id starts as an empty string, but after the first CompositeInstruction is executed, job_id is no longer empty, so for all other CompositeInstructions in the container, it will just try to retrieve the results from the first execution, which is fixed here.

Signed-off-by: Daniel Claudino 6d3@ornl.gov