Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make VQE stateless TODO deprecation * fix get initial point from ansatz * try fixing use of deprecate_function * fix tests & black * deprecate varalgo methods * sort params per circuit default * clarify deprecation message in varalgo.initialpoint * initialize eval_count with 0 instead of None it doesn't really matter, having it None was more a safeguard, but adaptVQE breaks if this is None and not 0 * simplify get_eigenstate * fix lint * remote note on parameter order * review suggestions * deprecate sort_parameters_by_name * check ansatz has 0 params in setter * rename varform -> ansatz * fix tests * lint * keep previous behaviour of expectation meaning that if a user didn't set it, we re-construct the expectation for each new run of VQE * move expectation factory to right place * address Qiskit/qiskit#5746 * fix typehint in expectation (add Optional) * fix expectation setter Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information