QuantumLibraries
QuantumLibraries copied to clipboard
Hybrid QAOA
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.
Hi @dlasecki, thank you for your contribution! I was wondering if there is a design spec on this library that we could read? It would include but is not limited to introduction, problem statement, requirements, abstractions/design, out of scope/future features. This will greatly help our team review your PR and help maintain the library. LMK if you'd like to discuss, thanks!
Hi @dlasecki, thank you for your contribution! I was wondering if there is a design spec on this library that we could read? It would include but is not limited to introduction, problem statement, requirements, abstractions/design, out of scope/future features. This will greatly help our team review your PR and help maintain the library. LMK if you'd like to discuss, thanks!
The relevant file shared through an email.
Thanks @dlasecki, who did you email?
Thanks @dlasecki, who did you email?
Yourself but not directly. :)
@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.
Thanks, @dlasecki for this contribution! Linking the original issue: https://github.com/microsoft/QuantumLibraries/issues/209
We are currently following up internally how to move forward with this PR. Thanks for your patience.
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?