UnitaryMatrix.is_qutrit_only

UnitaryMatrix.is_qutrit_only()

Return true if this unitary can only act on qutrits.