qit.utils.qubits

qit.utils.qubits(n)

Dimension vector for an all-qubit system.

Parameters

n (int) – number of qubits

Returns

(2,) * n

Return type

tuple