UnitaryBuilder.is_qubit_only

UnitaryBuilder.is_qubit_only()

Return true if this unitary can only act on qubits.