Subsystem¶ class Subsystem(name, dim)[source]¶ Bases: object A Hilbert space with a name and a dimension. Initialize with name and dimension. Parameters: name (str) – Name of the subsystem. dim (int) – Dimension of the subsystem. Attributes dim¶ Dimension of subsystem. name¶ Name of subsystem.