Correction on Class Notebook: Quantum Natural Gradient Descent
In the Fubini-Study section where we previously calculated step-by-step, we need to make the following adjustment inside the Table code:
\[Psi] -> Ket[{\[Psi]}]
The final code would look like this:
fubini = Table[
Re[ConjugateTranspose[d\[Psi][[i]]] .d\[Psi][[j]]] -
(ConjugateTranspose[d\[Psi][[i]]] .Ket[{\[Psi]}]) (ConjugateTranspose[Ket[{\[Psi]}]].d\[Psi][[j]]),
{i, Length@d\[Psi]}, {j, Length@d\[Psi]}
] // ComplexExpand // FullSimplify
The change has already been made in the shared folder!