Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate QRAO into Qiskit Optimization (#487)
* add qrao files * support primitives and remove opflow * update qrao * update qrao * add expecation_values getter * inherit OptimizationAlgorithm * add unittests for encoding * add unittests for optimizer * add unittests for optimizer Co-authored-by: Jim Garrison <[email protected]> Co-authored-by: Bryce Fuller <[email protected]> Co-authored-by: Jennifer Glick <[email protected]> Co-authored-by: Caleb Johnson <[email protected]> Co-authored-by: Takashi Imamichi <[email protected]> Co-authored-by: Toshinari Itoko <[email protected]> Co-authored-by: Areeq Hasan <[email protected]> * add reno and unittests for magic rounding * clean up * remove a unnecessary file * update the code * add tutorial and update the code * update pylintdict * fix lint * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Takashi Imamichi <[email protected]> * Update qiskit_optimization/algorithms/qrao/magic_rounding.py Co-authored-by: Takashi Imamichi <[email protected]> * Update releasenotes/notes/qrao-89d5ff1d2927de64.yaml Co-authored-by: Steve Wood <[email protected]> * update the code * add explanations and reflect comments * update codes * fix Co-authored-by: Steve Wood <[email protected]> * update the code * fix lint * Fix docs so they build * fix lint * fix spell * fix spell * fix spell * test * test * update * fix lint * use assertalmost equal in unittest * update * fix * rerun tutorial * add unittests for max per qubit= 2 and 1 * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Takashi Imamichi <[email protected]> * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Takashi Imamichi <[email protected]> * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Takashi Imamichi <[email protected]> * fix docs * lint * add unittest quadratic objective * update optimizer unittest * replaces rustworkx with networkx - updates type cast * minor updates of explanation * fix docstrings * update an error message * update error messages * fix lint * update tutorial and qiskit_algorithms * update * fix lint * fix * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Steve Wood <[email protected]> * Update docs/tutorials/13_quantum_random_access_optimizer.ipynb Co-authored-by: Steve Wood <[email protected]> * fix * Update qiskit_optimization/algorithms/qrao/__init__.py Co-authored-by: Steve Wood <[email protected]> * Update releasenotes/notes/qrao-89d5ff1d2927de64.yaml Co-authored-by: Steve Wood <[email protected]> * Update test/algorithms/qrao/test_magic_rounding.py Co-authored-by: Steve Wood <[email protected]> * Update test/algorithms/qrao/test_quantum_random_access_optimizer.py Co-authored-by: Steve Wood <[email protected]> * fix mypy * fix * fix * change the index number --------- Co-authored-by: Jim Garrison <[email protected]> Co-authored-by: Bryce Fuller <[email protected]> Co-authored-by: Jennifer Glick <[email protected]> Co-authored-by: Caleb Johnson <[email protected]> Co-authored-by: Takashi Imamichi <[email protected]> Co-authored-by: Toshinari Itoko <[email protected]> Co-authored-by: Areeq Hasan <[email protected]> Co-authored-by: Steve Wood <[email protected]> Co-authored-by: woodsp-ibm <[email protected]> Co-authored-by: Takashi Imamichi <[email protected]>
- Loading branch information