for step in range(Nz): # Nonlinear step (half) A *= exp(1j * gamma * dz/2 * abs(A)**2) # Linear step (full in freq domain) A_f = fft(A) A_f *= exp(1j * (beta2/2 * omega**2 + 1j*alpha/2) * dz) A = ifft(A_f)
# Nonlinear step (half) A *= exp(1j * gamma * dz/2 * abs(A)**2)
[ \frac\partial A_1\partial z = i\gamma(|A_1|^2 + 2|A_2|^2)A_1 ] [ \frac\partial A_2\partial z = i\gamma(|A_2|^2 + 2|A_1|^2)A_2 ]
Derive the dispersion length (L_D = T_0^2/|\beta_2|) and nonlinear length (L_NL = 1/(\gamma P_0)).
It sounds like you’re looking for help with the from Govind Agrawal’s Nonlinear Fiber Optics (likely the 5th or 6th edition). This book is the standard graduate text, and its problems are notoriously math-heavy (involving coupled GNLSE, split-step Fourier, perturbation theory, etc.).