Unitary.is_qubit_only

Unitary.is_qubit_only()[source]

Return true if this unitary can only act on qubits.