When I was doing quantum machine learning, after building the quantum kernel, I drew the graph of the loss function changing with the iteration function and the graph of the quantum kernel, but I couldn't interpret the meaning of the quantum kernel graph (the effect is very unsatisfactory, but I don't know why). and why the loss function fluctuates so much (I'm building on QSVR) Thanks for your kind answerenter image description here

  • $\begingroup$ Hi @Mistico013 - could you include more details on how your algorithm is set up, like what dataset and what functions you are calling? Also what exactly do these plots mean (how is "loss" defined, do "iterations" refer to an iterative SVM solver, what does light blue and dark blue mean on the kernel matrix heatmap, etc...? $\endgroup$
    – forky40
    May 1, 2022 at 21:53
  • $\begingroup$ It would also help if you could provide some sample code. Right now, your algorithm isn't performing any learning, so the quantum kernel graph is effectively the same from whatever state it was initialized in. $\endgroup$
    – ryanhill1
    May 4, 2022 at 16:16


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.