Recurrent Networks?


Hi @josh and @nathan,

Do you have any ideas about how to construct Recurrent Networks?




Hi @cubicgate,

Since PennyLane connects to both PyTorch and TensorFlow, you could use the recurrent network modules of either of those packages to create recurrent networks, and potentially include a quantum element.


Thanks @nathan, I would like to know how to create a quantum recurrent network.


Yes, I understand. You could begin with the RNN modules in either of those two ML libraries, then create a new subclass of these which has a quantum circuit at its heart. If you were to build the RNN by hand, it would be a lot more work. Those libraries will handle the RNN part, and PennyLane can be used for the quantum part


Good idea. Thanks @nathan.