Error in the content: Introduction to Variational Quantum Algorithms

Hi,

I noticed that there is a small error in the course, please take a look at the following enclosure.

It’s about the gradient of f(θ).

Let me know if I’m right or I misunderstood something there.
Otherwise, the term in the middle becomes 0.

Kindest regards

Hi @quantumel, thanks for pointing this out!

You’re right, we don’t want to make those terms cancel out :sweat_smile:

We’ll make the fix in the Codebook.
Thanks for helping us improve it!