  Treating the effects of a time-dependent classical dephasing environment
during quantum logic operations poses a theoretical challenge, as the
application of non-commuting control operations gives rise to both dephasing
and depolarization errors that must be accounted for in order to understand
total average error rates. We develop a treatment based on effective
Hamiltonian theory that allows us to efficiently model the effect of classical
noise on nontrivial single-bit quantum logic operations composed of arbitrary
control sequences. We present a general method to calculate the
ensemble-averaged entanglement fidelity to arbitrary order in terms of noise
filter functions, and provide explicit expressions to fourth order in the noise
strength. In the weak noise limit we derive explicit filter functions for a
broad class of piecewise-constant control sequences, and use them to study the
performance of dynamically corrected gates, yielding good agreement with
brute-force numerics.
