Construction and analysis of a mathematical model in quantum communication processes