Circuit.is_qutrit_only

Circuit.is_qutrit_only()

Return true if this unitary can only act on qutrits.