Add Trotter state-error baseline - #89
Open
saktar-lanl wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
baseline/directory holding reference Trotterization-error measurements for the QHAT molecular Hamiltonian library, so a new Trotter or time-evolution technique can be measured against a fixed, documented set of conditions.For each Hamiltonian the metric is the state error
starting from the Hartree-Fock determinant, with both states evolved under the same generator so no global phase enters.
What's included
compute_trotter_state_error.py— computes the baseline; resumable, one CSV per (basis, mapping, species)state_errors/— 32 CSVs: 9 diatomics, hgbs-5 and sto-6g, JW and BKplots/— sample figuresREADME.md— conventions, how to run, and how to evaluate a new technique against itGrid: T = 2^6, 2^8, 2^9 by delta_t = 1, 1/2, 1/4 by Trotter order 1, 2, 4, giving 27 rows per (Hamiltonian, mapping). Each CSV carries a provenance header recording the conditions that produced its rows.
Change to existing code
hamiltonian_generator/build_config_L_sweep.pygains monatomic systems H through Ne, generated at the origin with no bond-length sweep and written tolibrary/atoms/<atom>/<basis>/.