openfermion.circuits.low_depth_second_order_trotter_error_bound
Numerically upper bound the error in the ground state energy for the second-order Trotter-Suzuki expansion.
openfermion.circuits.low_depth_second_order_trotter_error_bound(
terms,
indices=None,
is_hopping_operator=None,
jellium_only=False,
verbose=False
)
Args |
terms
|
a list of single-term FermionOperators in the Hamiltonian
to 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 |
A float upper bound on norm of error in the ground state energy.
|
Notes |
Follows Equation 9 of Poulin et al.'s work in "The Trotter Step
Size Required for Accurate Quantum Simulation of Quantum
Chemistry" to calculate the error operator, for 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."],[],[]]