Mathematical foundations of quantum information: Measurement and foundations