Skip to content

Commit

Permalink
add release note
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshknn committed Dec 11, 2023
1 parent 4a0913f commit 28fee76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/providers/basicaer/unitary_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ def _get_unitary(self):

@deprecate_arg(
"run_input",
deprecation_description="Using a qobj for the first argument to UnitarySimulatorPy.run()",
deprecation_description="Using a qiskit.qobj.QasmQobj for the first argument to UnitarySimulatorPy.run()",
since="0.46.0",
pending=False,
predicate=lambda run_input: isinstance(run_input, (QuantumCircuit, list)),
)
def run(self, run_input, **backend_options):
"""Run run_input asynchronously.
"""Run experiments in run_input asynchronously.
Args:
run_input (Qobj, QuantumCircuit, list): payload of the experiment
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
deprecations:
- |
:class:`~qiskit.qobj.QasmQobj` input to :meth:`~qiskit.providers.basicaer.UnitarySimulatorPy.run`
is now deprecated and will be removed in the next major release.
fixes:
- |
Documentation languange in ``unitary_simulator.py`` to be more generic to indicate the
suported inputs- :class:`~qiskit.QuantumCircuit`, List or :class:`~qiskit.qobj.QasmQobj`.

0 comments on commit 28fee76

Please sign in to comment.