Under the prescribed computational-basis measurement and decision rule, the first state is correctly declared when outcome zero occurs, with probability . The second is correctly declared on outcome one, with the same probability. Averaging the two equal priors gives
One can also verify optimality directly: the two density matrices differ by . Since , choosing the positive eigenspace as the decision for the first state maximizes the trace contribution to success. This is the equal-prior discrimination of qubit states construction along the vertical axis.