This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Running vqe runtime program with aux operator fails with serialization error #74
Labels
low priority
project: runtime
Issues related to Qiskit Runtime support
type: bug
Something isn't working
Information
What is the current behavior?
Running the
vqe
runtime program with aux operator would fail withSteps to reproduce the problem
Run this tutorial:
https://github.com/Qiskit/qiskit-nature/blob/stable/0.2/docs/tutorials/07_leveraging_qiskit_runtime.ipynb
What is the expected behavior?
The program should work
Suggested solutions
RuntimeEncoder
currently usenp.save()
to save numpy arrays, since it's more efficient thantolist()
.save()
, however, doesn't support arrays withobject
types (e.g.dtype=object
) whenallow_pickle=False
is set (we can't use pickle due to security). We can potentially usetolist()
ifsave()
doesn't work.The text was updated successfully, but these errors were encountered: