In mathematics, the Leimkuhler-Matthews method (or LM method in its original paper ) is an
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algorithms are used as specificat ...
for finding discretized solutions to the
Brownian dynamics
Brownian dynamics (BD) can be used to describe the motion of molecules for example in molecular simulations or in reality. It is a simplified version of Langevin dynamics and corresponds to the limit where no average acceleration takes place. Thi ...
:
where
is a constant,
is an
energy function
Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criterion, from some set of available alternatives. It is generally divided into two subfi ...
and
is a
Wiener process
In mathematics, the Wiener process is a real-valued continuous-time stochastic process named in honor of American mathematician Norbert Wiener for his investigations on the mathematical properties of the one-dimensional Brownian motion. It is o ...
. This
stochastic differential equation
A stochastic differential equation (SDE) is a differential equation in which one or more of the terms is a stochastic process, resulting in a solution which is also a stochastic process. SDEs are used to model various phenomena such as stock pr ...
has solutions (denoted
at time
) distributed according to
in the limit of large-time, making solving these dynamics relevant in sampling-focused applications such as classical
molecular dynamics
Molecular dynamics (MD) is a computer simulation method for analyzing the physical movements of atoms and molecules. The atoms and molecules are allowed to interact for a fixed period of time, giving a view of the dynamic "evolution" of the ...
and
machine learning
Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence.
Machine ...
.
Given a time step
, the Leimkuhler-Matthews update scheme is compactly written as
:
with initial condition
, and where
. The vector
is a vector of independent
normal random numbers redrawn at each step so
(where
._However,_we_can_recast_the_scheme_as_a_Markov_process_by_extending_the_space.
We_can_rewrite_the_algorithm_in_a_Markovian_form_by_extending_the_state_space_with_a_''momentum_vector''___
where_the_middle_step_completely_redraws_the_momentum_so_that_each_component_is_an_independent_normal_random_number._This_scheme_is_Markovian,_and_has_the_same_properties_as_the_original_LM_scheme.
The_algorithm_has_application_in_any_area_where_the_weak_(i.e._average)_properties_of_solutions_to_