The Hamiltonian of a quantum rod with an ellipsoidal boundary is given by using a coordinate transformation in which the ellipsoidal boundary is changed into a spherical one. Under the condition of strong electron—longitudinal optical phonon coupling in the rod, we obtain both the electron eigenfunctions and the eigenenergies of the ground and first-excited state by using the Pekar-type variational method. This quantum rod system may be used as a two-level qubit. When the electron is in the superposition state of the ground and first-excited states, the probability density of the electron oscillates in the rod with a certain period. It is found that the oscillation period is an increasing function of the ellipsoid aspect ratio and the transverse and longitudinal effective confinement lengths of the quantum rod, whereas it is a decreasing function of the electron—phonon coupling strength.