I am referring to the tutorial of CV-QNN in Pennylane(Strawberry Fields). Each layer of CV-QNN can perform the operation below.
[![enter image description here][2]][2]
Unlike other quantum neural network tutorials, where the input X and y are given explicitly, this is not the case here. However, they have mentioned Encoding data outside of the position eigenbasis, for example using instead the Fock basis. How can I encode my data which is in the format of X and y, where each sample is a 6-dimensional vector and y is a real value in [0,1]
? I have X
as a pandas data frame of shape [150,6] and y
is a pandas series of length 150
. How to train the CV Neural Network using my data? If the strawberry field is not working, can i just use pennylane inbuild CVNeuralNetwork class to do so ?