A theoretical description is given for electronic properties of semico
nductor quantum dots in a magnetic field. A two-electron model is appl
ied for electrons in a cylindrical quantum dot with a parabolic confin
ement potential. The eigenvalue problem is solved by the variational m
ethod with the trial wave function proposed in the form of linear comb
ination of S-type and P-type Gaussians. The energy levels of singlet a
nd triplet states with arbitrary radial and magnetic quantum numbers h
ave been calculated as a function of the applied magnetic field. The c
alculated cyclotron transition energies agree well with those measured
for InGaAs/GaAs quantum dots. It is shown that the electron-electron
interaction has a small influence on the transition energy.