  Mean king's problem is a kind of quantum state discrimination problems. In
the problem, we try to discriminate eigenstates of noncommutative observables
with the help of classical delayed information. The problem has been
investigated from the viewpoint of error detection and correction. We construct
higher-dimensional quantum error-correcting codes against error corresponding
to the noncommutative observables. Any code state of the codes provides a way
to discriminate the eigenstates correctly with the classical delayed
information.
