11.3 Exercises
1. (★) A soliton in a trap. Add \(V(x) = \tfrac12\omega^{2}x^{2}\) with \(\omega = 0.05\) to imaginary_time_ground_state (the argument V is already there) and find the ground state for \(g = 0.5, 1, 2, 4\). Plot the width against \(g\) and identify the two limits: the harmonic ground state of width \(1/\sqrt{2\omega}\) when the trap dominates, and the free soliton width \(\pi/(\sqrt3 g)\) when the interaction does. Then displace the state and propagate it in real time: the centre oscillates at frequency \(\omega\) regardless of \(g\) (Section 6.4 explains why), which is what Ref. [4] observed.
2. (★) Measure the convergence rate yourself. Repeat the demonstration of Section 7.4 for a harmonic trap of frequency \(\omega \ne 1\) — the gap is then \(\omega\) — and confirm that the fitted slope tracks it over \(\omega\in\{0.5,1,2\}\). Predict, before running, how long \(\tau\) must be to reach a residual of \(10^{-8}\).
3. (★★) The virial theorem. Show analytically that for any stationary solution of Eq. (15) in one dimension, \(E_{\rm int} = -2E_{\rm kin}\). (Substitute the scaled profile \(\phi_\lambda(x) = \sqrt\lambda\,\phi(\lambda x)\), which stays normalised for all \(\lambda\), into Eq. (10), differentiate with respect to \(\lambda\) at \(\lambda=1\), and set the result to zero.) Verify it numerically for the state produced by imaginary time, and use it as an extra convergence monitor.
4. (★★) A dark soliton. For \(g<0\) the localised object is a density notch on a uniform background, \(\psi \propto \tanh(x/\xi)\), which carries a phase jump of \(\pi\); Ref. [44] solved the repulsive equation, and with it the interaction of its dark solitons, by inverse scattering. Build it by imprinting the phase \(\pi\,\Theta(x)\) on the uniform state of Section 8.5 (smooth the step over a few grid points), propagate it, and measure the depth and width of the notch (on the ring the step also jumps at the seam, so two notches form). Verify that \(\xi = 1/\sqrt{\vert g\vert n}\) with \(n = 1/L\) the background density. Why can a dark soliton not be obtained by imaginary time from an arbitrary guess?
5. (★★) Fourth-order splitting. The composition \(S(\gamma h)\,S((1-2\gamma)h)\,S(\gamma h)\) with \(\gamma = 1/(2-2^{1/3})\) is fourth-order accurate (the construction of [45] and [46]; note \(1-2\gamma<0\), so one sub-step runs backwards). Implement it for real time, repeat the convergence study of Section 9.5, and check that the fitted slope is \(4\). At which \(\Delta t\) does it become cheaper than the second-order method for a given accuracy?
6. (★★) The two-parameter ansatz \(\mathrm{sech}^{p}(x/w)\). Extend Section 6.1 to a trial family \(\psi\propto\mathrm{sech}^{p}(x/w)\) with two parameters \(p\) and \(w\), minimise \(E\) numerically over both with jax.grad, and confirm that the optimum is \(p=1\), \(w=2/g\). Then repeat with a trap added and watch \(p\) grow: \(\mathrm{sech}^{p}(x/w)\to\exp[-px^{2}/(2w^{2})]\) as \(p\to\infty\) at fixed \(w/\sqrt p\), so a Gaussian is the \(p\to\infty\) member of this family and the drift of \(p\) measures how far the trap has taken over.
7. (★★★) The collapse threshold, one dimension at a time. Solve the two-dimensional Gross-Pitaevskii equation on a \(256\times256\) grid with the same split-step method (the kinetic factor becomes \(e^{-i(k_x^{2}+k_y^{2})\Delta t/4}\)) and show numerically that in 2D the imaginary-time relaxation either spreads without limit or contracts without limit depending on \(g\), with no stable width in between — the critical case of Section 6.2. Estimate the critical \(g\) and compare with the known value for the Townes soliton, the self-trapped beam of [47].
8. (★★★) Beyond the mean field, cheaply. The Bogoliubov spectrum of the bright soliton is obtained by linearising Eq. (8) around \(\phi\) and diagonalising the resulting \(2\times2\) operator. Build it on the grid with finite differences, diagonalise it densely for \(N_x = 256\), and identify the two zero modes (translation and phase) and the continuum edge at \(\vert\mu\vert = g^{2}/8\). The absence of any discrete mode in between is the statement that the soliton has no internal oscillation: a perturbed soliton has nothing to oscillate in, so the breathing of Section 9.4 can only decay by radiating — which is why it would die away on an infinite line, and does not on the ring, where the radiation comes back.
9. (★★★) Restoring second order in imaginary time. Section 8.2 traced the \(O(\Delta\tau)\) bias of the converged state to the fact that the splitting integrates the unnormalised field \(X[\psi] = \tfrac12\psi'' + g\vert\psi\vert^{2}\psi\), which is not scale-covariant. Replace it by \(\tilde X[\psi] = \tfrac12\psi'' + g(\vert\psi\vert^{2}/\Vert\psi\Vert^{2})\psi\), whose flow commutes with scaling. Its nonlinear substep can be integrated exactly: with \(\rho = \vert\psi\vert^{2}\) normalised at the start of the substep, reparametrise \(ds = d\tau/\Vert\psi\Vert^{2}\), so that \(\rho(s) = \rho_0/(1-2g\rho_0 s)\) and \(\tau(s) = -\frac{\Delta x}{2g}\sum_j\ln\!\left(1-2g\rho_{0,j}s\right)\); solve that scalar equation for \(s\) (bisection) and apply \(\psi\to\psi/\sqrt{1-2g\rho_0 s}\). Repeat the convergence study of Section 8.2 and check that the state and \(\mu\) become \(O(\Delta\tau^{2})\) and the energy \(O(\Delta\tau^{4})\) — the orders of the linear column. Then ask what this costs per step, and whether Richardson extrapolation is not the better deal.
11.4 References
[1] E. P. Gross, Structure of a quantized vortex in boson systems, Nuovo Cimento 20, 454 (1961) — the Gross-Pitaevskii equation.
[2] L. P. Pitaevskii, Vortex lines in an imperfect Bose gas, Sov. Phys. JETP 13, 451 (1961) — the Gross-Pitaevskii equation.
[3] L. Khaykovich, F. Schreck, G. Ferrari, T. Bourdel, J. Cubizolles, L. D. Carr, Y. Castin and C. Salomon, Formation of a matter-wave bright soliton, Science 296, 1290 (2002).
[4] K. E. Strecker, G. B. Partridge, A. G. Truscott and R. G. Hulet, Formation and propagation of matter-wave soliton trains, Nature 417, 150 (2002).
[5] D. R. Hartree, The wave mechanics of an atom with a non-Coulomb central field. Part I. Theory and methods, Proc. Camb. Phil. Soc. 24, 89 (1928) — the Hartree approximation.
[6] C. J. Pethick and H. Smith, Bose-Einstein Condensation in Dilute Gases, 2nd ed., Cambridge University Press (2008) — Chapter 5 (interactions between atoms, the contact interaction of Section 2.2) and Chapter 6 (theory of the condensed state, the mean-field derivation of Section 2.1).
[7] L. P. Pitaevskii and S. Stringari, Bose-Einstein Condensation, Oxford University Press (2003) — the Gross-Pitaevskii theory of dilute condensates and its derivation from the many-body Hamiltonian.
[8] A. Einstein, Quantentheorie des einatomigen idealen Gases. Zweite Abhandlung, Sitzungsber. Preuss. Akad. Wiss., Phys.-Math. Kl. (1925), reprinted in Albert Einstein: Akademie-Vorträge, Wiley-VCH (2005), p. 245 — Bose-Einstein condensation.
[9] S. N. Bose, Plancks Gesetz und Lichtquantenhypothese, Z. Phys. 26, 178 (1924) — the counting of photon states behind Bose-Einstein statistics.
[10] E. Fermi, Sul moto dei neutroni nelle sostanze idrogenate, Ric. Sci. Progr. Tecn. Econom. Naz. 2, 13 (1936) — the contact pseudopotential.
[11] K. Huang and C. N. Yang, Quantum-mechanical many-body problem with hard-sphere interaction, Phys. Rev. 105, 767 (1957) — the contact pseudopotential in the many-body problem.
[12] A. Hasegawa and F. Tappert, Transmission of stationary nonlinear optical pulses in dispersive dielectric fibers. I. Anomalous dispersion, Appl. Phys. Lett. 23, 142 (1973) — optical solitons.
[13] L. F. Mollenauer, R. H. Stolen and J. P. Gordon, Experimental observation of picosecond pulse narrowing and solitons in optical fibers, Phys. Rev. Lett. 45, 1095 (1980) — optical solitons.
[14] E. A. Donley, N. R. Claussen, S. L. Cornish, J. L. Roberts, E. A. Cornell and C. E. Wieman, Dynamics of collapsing and exploding Bose-Einstein condensates, Nature 412, 295 (2001) — the Bosenova of Section 6.2.
[15] H. Feshbach, Unified theory of nuclear reactions, Ann. Phys. 5, 357 (1958).
[16] S. Inouye, M. R. Andrews, J. Stenger, H.-J. Miesner, D. M. Stamper-Kurn and W. Ketterle, Observation of Feshbach resonances in a Bose-Einstein condensate, Nature 392, 151 (1998).
[17] M. Olshanii, Atomic scattering in the presence of an external confinement and a gas of impenetrable bosons, Phys. Rev. Lett. 81, 938 (1998) — the one-dimensional coupling constant, Eq. (7).
[18] P. Ehrenfest, Bemerkung über die angenäherte Gültigkeit der klassischen Mechanik innerhalb der Quantenmechanik, Z. Phys. 45, 455 (1927).
[19] Y. Lai and H. A. Haus, Quantum theory of solitons in optical fibers. I. Time-dependent Hartree approximation, Phys. Rev. A 40, 844 (1989), and II. Exact solution, Phys. Rev. A 40, 854 (1989) — the quantum states behind the classical soliton, referred to in Section 6.5.
[20] H. Bethe, Zur Theorie der Metalle. I. Eigenwerte und Eigenfunktionen der linearen Atomkette, Z. Phys. 71, 205 (1931) — the Bethe ansatz.
[21] J. B. McGuire, Study of exactly soluble one-dimensional N-body problems, J. Math. Phys. 5, 622 (1964) — the bound state of \(N\) bosons with attractive contact interaction, the quantum soliton.
[22] V. E. Zakharov and A. B. Shabat, Exact theory of two-dimensional self-focusing and one-dimensional self-modulation of waves in nonlinear media, Sov. Phys. JETP 34, 62 (1972) — integrability of the nonlinear Schrödinger equation by inverse scattering.
[23] C. S. Gardner, J. M. Greene, M. D. Kruskal and R. M. Miura, Method for solving the Korteweg-deVries equation, Phys. Rev. Lett. 19, 1095 (1967) — the inverse scattering method.
[24] G. P. Agrawal, Nonlinear Fiber Optics, 5th ed., Academic Press (2013) — Chapter 5 (Optical Solitons), the optical version of Eq. (8); the appendix Numerical Code for the NLS Equation gives the split-step Fourier method as it is used in photonics.
[25] T. B. Benjamin and J. E. Feir, The disintegration of wave trains on deep water. Part 1. Theory, J. Fluid Mech. 27, 417 (1967) — modulational instability.
[26] J. H. V. Nguyen, D. Luo and R. G. Hulet, Formation of matter-wave soliton trains by modulational instability, Science 356, 422 (2017).
[27] K. Tai, A. Hasegawa and A. Tomita, Observation of modulational instability in optical fibers, Phys. Rev. Lett. 56, 135 (1986) — modulational instability.
[28] N. G. Parker, S. L. Cornish, C. S. Adams and A. M. Martin, Bright solitary waves and trapped solutions in Bose-Einstein condensates with attractive interactions, J. Phys. B 40, 3127 (2007) — the collapse threshold \(\kappa_c = 0.675\pm0.005\) used in Section 6.8.
[29] L. Salasnich, A. Parola and L. Reatto, Condensate bright solitons under transverse confinement, Phys. Rev. A 66, 043603 (2002) — the analytic collapse threshold \(2/3\) of Section 6.8.
[30] L. Salasnich, A. Parola and L. Reatto, Effective wave equations for the dynamics of cigar-shaped and disk-shaped Bose condensates, Phys. Rev. A 65, 043614 (2002) — the non-polynomial Schrödinger equation.
[31] R. Kosloff and H. Tal-Ezer, A direct relaxation method for calculating eigenfunctions and eigenvalues of the Schrödinger equation on a grid, Chem. Phys. Lett. 127, 223 (1986) — imaginary-time relaxation on a grid.
[32] M. L. Chiofalo, S. Succi and M. P. Tosi, Ground state of trapped interacting Bose-Einstein condensates by an explicit imaginary-time algorithm, Phys. Rev. E 62, 7438 (2000) — imaginary-time relaxation for the Gross-Pitaevskii equation.
[33] G. Strang, On the construction and comparison of difference schemes, SIAM J. Numer. Anal. 5, 506 (1968) — the symmetric splitting of Eq. (35).
[34] M. D. Feit, J. A. Fleck Jr. and A. Steiger, Solution of the Schrödinger equation by a spectral method, J. Comput. Phys. 47, 412 (1982) — the split-step Fourier method.
[35] R. von Mises and H. Pollaczek-Geiringer, Praktische Verfahren der Gleichungsauflösung, Z. Angew. Math. Mech. 9, 58 and 152 (1929) — the power method.
[36] W. Bao and Q. Du, Computing the ground state solution of Bose-Einstein condensates by a normalized gradient flow, SIAM J. Sci. Comput. 25, 1674 (2004) — norm conservation and energy decrease of the normalised gradient flow, the result behind Section 7.8.
[37] L. F. Richardson, The approximate arithmetical solution by finite differences of physical problems involving differential equations, with an application to the stresses in a masonry dam, Phil. Trans. R. Soc. A 210, 307 (1911) — Richardson extrapolation.
[38] Y. Nambu, Quasi-particles and gauge invariance in the theory of superconductivity, Phys. Rev. 117, 648 (1960) — the gapless mode of a broken continuous symmetry.
[39] J. Goldstone, Field theories with “superconductor” solutions, Nuovo Cimento 19, 154 (1961) — the gapless mode of a broken continuous symmetry.
[40] C. Runge, Ueber die numerische Auflösung von Differentialgleichungen, Math. Ann. 46, 167 (1895) — the Runge-Kutta methods.
[41] W. Kutta, Beitrag zur näherungsweisen Integration totaler Differentialgleichungen, Z. Math. Phys. 46, 435 (1901) — the Runge-Kutta methods.
[42] W. H. Press, S. A. Teukolsky, W. T. Vetterling and B. P. Flannery, Numerical Recipes: The Art of Scientific Computing, 3rd ed., Cambridge University Press (2007) — Chapter 12 (fast Fourier transform), Chapter 17 (integration of ordinary differential equations, including the Runge-Kutta stability of Section 9.1) and Chapter 20 (partial differential equations).
[43] W. H. Press, S. A. Teukolsky, W. T. Vetterling and B. P. Flannery, Numerical Recipes in Fortran 90: The Art of Parallel Scientific Computing, 2nd ed. (Fortran Numerical Recipes, Volume 2), Cambridge University Press (1996) — the routines of the second edition rewritten as parallel, whole-array Fortran 90, including the FFT and the ODE integrators (the methods themselves are explained in the companion text).
[44] V. E. Zakharov and A. B. Shabat, Interaction between solitons in a stable medium, Sov. Phys. JETP 37, 823 (1973) — the repulsive equation and its dark solitons (Exercise 4).
[45] E. Forest and R. D. Ruth, Fourth-order symplectic integration, Physica D 43, 105 (1990) — the fourth-order composition of Exercise 5.
[46] H. Yoshida, Construction of higher order symplectic integrators, Phys. Lett. A 150, 262 (1990) — the fourth-order composition of Exercise 5.
[47] R. Y. Chiao, E. Garmire and C. H. Townes, Self-trapping of optical beams, Phys. Rev. Lett. 13, 479 (1964) — the Townes soliton of Exercise 7.
[48] J. H. V. Nguyen, P. Dyke, D. Luo, B. A. Malomed and R. G. Hulet, Collisions of matter-wave solitons, Nature Physics 10, 918 (2014), arXiv:1407.5087 — the dependence of soliton collisions on the relative phase, observed in a lithium condensate (Section 11.5).