Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate State Preparation from Initialize (#7666)
* Split initialize and stateprep first attempt * Tidied up code and added some tests * ✨ lint ✨ * Tidied up code * Removed unnecessary file * Formatted docstrings * Formatted docstrings again * ✨ lint again ✨ * Fixed some docs bugs and added tests * Update docs and lint * docs fix * Change StatePrep to a Gate and update tests * Fixed tests and docs * ✨ lint ✨ * Fixed test * Add parmas getter and setter * Fix stateprep inverse * Fix merge issues * Fix stateprep inverse * Fix broadcast_arg error * ✨ Lint! ✨ * Updated based on PR comments * ✨ Lint ✨ * Update qiskit/extensions/quantum_initializer/state_preparation.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Moved stateprep to circuit library * Adjust label logic * Update qiskit/circuit/library/data_preparation/state_preparation.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update qiskit/circuit/library/data_preparation/state_preparation.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update qiskit/circuit/library/data_preparation/state_preparation.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Fixed docstrings and tests * Update qiskit/circuit/library/data_preparation/state_preparation.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * Added repeat test * Added test and reno * Fix label issue * Fixed docstrings * ✨ Lint! ✨ Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information