• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qiskit-community / qiskit-optimization / 6121959759

08 Sep 2023 12:52PM UTC coverage: 93.032% (-0.02%) from 93.053%
6121959759

push

github

web-flow
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 <garrison@ibm.com>
Co-authored-by: Bryce Fuller <Bryce.Fuller@ibm.com>
Co-authored-by: Jennifer Glick <Jennifer.R.Glick@ibm.com>
Co-authored-by: Caleb Johnson <calebj1524@outlook.com>
Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>
Co-authored-by: Toshinari Itoko <itoko@jp.ibm.com>
Co-authored-by: Areeq Hasan <areeq.i.hasan@gmail.com>

* 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 <31178928+t-imamichi@users.noreply.github.com>

* Update qiskit_optimization/algorithms/qrao/magic_rounding.py

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>

* Update releasenotes/notes/qrao-89d5ff1d2927de64.yaml

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* update the code

* add explanations and reflect comments

* update codes

* fix

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* 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 <31178928+t-imamichi@users.noreply.github.com>

* Update docs/tutorials/13_quantum_random_access_optimizer.ipynb

Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.no... (continued)

550 of 550 new or added lines in 8 files covered. (100.0%)

4513 of 4851 relevant lines covered (93.03%)

0.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.44
/qiskit_optimization/algorithms/qrao/semideterministic_rounding.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc