openfermion.circuits.trotter_steps_required

Determine the number of Trotter steps for accurate simulation.

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.

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.