In mathematics, a symplectic integrator (SI) is a numerical integration scheme for Hamiltonian systems. Symplectic integrators form the subclass of geometric integrators which, by definition, are canonical transformations. They are widely used in nonlinear dynamics, molecular dynamics, discrete element methods, accelerator physics, plasma physics, quantum physics, and celestial mechanics.
Symplectic integrators are designed for the numerical solution of Hamilton's equations, which read
where denotes the position coordinates, the momentum coordinates, and is the Hamiltonian. The set of position and momentum coordinates are called canonical coordinates. (See Hamiltonian mechanics for more background.)
The time evolution of Hamilton's equations is a symplectomorphism, meaning that it conserves the symplectic two-form . A numerical scheme is a symplectic integrator if it also conserves this two-form.
Symplectic integrators possess, as a conserved quantity, a Hamiltonian which is slightly perturbed from the original one. By virtue of these advantages, the SI scheme has been widely applied to the calculations of long-term evolution of chaotic Hamiltonian systems ranging from the Kepler problem to the classical and semi-classical simulations in molecular dynamics.
Splitting methods for separable Hamiltonians
A widely used class of symplectic integrators is formed by the splitting methods.
Assume that the Hamiltonian is separable, meaning that it can be written in the form
For the notational simplicity, let us introduce the symbol to denote the canonical coordinates including both the position and momentum coordinates. Then, the set of the Hamilton's equations given in the introduction can be expressed in a single expression as
where is a Poisson bracket. Furthermore, by introducing an operator , which returns a Poisson bracket of the operand with the Hamiltonian, the expression of the Hamilton's equation can be further simplified to
The formal solution of this set of equations is given as a matrix exponential:
Note the positivity of in the matrix exponential.
When the Hamiltonian has the form of eq. (1), the solution (3) is equivalent to
The SI scheme approximates the time-evolution operator in the formal solution (4) by a product of operators as
where and are real numbers, is an integer, which is called the order of the integrator, and where . Note that each of the operators and provides a symplectic map, so their product appearing in the right-hand side of (5) also constitutes a symplectic map.
Since for all , we can conclude that
By using a Taylor series, can be expressed as
where is an arbitrary real number. Combining (6) and (7), and by using the same reasoning for as we have used for , we get
In concrete terms, gives the mapping
Note that both of these maps are practically computable.
Splitting methods for general nonseparable Hamiltonians
General nonseparable Hamiltonians can also be explicitly and symplectically integrated.
To do so, Tao introduced a restraint that binds two copies of phase space together to enable an explicit splitting of such systems. The idea is, instead of , one simulates , whose solution agrees with that of in the sense that .
The new Hamiltonian is advantageous for explicit symplectic integration, because it can be split into the sum of three sub-Hamiltonians, , , and . Exact solutions of all three sub-Hamiltonians can be explicitly obtained: both solutions correspond to shifts of mismatched position and momentum, and corresponds to a linear transformation. To symplectically simulate the system, one simply composes these solution maps.
Several simplectic integrators are given below. An illustrative way to use them is to consider a particle with position and velocity .
To apply a timestep with values to the particle, carry out the following steps:
- Update the position of the particle by adding to it its velocity multiplied by
- Update the velocity of the particle by adding to it its acceleration (at the updated position) multiplied by
- Update the position of the particle by adding to it its (updated) velocity multiplied by
- Update the velocity of the particle by adding to it its acceleration (at the double-updated position) multiplied by
- Update the position of the particle by adding to it its (double-updated) velocity multiplied by
- Update the velocity of the particle by adding to it its acceleration (at the triple-updated position) multiplied by
A first-order example
The symplectic Euler method is the first-order integrator with and coefficients
A second-order example
The Verlet method is the second-order integrator with and coefficients
A third-order example
A third-order symplectic integrator (with ) was discovered by Ronald Ruth in 1983. One of the many solutions is given by
A fourth-order example
A fourth-order integrator (with ) was also discovered by Ruth in 1983 and distributed privately to the accelerator community at that time. This was described in a lively review article by Forest. This fourth-order integrator was published in 1990 by Forest and Ruth and also independently discovered by two other groups around that same time.
To determine these coefficients, the Baker–Campbell–Hausdorff formula can be used. Yoshida, in particular, gives an elegant derivation of coefficients for higher-order integrators. Later on, Blanes and Moan further developed partitioned Runge–Kutta methods for the integration of systems with separable Hamiltonians with very small error constants.
- Tao, Molei (2016). "Explicit symplectic approximation of nonseparable Hamiltonians: Algorithm and long time performance". Phys. Rev. E. 94: 043303. doi:10.1103/PhysRevE.94.043303.
- Ruth, Ronald D. (August 1983). "A Canonical Integration Technique". Nuclear Science, IEEE Trans. on. NS-30 (4): 2669–2671. Bibcode:1983ITNS...30.2669R. doi:10.1109/TNS.1983.4332919.
- Forest, Etienne (2006). "Geometric Integration for Particle Accelerators". J. Phys. A: Math. Gen. 39 (19): 5321–5377. Bibcode:2006JPhA...39.5321F. doi:10.1088/0305-4470/39/19/S03.
- Forest, E.; Ruth, Ronald D. (1990). "Fourth-order symplectic integration". Physica D. 43: 105. Bibcode:1990PhyD...43..105F. doi:10.1016/0167-2789(90)90019-L.
- Yoshida, H. (1990). "Construction of higher order symplectic integrators". Phys. Lett. A. 150 (5–7): 262. Bibcode:1990PhLA..150..262Y. doi:10.1016/0375-9601(90)90092-3.
- Candy, J.; Rozmus, W (1991). "A Symplectic Integration Algorithm for Separable Hamiltonian Functions". J. Comput. Phys. 92: 230. Bibcode:1991JCoPh..92..230C. doi:10.1016/0021-9991(91)90299-Z.
- Blanes, S.; Moan, P. C. (May 2002). "Practical symplectic partitioned Runge–Kutta and Runge–Kutta–Nyström methods". Journal of Computational and Applied Mathematics. 142 (2): 313–330. Bibcode:2002JCoAM.142..313B. doi:10.1016/S0377-0427(01)00492-7.
- Leimkuhler, Ben; Reich, Sebastian (2005). Simulating Hamiltonian Dynamics. Cambridge University Press. ISBN 0-521-77290-7.
- Hairer, Ernst; Lubich, Christian; Wanner, Gerhard (2006). Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations (2 ed.). Springer. ISBN 978-3-540-30663-4.