SubSwapGate.is_qubit_only

SubSwapGate.is_qubit_only()

Return true if this unitary can only act on qubits.