unitaria.Projection

class unitaria.Projection(subspace_from: Subspace, subspace_to: Subspace)[source]

Bases: Node

Node representing a projection matrix

Concretely, this is the identity matrix on the full state restricted to this subspaces subspace_from and subspace_to.

Parameters:

from – The domain of the identity matrix