Typos @ VQA and HS codercises and a question about qml.evolve

Ah! this question is related to the answer I just gave you in the other post.
You are doing the right thing when it comes to calling cost_hf. The thing that is missing is defining the vector params appropriately. Also, recall that the VQE function should return two things, updated params and energy.

I hope this helps.

1 Like