openfermion.circuits.low_depth_second_order_trotter_error_operator
Determine the difference between the exact generator of unitary evolution and the approximate generator given by the second-order Trotter-Suzuki expansion.
openfermion.circuits.low_depth_second_order_trotter_error_operator(
terms,
indices=None,
is_hopping_operator=None,
jellium_only=False,
verbose=False
)
Args |
terms
|
a list of FermionOperators in the Hamiltonian in the
order in which they will be simulated.
|
indices
|
a set of indices the terms act on in the same order as terms.
|
is_hopping_operator
|
a list of whether each term is a hopping operator.
|
jellium_only
|
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).
|
verbose
|
Whether to print percentage progress.
|
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",
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.
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 2024-04-26 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 2024-04-26 UTC."],[],[]]