Quantum Measurement Theory and its Applications