Class diagrams¶
For users who would like to contribute more actively to the development of lambeq
, this section provides high-level UML class diagrams for the most important sub-packages and components of the toolkit. For completeness, the diagrams contain first-degree associations with external libraries.
Note
Click on a diagram to zoom.
The significance of the colors used for the class/package boxes is explained in the following diagram:
lambeq.ansatz¶
lambeq.backend¶
This shows the internals of the classes from grammar
and how they are related to each other via attributes and methods.
Zooming out a bit, this shows how the classes from grammar
, tensor
, and quantum
interact through inheritance.
This is similar to the above diagram but with a focus on classes from quantum
.