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

Add backend method #1995

Closed jyu00 closed 1 month ago

jyu00 commented 1 month ago

Summary

Add a backend() method to the primitives + NoiseLearner, so users can extract the backend the primitive is configured for.

Note that similar to job_id, I would have preferred it to be an attribute rather than a method. But since it's already a method in Job, having that consistency is better.

Details and comments

Fixes #