Error in the formula used to calculate cvar-aggregation
URL to the relevant tutorial
In the second-to-last cell of Step 3 in https://github.com/Qiskit/documentation/blob/main/docs/tutorials/advanced-techniques-for-qaoa.ipynb, there is a typo in the expression for gamma_circ which is then used to calculate cvar_aggregation.
Select all that apply
- [ ] new content request
- [x] typo
- [x] code bug
- [ ] out-of-date content
- [ ] broken link
- [ ] other
Describe the fix or the content request.
Following the calculations done in Sec. VA of this paper, gamma_circ = gamma_cz * num_2q_ops should be corrected to gamma_circ = gamma_cz ** num_2q_ops.
For new content requests - if the request is accepted, do you want to write the content?
I will write (or already have written) a draft of the proposed content
@miamico reports that @ibrahim-shehzad will be writing a bit about this change.
@ibrahim-shehzad just a reminder of this issue
@miamico I have started a PR (#4315 ) to resolve this issue. It is ready for review.