qiskit-community / qiskit-experiments

Qiskit Experiments
https://qiskit-community.github.io/qiskit-experiments/
Apache License 2.0
160 stars 126 forks source link

`save` to report success and result database link #1395

Open yaelbh opened 9 months ago

yaelbh commented 9 months ago

Users can learn if save was successful by setting the suppress_errors parameter to False and checking if the ExperimentDataSaveFailed exception occurred. I think it could be good if save displayed a more explicit signal of success (maybe a Boolean return value). In addition, the result database link should be returned to the caller.