qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Lazy load backends on the cloud channel

Open kt474 opened this issue 1 year ago • 4 comments

What is the expected feature or enhancement? https://github.com/Qiskit/qiskit-ibm-runtime/pull/791 added lazy loading for the ibm-quantum channel. For consistency, It would be nice to have this on the cloud channel too even though the performance improvements don't appear necessary

Acceptance criteria

kt474 avatar Apr 11 '23 18:04 kt474

We should still do this as we are adding more 100+ qubit backends to the paygo channel, as well as moving more workloads there.

jyu00 avatar Dec 01 '23 19:12 jyu00

@kt474, @jyu00 any updates on the priority of this issue? I've just hit this problem that blocked me running a job on device_x because the initialization of device_y failed

https://github.com/Qiskit/qiskit-ibm-runtime/blob/9fc853b0ba301adc2308ffa1b685689cdd263e89/qiskit_ibm_runtime/qiskit_runtime_service.py#L152-L153

I agree it's not a problem (except for performance reasons) if all devices are functional, but as soon as one device is broken for some reason it's odd that it also blocks job execution for all other devices.

daka1510 avatar Apr 26 '24 09:04 daka1510

@daka1510 I can work on this next sprint, do you happen to have an error log?

kt474 avatar Apr 26 '24 16:04 kt474

@kt474 no. I got an exception stacktrace that lead back to this line in the described scenario. It happened because https://us-east.quantum-computing.cloud.ibm.com/openapi/#/Backends/get_backend_configuration returned an error for one of the devices that got returned from the list endpoint.

daka1510 avatar Apr 29 '24 07:04 daka1510