Determine the number of Trotter steps for accurate simulation.
openfermion.circuits.trotter_steps_required(
trotter_error_bound, time, energy_precision
)
Args |
trotter_error_bound (float): Upper bound on Trotter error in the
state of interest.
time (float): The total simulation time.
energy_precision (float): Acceptable shift in state energy.
|
Returns |
The integer minimum number of Trotter steps required for
simulation to the desired precision.
|
Notes:
The number of Trotter steps required is an upper bound on the
true requirement, which may be lower.