CQCL / lambeq

A high-level Python library for Quantum Natural Language Processing
https://cqcl.github.io/lambeq/
Apache License 2.0
434 stars 106 forks source link

[unitaryHACK 2024] Make PytorchModel work with quantum circuits #143

Open dimkart opened 1 month ago

dimkart commented 1 month ago

Description

lambeq provides a large number of models and trainers, covering a broad range of use cases, both quantum and "classical", where the latter models operate on tensor networks. Currently, the PytorchModel works exclusively on tensor networks, hence it is relevant only for "classical" experiments.

This task asks for the extension of PytorchModel so it could also work with quantum circuits, in the same way as e.g. the PennyLaneModel does. This will allow quantum models to be trained using gradient-based optimisers such as Adam. The following changes will need to be made.

Notes

References

Vikrant-Khedkar commented 3 weeks ago

hey up for this