You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<...>/qiskit-aqt-provider/offline_simulator_sampler_batch_cut.py", line 13, in <module>
result = sampler.run([qc] * 100).result()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<...>/qiskit-aqt-provider/.direnv/python-3.12.1/lib/python3.12/site-packages/qiskit/primitives/primitive_job.py", line 51, in result
return self._future.result()
^^^^^^^^^^^^^^^^^^^^^
File "/home/ewodey/.rye/py/[email protected]/install/lib/python3.12/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ewodey/.rye/py/[email protected]/install/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/ewodey/.rye/py/[email protected]/install/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<...>/qiskit-aqt-provider/.direnv/python-3.12.1/lib/python3.12/site-packages/qiskit/primitives/backend_sampler.py", line 162, in _call
result, _metadata = _run_circuits(bound_circuits, self._backend, **run_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<...>/qiskit-aqt-provider/.direnv/python-3.12.1/lib/python3.12/site-packages/qiskit/primitives/backend_estimator.py", line 75, in _run_circuits
result = [x.result() for x in jobs]
^^^^^^^^^^
File "<...>/qiskit-aqt-provider/qiskit_aqt_provider/aqt_job.py", line 363, in result
self.wait_for_final_state(
File "<...>/qiskit-aqt-provider/.direnv/python-3.12.1/lib/python3.12/site-packages/qiskit/providers/job.py", line 119, in wait_for_final_state
status = self.status()
^^^^^^^^^^^^^
File "<...>/qiskit-aqt-provider/qiskit_aqt_provider/aqt_job.py", line 294, in status
payload = self._backend.result(uuid.UUID(self.job_id()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<...>/qiskit-aqt-provider/qiskit_aqt_provider/aqt_resource.py", line 518, in result
raise api_models.UnknownJobError(str(job_id))
qiskit_aqt_provider.api_client.models.UnknownJobError: 'da732bba-bd01-4fbe-8a15-2cc9b7081974'
The problem disappears if running a batch with less than the maximum batch size of 50 circuits (AQTResource.max_circuits).
The issues only affects the online simulators. Remote resources work as expected (the 200 circuits are broken down into 4 batches of 50 circuits each and the results are successfully retrieved).
The text was updated successfully, but these errors were encountered:
Information
The script:
fails with
The problem disappears if running a batch with less than the maximum batch size of 50 circuits (
AQTResource.max_circuits
).The issues only affects the online simulators. Remote resources work as expected (the 200 circuits are broken down into 4 batches of 50 circuits each and the results are successfully retrieved).
The text was updated successfully, but these errors were encountered: