LocallyOptimizableUnitary.is_qubit_only

LocallyOptimizableUnitary.is_qubit_only()

Return true if this unitary can only act on qubits.