  We propose a numerical algorithm for finding optimal measurements for
quantum-state discrimination. The theory of the semidefinite programming
provides a simple check of the optimality of the numerically obtained results.
