Skip to main contentIBM Quantum Platform

Deprecation of the legacy backend.run() interface

The legacy backend.run() interface in Qiskit Runtime has been deprecated. The backend.run() interface originally coexisted with the original (V1) primitives model as the dedicated “direct hardware access” entry point. With the introduction of the V2 primitives interface, the new SamplerV2 class now fulfills that role.

Support for backend.run() will officially be dropped on or after 15 October 2024. Refer to this migration guide for instructions to migrate existing code that uses backend.run() to the new V2 primitives interface.

Was this page helpful?
Report a bug or request content on GitHub.