Optimal detection of quantum information.