CQCL / lambeq

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

Add support for ansatze from arXiv:1905.10876 (Sim et al.) #26

Closed nikhilkhatri closed 1 year ago

nikhilkhatri commented 2 years ago

Adding support for ansatze 14 and 15 from the paper https://arxiv.org/abs/1905.10876 by Sim et al. These ansatze were added to DisCoPy in https://github.com/oxford-quantum-group/discopy/pull/79

image image
dimkart commented 2 years ago

Thanks for this. Looks mostly ok to me, assuming that the DisCoPy parts have been implemented and tested properly.

We'll have to update docs with the new ansatze and add them in the example notebooks.

ianyfan commented 1 year ago

This has been incorporated into version 0.2.7: https://github.com/CQCL/lambeq/commit/c4e361ad42b1f5c43078b2cb21abb381037d1ec3