Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use np.array_split instead of np.split to support uneven splits in sp…
…sa._batch_evaluate (Qiskit/qiskit#8634) * Use np.array_split instead of np.split to support uneven splits in spsa._batch_evaluate * better testing Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update test/python/algorithms/optimizers/test_spsa.py Co-authored-by: Julien Gacon <gaconju@gmail.com> * len of a boolean * Apply suggestions from code review * Fix Sphinx ref Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information