Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate QRAO into Qiskit Optimization #487

Merged
merged 89 commits into from
Sep 8, 2023
Merged

Conversation

a-matsuo
Copy link
Contributor

@a-matsuo a-matsuo commented Mar 24, 2023

Summary

This pull request is for integrating qrao-prototype into Qiskit Optimization.

close #473

Details and comments

  • Move QRAO files to Qiskit Optimization and check whether they work. (~3/27)
  • Conduct a thorough review of the existing QRAO code including unittests and tutorials to identify any potential issues when moving to Qiskit Optimization. (3/27 ~ 3/31)
  • Design a new implementation of the existing QRAO classes that is compatible with Qiskit Optimization. (4/1 ~ 4/7)
  • Implement the new QRAO implementation in Qiskit Optimization. (4/7 ~ 4/14)
    • Use Estimator and Sampler instead of quantum instance
    • Use SparsePauliOp instead of PauliSumOp
  • Write unit tests to verify the functionality of the QRAO implementation and ensure that it is compatible with the Qiskit Optimization framework. (4/14 ~ 4/21)
  • Create documentation and a tutorial for the QRAO implementation and Finalize the PR. (~5/12)

The following figure is for the existing implementation of QRAO.
classes

The following is a workflow diagram of the new QuantumRandomAccessOptimizer class.
qrao_diagram

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]

@woodsp-ibm woodsp-ibm added this to the 0.6.0 milestone Apr 13, 2023
@t-imamichi
Copy link
Collaborator

Could you merge main and apply black? Since black may change the code drastically, I would like to add comments after black.

@a-matsuo
Copy link
Contributor Author

Yes, I applied pylint, mypy, and black to clean up the code. (I also merged main)

@a-matsuo a-matsuo marked this pull request as ready for review May 12, 2023 08:16
@a-matsuo a-matsuo changed the title [WIP] Integrate QRAO into Qiskit Optimization Integrate QRAO into Qiskit Optimization May 12, 2023
woodsp-ibm
woodsp-ibm previously approved these changes Sep 7, 2023
Copy link
Member

@woodsp-ibm woodsp-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me it all looks good now. Thx for all the fixups and changes.

@a-matsuo
Copy link
Contributor Author

a-matsuo commented Sep 7, 2023

Thank you for reviewing always! @woodsp-ibm

@t-imamichi
Copy link
Collaborator

I have a comment. We removed 12_qaoa_runtime.ipynb at #542. So, you can use the number 12 for QRAO tutorial.

@t-imamichi t-imamichi added the Changelog: New feature Include in the Added section of the changelog label Sep 8, 2023
@a-matsuo
Copy link
Contributor Author

a-matsuo commented Sep 8, 2023

Got it. @t-imamichi

Copy link
Collaborator

@t-imamichi t-imamichi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit d7b9ddb into qiskit-community:main Sep 8, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Changelog: New feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate QRAO
6 participants