Replies: 1 comment 26 replies
-
Besides, currently in the code, the loss is not correct for supervised learning where instead of expectation on z (ypred), you need further to construct the MSE or crossentropy as the final loss to do gradient descent to train the phase classifier for TFIM. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I plan to implement a quantum machine learning model for some classification problems. The circuit is very shallow, but the number of qubits is relatively large, say >30. I tried to follow the beginner tutorial, and I implemented the circuit and optimization procedure:
I am facing two main issues with the code.
I appreciate your help!
Beta Was this translation helpful? Give feedback.
All reactions