We obtain the eigenenergies and eigenfunctions (EE) of the ground and first excited states of an electron strongly coupled to LO-phonon in a parabolic quantum dot. The effect of an applied magnetic field is considered by using variational method of Pekar type. This system may be regarded as a two-level qubit. Spontaneous phonon emission arouses the qubit’s decoherence. Relations between the coherence time (CT) and the magnetic field, the effective confinement length (ECL) and the polaron radius (PR) are numerically calculated. It is found that the CT is an increasing function of the ECL, whereas it is a decreasing one of the cyclotron frequency and PR. We can extend the CT by changing these parameters in the correlated quantum functional devices.