Add the LLL-projected C4 moire model and its interaction map - #2
Merged
Merged
Conversation
…r chain Enumerated every one-body slot and every ordered pair admitted by momentum conservation and the orbital bounds, in closed form on the index differences rather than by generating and rejecting candidates over all four indices. Truncation is deliberately left to the model builder, the only stage that sees the interaction parameters and can judge which couplings are negligible; a cutoff imposed here would also be invisible in the logs, since the excluded terms would never be enumerated in the first place.
…ction table Built the cylinder one-body matrix from the four C4 reciprocal harmonics, and precomputed the screened-Coulomb table through a nonoscillatory form of the momentum integral, reached by substituting the oscillatory cosine away so that Gauss-Legendre converges without a blowup in node count. The two-body term is carried in the half-weighted convention, summed over ordered pairs alone, which is what fixes the interaction scale relative to the potential amplitude and is set out on `ordered_pair_W`. Coupling truncation is relative to a per-channel reference rather than absolute, so that a scan over either scale keeps the same accuracy throughout, and the discarded weight is both logged and exposed for programmatic audit.
Catalogued both scripts under the existing model and intrcmap categories together with their SHA-256 digests, which is what makes them discoverable and installable once this reaches primary.
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.
Adds a spinless-fermion model for a C4 moire potential projected onto the lowest Landau level on a cylinder, together with the interaction map that enumerates its terms, and registers both in
registry.yaml.The interaction map emits every one-body slot and every ordered pair admitted by momentum conservation and the orbital bounds, computed in closed form on the index differences. It carries no index cutoffs: truncation belongs to the model builder, which is the only stage that sees the interaction parameters.
The model builder assembles the one-body matrix from the four C4 reciprocal harmonics and precomputes the screened-Coulomb table through a nonoscillatory form of the momentum integral. Coupling truncation is relative to a per-channel reference scale rather than absolute, so a scan over either the potential amplitude or the interaction strength keeps the same accuracy throughout, and the discarded weight is logged and exposed for audit.
The two-body term uses the half-weighted convention, summed over ordered pairs alone, equivalent to
1/2times the unrestricted four-index sum. This is documented onordered_pair_W, since it fixes the interaction scale relative to the potential amplitude and differs by a factor of two from sources that write the sum unrestricted.Verification
8e-15.N^4quadruples forN = 5..9.N = 12and half filling reproduces exact diagonalization of the same Hamiltonian to2e-14.python tools/verify_registry.pypasses on all four entries.Not included
No regression test, as the repository currently has no test infrastructure beyond the digest check.