ConstantGate.is_qutrit_only

ConstantGate.is_qutrit_only()

Return true if this unitary can only act on qutrits.