qiskit-textbook icon indicating copy to clipboard operation
qiskit-textbook copied to clipboard

[4.1.2] Simulating Molecules using VQE

Open Hosseinberg opened this issue 1 year ago • 0 comments

Describe the issue

I do not think what we are presenting as the Manhattan distance here is correct. We have used print("Output Error (Manhattan Distance):", ret[1]) to print the Manhattan distance while ret[1] is the value of objective function.

Describe what you expect to see

By calculating the Manhattan distance using
scipy.spatial.distance.cityblock(target_distr, output_distr) we get a different answer.

Hosseinberg avatar Jul 26 '22 02:07 Hosseinberg