A solver for the optical Bloch equations.