qiskit-community / qiskit-experiments

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

Enable loading experiments using the runtime service #1386

Closed coruscating closed 9 months ago

coruscating commented 9 months ago

Summary

Follow up to #1371 . ExperimentData.load() currently requires the deprecated qiskit-ibm-provider provider to load an experiment. This PR allows the provider parameter to take in the QiskitRuntimeService service as well. Unfortunately, this is confusing since the experiment service is another parameter for load(). We should probably drop the experiment service parameter in a future release and only accept the QiskitRuntimeService service.

coruscating commented 9 months ago

@wshanks I wouldn't deprecate the service argument either. I was thinking something like renaming it to experiment_service so it doesn't get confused with the runtime service in the provider slot.