Skip to content

Error in the formula used to calculate cvar-aggregation #4056

@ibrahim-shehzad

Description

@ibrahim-shehzad

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
  • typo
  • 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

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions