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.
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 inJob
, having that consistency is better.Details and comments
Fixes #