You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the tasks I am working on is to move some demos to torch or jax instead of autograd (from pennylane import numpy should not appear in the demo). The demo tutorial_variational_classifier is a demo that I have to change to torch but I have not managed to do it.
The problem I have I think is in the batching.
The demo is divided into two examples, I have managed to make the first one work with a standard torch flow and by changing the statepreparation to
The reason for this is that it allows me to do batching and introduce it into the torch workflow.
The second example is a very particular ansatz and I am failing to it the example torch-compatible.
The text was updated successfully, but these errors were encountered:
KetpuntoG
changed the title
Change `tutorial_variational_classifier to torch
Update tutorial_variational_classifier to torch
Nov 1, 2023
One of the tasks I am working on is to move some demos to torch or jax instead of autograd (
from pennylane import numpy
should not appear in the demo). The demotutorial_variational_classifier
is a demo that I have to change to torch but I have not managed to do it.The problem I have I think is in the batching.
The demo is divided into two examples, I have managed to make the first one work with a standard torch flow and by changing the
statepreparation
toThe reason for this is that it allows me to do batching and introduce it into the torch workflow.
The second example is a very particular ansatz and I am failing to it the example torch-compatible.
The text was updated successfully, but these errors were encountered: