lambeq icon indicating copy to clipboard operation
lambeq copied to clipboard

A high-level Python library for Quantum Natural Language Processing

Results 25 lambeq issues
Sort by recently updated
recently updated
newest added

I'm trying to run the following code from your [tutorials website](https://cqcl.github.io/lambeq/tutorials/trainer_quantum.html), but I am unable to install BobcatParser. I am working in a Colab environment. Is there a dependency that...

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

### Discussed in https://github.com/CQCL/lambeq/discussions/49 Originally posted by **JVM1982** October 10, 2022 Hello. Why the following code does not work ? : sentence = 'person runs program .' diagram = remove_cups(...

I am interested in some verticalization of lambeq (and consequently discocat) to languages other than English, particularly Italian. As far as I read from the documentation from a linguistic point...

Hi, I’m trying to set up a model for multi-classification task with 4 classes (0 to 3) and wondering if I can ask some questions regarding allocation of qubits when...

**Issue Description:** I encountered a type error while attempting to load the library in Python 3.12 on a Mac device. The issue arises when the following library is imported: ```python...

def read_data(sentences): labels, data = [], [] for sentence in sentences: label = int(sentence[0]) labels.append([label,1-label]) data.append(sentence[3:].strip()) # Adjust index to account for label return labels, data train_sentences = [ "0,...

Hi @neiljdo Added a new custom method to the `BaseAnsatz` class called custom, which implements `BaseAnsatz.custom` function, where anything can go inside that custom function, even custom gate definitions. I...

Hi, @neiljdo I was thinking if lambeq could provide users with the ability to define custome layers or gates within anastz classes. This could involve creating a user interface that...