-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move EvolvedOperatorAnsatz to NLocal directory (#11385)
* Move EvolvedOperatorAnsatz * add release note fix import * fix import * add doc string to function * fix imports * Add tests for Moved Class * update library init * Fix library init imports * Add deprecation to old class * update formatting * Fix tests * fix import * Move EvolvedOperatorAnsatz * add release note fix import * fix import * add doc string to function * fix imports * Add tests for Moved Class * update library init * Fix library init imports * Add deprecation to old class * update formatting * Fix tests * fix import * Change deprecation to upgrade * Fix init doc --------- Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
- Loading branch information
1 parent
4b3316d
commit 733e2a3
Showing
6 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/move_evolved_operator_ansatz-5406bc071013c443.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The class :class:`.EvolvedOperatorAnsatz` has been migrated from | ||
:mod:`qiskit.circuit.library` to :mod:`qiskit.circuit.library.n_local` to match | ||
the location of its base class. This move has not affected the usual import path | ||
of the class: ``from qiskit.circuit.library import EvolvedOperatorAnsatz``, but | ||
now it is also accessible doing ``from qiskit.circuit.library.n_local import | ||
EvolvedOperatorAnsatz``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters