mirror of https://github.com/Qiskit/qiskit-aer.git
e6aaf03060
The module has been pending deprecation since Qiskit 0.45. It is deprecated for 0.46 and removed in 1.0. This removal concerns the import location of ``UnitaryGate`` and the usage of the ``ExtensionError``. The first is easily fixed, whereas for the latter I tried using ``ValueError`` or ``TypeError``, which seemed to cover the error meanings. Technically, this is a breaking change and we could introduce an intermediary class that inherits from the deprecated ``ExtensionError`` and the new choice of error. However, since we will soon be changing to 1.0 and we also skipped this in Qiskit Terra (as we thought it highly unlikely that users are actually relying on this error type) it might be fine to just change the error type. |
||
---|---|---|
.. | ||
__init__.py | ||
set_density_matrix.py | ||
set_matrix_product_state.py | ||
set_stabilizer.py | ||
set_statevector.py | ||
set_superop.py | ||
set_unitary.py |