Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Hybrid QAOA - #309

Open
Dariusz Lasecki (dlasecki) wants to merge 65 commits into
microsoft:feature/qaoafrom
dlasecki:qaoa-integration
Open

Hybrid QAOA#309
Dariusz Lasecki (dlasecki) wants to merge 65 commits into
microsoft:feature/qaoafrom
dlasecki:qaoa-integration

Conversation

@dlasecki

Copy link
Copy Markdown

This PR adds a library with the Quantum Approximate Optimization Algorithm (QAOA) written in Q#. It supports problems that can be encoded into 1-local and/or 2-local Hamiltonians. Additionally, it offers a hybrid QAOA algorithm in Q# and C# that uses a gradient-free Cobyla optimizer to choose optimal parameters for the QAOA in the form of a feedback loop. The hybrid QAOA supports interoperability with Python by a magic command. Values of parameters during the execution of the hybrid QAOA can be logged into a file.

@guenp

Copy link
Copy Markdown

Thanks Dariusz Lasecki (@dlasecki), who did you email?

@dlasecki

Copy link
Copy Markdown
Author

Thanks Dariusz Lasecki (@dlasecki), who did you email?

Yourself but not directly. :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for your patience as I complete my second round; I think it's a lot closer in its current state, so thank you for all of your changes! If there's anything I can do to help expand on or clarify comments, please let me know. Thank you so much!

Comment thread QAOA/src/Examples.cs Outdated
Comment thread QAOA/src/Jupyter/HybridQaoaMagic.cs Outdated
Comment thread Build/manifest.ps1 Outdated
Comment thread Build/manifest.ps1 Outdated
Comment thread QAOA/src/Jupyter/HybridQaoaMagic.cs Outdated
Comment thread QAOA/tests/JupyterTests/HybridQaoaRunMagicTests.cs Outdated
Comment thread QAOA/tests/JupyterTests/HybridQaoaProblemInstanceMagicTests.cs Outdated
Comment thread QAOA/tests/HybridQaoaTests/ProblemInstanceTests.cs Outdated
Comment thread QAOA/src/Qaoa/EvolutionOperations.qs
Comment thread QAOA/src/Qaoa/EvolutionOperations.qs Outdated
@cgranade
Cassandra Granade (cgranade) changed the base branch from master to feature/qaoa September 1, 2020 19:56
@dlasecki

Copy link
Copy Markdown
Author

Guen Prawiroatmodjo (@guenp) Was the document that I shared with you helpful?
In any case, I would be happy to join you all in a call to discuss the contribution, potential improvements or questions if you have any.

Regards,
Dariusz.

@guenp

Copy link
Copy Markdown

Thanks, Dariusz Lasecki (@dlasecki) for this contribution! Linking the original issue: #209

We are currently following up internally how to move forward with this PR. Thanks for your patience.

@dlasecki

Copy link
Copy Markdown
Author

Hi Guen Prawiroatmodjo (@guenp) Cassandra Granade (@cgranade),

I wanted to follow up on this PR and your internal discussions. Shall we discuss the big picture of how such optimization algorithms might be provided in Q# and possibly adjust/improve/extend this contribution to fit this vision or shall we think about delivering it to examples?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants