View source on GitHub |
Determine the difference between the exact generator of unitary evolution and the approximate generator given by Trotter-Suzuki to the given order.
openfermion.circuits.error_operator(
terms, series_order=2
)
Returns | |
---|---|
The difference between the true and effective generators of time evolution for a single Trotter step. |
Notes: follows Equation 9 of Poulin et al.'s work in "The Trotter Step Size Required for Accurate Quantum Simulation of Quantum Chemistry".