mm.physics.representations.Representation¶
- class mrmustard.physics.representations.Representation[source]¶
Bases:
ABC
A base class for representations.
Representations can be initialized using the
from_ansatz
method, which automatically equips them with all the functionality required to perform mathematical operations, such as equality, multiplication, subtraction, etc.Attributes
Methods
code/api/mrmustard.physics.representations.Representation
Download Python script
Download Notebook
View on GitHub