We deal with the general quadratic Hamiltonian and a particle in electromagnetic fields.
The evolution operator is worked out through the Lie algebraic approach.
We also obtain the propagator and Heisenberg picture position and momentum operators.
Analytical expressions for a rotating quadrupole field ion trap are presented.
Exact solutions for magneto-transport in variable electromagnetic fields are shown.