Qiskit / qiskit-ibm-runtime

IBM Client for Qiskit Runtime
https://docs.quantum.ibm.com/api/qiskit-ibm-runtime
Apache License 2.0
161 stars 157 forks source link

Inaccurate QiskitRuntimeService documentation #1984

Closed crect500 closed 1 month ago

crect500 commented 1 month ago

The constructor documentation at:

https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.QiskitRuntimeService

suggests that one can create a QiskitRuntimeService object with channel="local" to test locally. However, there is an if statement in the source code which raises a ValueError if so.

kt474 commented 1 month ago

Hi @crect500 can you post the error message? There should be no issues with setting the channel as local.

service = QiskitRuntimeService(channel="local")