By using a variational method of Pekar type, we investigate the effects of the hydrogen-like impurity and magnetic field on the electron’s probability density (PD) and oscillating frequency (OF) of a RbCl quantum pseudodot qubit. Numerical results indicate that (1) the PD oscillates periodically; (2) the crest of the PD will decrease with increasing the cyclotron frequencies and the Coulombic impurity potential strength; (3) as the cyclotron frequency of the magnetic field and the strength of the Coulombic impurity potential increases, PD’s peaks will occur more frequently; (4) besides, Figs. 1b and 2b clearly show that in a single period the PD will decrease with increasing the cyclotron frequency and the Coulombic impurity potential strength when \( t > 1.8\;\text{fs} \); whereas the changing law is just the opposite when \( t < 1.8\;\text{fs} \); (5) the OF is an aggrandizing function of the strength of the Coulombic impurity potential, whereas it is a decaying one of the cyclotron frequencies of the magnetic field. The coherence of qubit is crucial to the investigations of quantum information and quantum computation, where the electron’s PD, the OF and the coherence time are the physical quantities representing the properties of coherence. Our research results fine that by changing the cyclotron frequency of the magnetic field and the strength of the Coulombic impurity potential one can adjust the electron’s PD and the OF. Open image in new window Fig. 1 The PD \( \text{Q}\left( {r,t} \right) \) versus the time \( t \) and the cyclotron frequency of the magnetic field \( \omega_{c} \) with \( \text{V}_{0} = 10.0\,\text{meV, r}_{0} = 1.0\,\text{nm, }\beta \text{ = 1.0}\,\text{meV} \cdot \text{nm} \) and \( x = y = z = 1.0\,\text{nm} \) Open image in new window Fig. 2 The PD \( \text{Q}\left( {r,t} \right) \) versus the time \( t \) and strength of the Coulombic impurity potential \( \beta \) with \( \text{V}_{0} = 10.0\,\text{meV, r}_{0} = 1.0\,\text{nm,} \, \omega_{c} \text{ = 2.0}\, \times \text{10}^{13}\,\text{Hz} \) and \( x = y = z = 1.0\,\text{nm} \)