DensityMatrix.num_qubits

property DensityMatrix.num_qubits

Return the number of qubits if a N-qubit state or None otherwise.