|View source on GitHub|
Determine the difference between the exact generator of unitary
openfermion.circuits.low_depth_second_order_trotter_error_operator( terms, indices=None, is_hopping_operator=None, jellium_only=False, verbose=False )
evolution and the approximate generator given by the second-order Trotter-Suzuki expansion.
||a list of FermionOperators in the Hamiltonian in the order in which they will be simulated.|
||a set of indices the terms act on in the same order as terms.|
||a list of whether each term is a hopping operator.|
||Whether the terms are from the jellium Hamiltonian only, rather than the full dual basis Hamiltonian (i.e. whether c_i = c for all number operators i^ i, or whether they depend on i as is possible in the general case).|
||Whether to print percentage progress.|
|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", applied to the "stagger"-based Trotter step for detailed in Kivlichan et al., "Quantum Simulation of Electronic Structure with Linear Depth and Connectivity", arxiv:1711.04789.