unitaria.SubspaceFactor

class unitaria.SubspaceFactor[source]

Bases: ABC

abstractmethod dimension() int[source]

The dimension of the subspace

abstractmethod total_qubits() int[source]

The number of qubits of the state space in which the subspace lives

The dimension of the state space is 2 ** total_qubits