Python
Python copied to clipboard
[PYTEST WARNING] QasmSimulator will be deprecated
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