openfermion.circuits.trotter_steps_required_propagator
Determine the number of Trotter steps for accurate state evolution.
View aliases
Main aliases
`openfermion.circuits.trotter.trotter_error.trotter_steps_required_propagator`, `openfermion.circuits.trotter.trotter_steps_required_propagator`, `openfermion.trotter_steps_required_propagator`
openfermion.circuits.trotter_steps_required_propagator(
trotter_error_bound, time, prop_precision
)
This function calculates the number of steps required to bound the
error in the time evolution operator (propagator error / spectral norm error)
to a given fidelity precision. This is appropriate for quantum dynamics
applications where we care about the accuracy of the state itself over
time. This uses the following definition of error for time t and
number of steps r:
\[
\lVert U - U^{TS} \rVert = \frac{t^3}{r^2} E_{bound}(H)
\]
Args |
trotter_error_bound
|
float
Upper bound on Trotter error in the
state of interest.
|
time
|
float
The total simulation time.
|
prop_precision
|
float
Acceptable error in the time evolution
operator (propagator error).
|
Returns |
|
The integer minimum number of Trotter steps required.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-14 UTC."],[],[]]