Repository navigation
feat(dfpt): little group of q with time reversal for the symmetrization basis - #8431
Merged
mohanchen merged 1 commit intoNov 28, 2026
Merged
Conversation
…on basis First building block of the symmetry-reduced response path (design doc DESIGN_symmetry_response.md, PR B1): the enumeration of the space-group operations that preserve a wave vector modulo a reciprocal-lattice vector, R q = s q + G with s = +-1, where the s = -1 branch admits the rotations that preserve q when composed with time reversal. The reciprocal test is the dot-product integrality (R q - s q) . a_i / 2pi in Z over the direct primitive vectors. The cartesian-integrality alternative is wrong for non-primitive lattices: at the fcc L point it would admit C2y because the cartesian difference (1, 0, -1) 2pi/a is integral but not a reciprocal-lattice vector. The function takes the lattice and the operation array explicitly (the symmetry module's gmatrix convention, reconstructed as latvec^-1 G latvec following symmetrize_mat3) and returns the union of the two branches: for a time-reversal-invariant q they coincide (L -> D3d of 12, X -> D4h of 16), while for a generic q the antiunitary branch still contributes inversion (theta*i fixes every q). Membership is convention-immune (an operation and its inverse qualify together), and the module is inert infrastructure: nothing consumes it yet, the response k-list generation and the G_q projection land in later steps. Tests: Gamma keeps all 48 Oh operations, the fcc L/X/D3d/D4h counts (12/16) against the independently derived groups, the generic-q identity+inversion pair, and the empty-input guard.
mohanchen
approved these changes
Nov 28, 2026
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
First building block of the symmetry-reduced DFPT response path: the
enumeration of the space-group operations that preserve a wave vector
modulo a reciprocal-lattice vector,
R q = s q + Gwiths = +-1,where the
s = -1branch admits the rotations that preserve q whencomposed with time reversal.
The reciprocal test is the dot-product integrality
(R q - s q) . a_i / 2pi in Zover the direct primitive vectors. Acartesian-integrality alternative is wrong for non-primitive lattices:
at the fcc L point it would admit C2y because the cartesian difference
(1, 0, -1) 2pi/ais integral but not a reciprocal-lattice vector.Design
(the symmetry module's
gmatrixconvention, reconstructed aslatvec^-1 G latvecfollowingsymmetrize_mat3), so it is testablewithout running the full symmetry analysis.
q they coincide (L -> D3d of 12, X -> D4h of 16); for a generic q the
antiunitary branch still contributes inversion (
theta*ifixes everyq). Callers needing only the unitary co-group (the QE
symdvscfrotation average) re-filter on the
s = +1branch.together.
generation and the G_q projection land in later steps.
Verification
Unit tests against independently derived groups:
pair.