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

Hybrid QAOA#309

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

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

Conversation

@dlasecki

@dlasecki dlasecki commented Aug 8, 2020

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

guenp commented Aug 12, 2020

Copy link
Copy Markdown

Thanks @dlasecki, who did you email?

@dlasecki

Copy link
Copy Markdown
Author

Thanks @dlasecki, who did you email?

Yourself but not directly. :)

@cgranade cgranade left a comment

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 cgranade changed the base branch from master to feature/qaoa September 1, 2020 19:56
@dlasecki

Copy link
Copy Markdown
Author

@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

guenp commented Nov 23, 2020

Copy link
Copy Markdown

Thanks, @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 @guenp @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