As far as I know (or I thought I knew), if we have an electric field $$\mathbf{E}=\mathbf{E_0}\cos(\omega t - kx),$$ we can define it as the real part of $$\mathbf{E}=Re(\mathbf{E_0}e^{i(\omega t - kx)}).$$
Introducing imaginary components to the electric field is only a matter of making the maths easier, in particular in the case of complex exponentials which are eigenfunctions of the differential operators.
Now.
In a Ph.D. thesis I was reading, about lasers and cavity misalignment (which doesn't really matter, my question does not require any knowledge of this), I came across something along the lines of:
The electric field to first order misalignment can be written as $$\mid E\rangle = | 00 \rangle + i | 01 \rangle, $$ where the two kets on the LHS are the fundamental and 1st excited Hermite-Gaussian modes.
But the physical part of the electric field is surely its real part? What purpose can the imaginary component above serve?