Fix Python Script that uses PennyLane

Job ID: 36363157

Budget: $30 – $250 USD

I have a python script that keeps throwing an error when I try to train the model using lambeq/pennylane. The part that I am stuck on is dealing with the pyTorch trainer.

I am very stuck.
Here is a copy of the script.
https://colab.research.google.com/drive/1_2oBTd3ShJA__OLRm9lUezH-UUij5gLX#scrollTo=RPICjq2_6xsn

Here is the tutorial I am trying to follow (note I do not have the same dataset as the tutorial, but I have attempted to recreate it using data frames.

https://cqcl.github.io/lambeq/tutorials/trainer_hybrid.html