ConstantGate.is_qubit_only

ConstantGate.is_qubit_only()

Return true if this unitary can only act on qubits.