Add warm-start QAOA tutorial#5064
Conversation
Adds a new tutorial demonstrating how to warm-start QAOA on Max-Cut problems by initializing the circuit from a continuous relaxation solution (Egger, Mareček, Woerner 2020), using the qiskit-addon-opt-mapper package. Registers it in the tutorials TOC and index, sets reviewer notifications, and excludes it from notebook CI like other tutorials.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
One or more of the following people are relevant to this code:
|
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
Co-authored-by: abbycross <across@us.ibm.com>
abbycross
left a comment
There was a problem hiding this comment.
All set from my side, thanks! @nathanearnestnoble final review?
|
@t-imamichi plans to review this -- lets come back once that is done. |
|
The tutorial looks good overall. I have some minor comments as follows.
|
- Build max-cut problems with the Maxcut application class instead of manually expanding the QUBO objective, in both the small-scale and large-scale sections - Generate the standard QAOA ansatz with qiskit.circuit.library.qaoa_ansatz rather than a hand-rolled builder; keep the custom WS-QAOA builder since its R_Y-R_Z-R_Y mixer is not a sum of Paulis - Add a bar chart comparing the probability of measuring each cut value for standard QAOA vs. WS-QAOA, highlighting the optimal cut
Thanks @t-imamichi for the review! I've addressed all three comments: Cell [3]: Switched to the Cell [7]: The standard QAOA ansatz is now generated with Cell [14]: Added a bar chart comparing the probability distribution over cut values for standard QAOA vs. WS-QAOA, with the optimal cut (4) highlighted, plus a printed The notebook has been re-run with refreshed outputs. |
|
Thank you @henryzou50 for reflecting my comments. LGTM. |
Replaces #5039 — moved branch to upstream so CI can access the QiskitRuntimeService token. See #5039 for prior discussion.