-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate BasicSimulator.run_experiment
#13750
Conversation
One or more of the following people are relevant to this code:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just one nit on the reno 🙂
releasenotes/notes/deprecate-run-experiment-f37b3f35724bc6bb.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please just update the release note with the suggestion before merging.
message=r".+qiskit\.providers\.basic_provider\.basic_simulator\..+", | ||
) | ||
for experiment in qobj.experiments: | ||
result_list.append(self.run_experiment(experiment)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In normal circumstances, we would probably want to have an internal _run_experiment
and avoid using catch_warnings
but this is all going be removed soon anyway.
releasenotes/notes/deprecate-run-experiment-f37b3f35724bc6bb.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Julien Gacon <[email protected]>
releasenotes/notes/deprecate-run-experiment-f37b3f35724bc6bb.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it seems all comments are addressed 🙂
Summary
The method wasn't used in any test but was part of the public API. It gets removed in #13743.
Details and comments