documentation
documentation copied to clipboard
Primitives: New "mode" argument
URL, if applicable
No response
Describe the new content you are requesting.
We are consolidating the execution modes concept for primitives including a single parameter "mode". The incoming release will include the following:
-
Deprecation of
backend
andsession
arguments for Sampler and Estimator. -
Stop supporting a backend name (string) as a valid execution mode.
-
A new
mode
argument for the Sampler and Estimator execution modes. Themode
can be a Backend, Session, Batch, or None. -
[x] Update the code examples, switching to
mode
parameter instead of backend and/or session. -
[ ] If there is some code example using a backend name, replace it with a backend object.
If this new content request is accepted, do you want to write the content?
I can help the team by providing enough information to write the material