Programmable quantum channels and measurements, Quantum Information Theory and Quantum Statistical Inference