Use three-way qutrit sign-flip discrimination. Prepare the qutrit in the uniform superposition state
For an unknown label , the supplied unitary operator is . Apply it once and then apply the known inversion about the mean
Since and , this is an allowed unitary transformation. Using gives
Perform a computational-basis measurement and guess that its outcome is the unknown label. The Born rule gives
Each incorrect outcome has probability , verifying normalization. The success probability is separately for every label, so no assumption about their prior probabilities is needed.