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.
* add description if no description is provided, build coupling map if it is provided
* move import line
* fix target for simulator backend
* format
* remove unused import
* use translation plugin to rebuild gate sets for simulator
* rename plugin
* rebuild of gate sets is eanbled only for opt level 0 and 1
* fix custom pass manager
* fix pass_manager function
* added ccx in NAME_MAPPING
* added missed gates in NAME_MAPPING
* added release note
* add check if opnodes is None
* add check config
* decrease return
* check opt level
* fix searching ops in control flow blocks
* Update qiskit_aer/backends/plugin/aer_backend_plugin.py
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* Update qiskit_aer/backends/plugin/aer_backend_plugin.py
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* refer review comments
* remove unused import
---------
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* Support backendv2
* Change API of aerbackend init
* fix lint
* Fix lint
* Add reset gate
* Return None if the configuration does not have max_experiments
* Change function to constant
* Update code to pass the test
* Remove print
* Fix lint
* Change num of qubits in Estimator
* Skip transpilation
* Change transpile optimization level
* Add release notes
* Change process of cirucit compose by the number of qubits in estimator
* use passmanager for measurement circuits
* refactor (change line order)
* Fix lint
* Add a detail description to the release note
---------
Co-authored-by: ikkoham <ikkoham@users.noreply.github.com>
Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>