Quantum channels in nonlinear optical processes