Quantum probability and applications to the quantum theory o