Skip to content

[PYTEST WARNING] QasmSimulator will be deprecated #7308

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

Closed
CaedenPH opened this issue Oct 16, 2022 · 0 comments · Fixed by #7417 or #7556
Closed

[PYTEST WARNING] QasmSimulator will be deprecated #7308

CaedenPH opened this issue Oct 16, 2022 · 0 comments · Fixed by #7417 or #7556
Labels
enhancement This PR modified some existing files

Comments

@CaedenPH
Copy link
Contributor

Feature description

The use of q.Aer.get_backend("qasm_simulator") raises the warning

/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/qiskit_aer/backends/qasm_simulator.py:360: PendingDeprecationWarning: The `QasmSimulator` backend will be deprecated in the future. It has been superseded by the `AerSimulator` backend.
    warn('The `QasmSimulator` backend will be deprecated in the'

This code is found in the following files:
- deutsch_jozsa @abhishekjiitr
- half_adder @abhishekjiitr
- not_gate @abhishekjiitr
- single_quibit_measure @abhishekjiitr

origin: #7211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This PR modified some existing files
Projects
None yet
1 participant