View on GitHub
Open this notebook in GitHub to run it yourself
suzuki_trotter function produces the Suzuki-Trotter product for a given order and repetitions.
Given a Hamiltonian as a sum of Pauli strings
the Suzuki-Trotter formula of order and repetitions approximates the Hamiltonian simulation according to the following:
- Each order is defined recursively:
- The first order is :
- The second order is :
- Recursion formula for order with is given in Eq. (5) of Ref. [2]
- For a given order, repetitions refers to
suzuki_trotter
Arguments:
pauli_operator:CArray[PauliTerm]evolution_coefficient:CRealorder:CInt,repetitions:CInt,qbv:QArray[QBit]