Release 0.4.0 is now public #129
Thommy257
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added:
A new integrated backend that replaces
DisCoPy, which until now was providing the low-level functionality oflambeq. The new backend offers better performance, increased stability, faster training speeds, and a simplified high-level interface to the user. The new backend consists of the following sub-modules:lambeq.backend.grammar: Contains the building blocks for creating string diagrams.lambeq.backend.tensor: Contains the necessary classes to create tensor diagrams.lambeq.backend.quantum: Adds quantum-specific functionality to the backend and provides a circuit simulator based on the TensorNetwork library.lambeq.backend.pennylane: Interface with PennyLane.lambeq.backend.tk: Inteface with Tket.lambeq.backend.numerical_backend: Common interface for numerical backends (such as Numpy, Jax, PyTorch, TensorFlow)lambeq.backend.drawing: Contains drawing functionality for diagrams and circuits.lambeq.BobcatParser: Added a special case for adjectival conjunction in tree translation.lambeq.TreeReader: Diagrams now are created straight from thelambeq.CCGTree.lambeq.CCGRuleapply method: Addedlambeq.CCGRule.applymethod to classlambeq.CCGRule.Changed:
remove_cupsandremove_swapsare now refactored as diagram-level rewriters,lambeq.RemoveCupsRewriterandlambeq.RemoveSwapsRewritercorrespondingly.lambeq.Tokeniser.Fixed:
lambeq.UnknownWordsRewriteRule: Fixed rewriting of non-word boxes.Removed:
CCGTree.to_biclosed_diagramand references todiscopy.biclosed. Now CCG trees are directly converted into string diagrams, without the extra step of storing the derivation in a biclosed form.lambeq.CCGRule: Removedreplace_cat_resultand addedlambeq.CCGRule.resolve.This discussion was created from the release 0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions