We study theoretically the essential properties of an exciton in vertically coupled Gaussian quantum dots in the presence of an external magnetic field. The ground state energy of a heavy-hole exciton is split into four energy levels due to the Zeeman effect. For the symmetrical system, the entanglement entropy of the exciton state can reach a value of 1. However, for a system with broken symmetry, it is close to zero. Our results are in good agreement with previous studies.