documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Primitives: New "mode" argument

Open ptristan3 opened this issue 4 months ago • 4 comments

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 and session 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. The mode 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

ptristan3 avatar Apr 05 '24 19:04 ptristan3