Skip to content
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

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

ElePT
Copy link
Contributor

@ElePT ElePT commented Jan 28, 2025

Summary

The method wasn't used in any test but was part of the public API. It gets removed in #13743.

Details and comments

@ElePT ElePT requested review from jyu00 and a team as code owners January 28, 2025 13:31
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@ElePT ElePT added this to the 1.4.0 milestone Jan 28, 2025
@ElePT ElePT added the Changelog: Deprecation Include in "Deprecated" section of changelog label Jan 28, 2025
Copy link
Contributor

@Cryoris Cryoris left a 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 🙂

eliarbel
eliarbel previously approved these changes Jan 29, 2025
Copy link
Contributor

@eliarbel eliarbel left a 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))
Copy link
Contributor

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.

Co-authored-by: Julien Gacon <[email protected]>
Copy link
Contributor

@Cryoris Cryoris left a 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 🙂

@Cryoris Cryoris added this pull request to the merge queue Jan 30, 2025
Merged via the queue into Qiskit:stable/1.4 with commit 4c37cd3 Jan 30, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Deprecation Include in "Deprecated" section of changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants