unitaria.Projection¶
- class unitaria.Projection(subspace_from: Subspace, subspace_to: Subspace)[source]¶
Bases:
NodeNode representing a projection matrix
Concretely, this is the identity matrix on the full state restricted to this subspaces
subspace_fromandsubspace_to.- Parameters:
from – The domain of the identity matrix