unitaria.Identity¶
- class unitaria.Identity(subspace: Subspace | None = None, *, dim: int | None = None)[source]¶
Bases:
NodeNode representing the identity matrix on a given vectorspace
Should specify exactly one of
subspaceordim- Parameters:
subspace – The domain of the identity matrix
dim – The dimension of the domain