Optimal representation and processing of optical signals in quadratic-phase systems