Use this file to discover all available pages before exploring further.
View on GitHub
Open this notebook in GitHub to run it yourself
The suzuki_trotter function produces the Suzuki-Trotter product for a given order and repetitions.Given a Hamiltonian as a sum of Pauli stringsH=k=1∑LαkHk,the Suzuki-Trotter formula of order o and repetitions r approximates the Hamiltonian simulation U=e−iHt according to the following:
Each order ST(o)(H,t) is defined recursively:
The first order is : ST(1)(H,t)=Πk=1Le−iHkt
The second order is : ST(2)(H,t)=Πk=1Le−iHkt/2Πk=L1e−iHkt/2
Recursion formula for order 2m with m>1 is given in Eq. (5) of Ref. [2]