Hello everyone,
I am new to PennyLane and I am trying to code out my first quantum machine learning project. In particular, I am interested to try out hybrid quantum classical neural networks. I have experience with AI computer vision and have been using PyTorch Lightning for a few years now.
My question is: Would using PyTorch Lightning with PennyLane result in any issues down the road, or it is recommended that I just use PyTorch instead of PyTorch Lightning?
Thank you for your help!
Hi @quantum_expert_123, welcome to the Forum!
PyTorch is officially supported as a PennyLane interface but PyTorch Lightning is not. It may work but there are no guarantees.
Note that quantum machine learning works differently to classical machine learning. If youβre starting your journey with quantum programming then Iβd recommend starting with the Foundations of Quantum Computing learning path of the Codebook.
If you just want a quick overview of a simple QML example then you can take a look at this blog post. Note that in most cases classical machine learning will be more performant than QML.
Enjoy using PennyLane!
1 Like
Hi @CatalinaAlbornoz, thank you for the very helpful reply and for the QC resources as well. I will get started on those first then.
1 Like