Skip to content

feat(dfpt): little group of q with time reversal for the symmetrization basis - #8431

Merged
mohanchen merged 1 commit into
deepmodeling:developfrom
Zanthoxylum:feat-dfpt-gq-little-group
Nov 28, 2026
Merged

mohanchen merged 1 commit into
deepmodeling:developfrom
Zanthoxylum:feat-dfpt-gq-little-group

Conversation

@Zanthoxylum

Copy link
Copy Markdown
Collaborator

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 + 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. A
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.

Design

  • 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), so it is testable
    without running the full symmetry analysis.
  • It returns the union of the two branches: for a time-reversal-invariant
    q they coincide (L -> D3d of 12, X -> D4h of 16); for a generic q the
    antiunitary branch still contributes inversion (theta*i fixes every
    q). Callers needing only the unitary co-group (the QE symdvscf
    rotation average) re-filter on the s = +1 branch.
  • Membership is convention-immune: an operation and its inverse qualify
    together.
  • Inert infrastructure: nothing consumes it yet; the response k-list
    generation and the G_q projection land in later steps.

Verification

Unit tests against independently derived groups:

  • Gamma keeps all 48 Oh operations.
  • The fcc L little group (incl. TR) is D3d of 12.
  • The fcc X little group (incl. TR) is D4h of 16.
  • A generic q keeps exactly the identity and the inversion-times-TR
    pair.
  • The empty-input guard.

…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.
@Zanthoxylum Zanthoxylum added Refactor Refactor ABACUS codes DFPT Density Functional Perturbation Theory labels Nov 28, 2026
@mohanchen
mohanchen merged commit 1d016aa into deepmodeling:develop Nov 28, 2026
20 checks passed
@Zanthoxylum
Zanthoxylum deleted the feat-dfpt-gq-little-group branch November 28, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DFPT Density Functional Perturbation Theory Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants