Guen Prawiroatmodjo
Guen Prawiroatmodjo
It is currently not possible to use e.g. `VQEProgram` because `backend.run(circuit)` currently only accepts a single circuit, not a list of circuits: 
Great, glad to hear that the workaround already exists in qiskit! I'll close this issue then.
After some more investigation as per @anpaz's comment above, we figured out that what is missing in the above example is not batch job support, but metadata on the submitted...
Run this sample to reproduce the issue: https://github.com/microsoft/Quantum/blob/feature/samples-gallery/samples/azure-quantum/variational-quantum-eigensolver/VQE-qiskit-hydrogen-quantinuum-emulator.ipynb
Workaround proposed by @amirebrahimi: ```python result = random.choices(list(probabilities.keys()), weights=probabilities.values())[0] ```
Note that `meas_level` and `meas_return` are also not supported.
Another solution to submitting multiple jobs in parallel would be through async i/o, see https://github.com/microsoft/qdk-python/issues/94.
Partially fixed by #177
A workaround for this issue is to mock out the `Job.wait_until_completed` method with a mock wait method that pauses/resumes the recording before and after: ```python with mock.patch.object( Job, "wait_until_completed", self.mock_wait(Job.wait_until_completed)...
@dgwvfxn Are there any other features that you think will be useful to add to BB v0.3?