Minimum‐error strategy for discriminating between subsets of nonorthogonal quantum states