neuralqx.utils.misc.charges module¶
- generate_charge_vectors(cutoff, gauge_dimensions=3)¶
Generate all discrete charge vectors within a symmetric cutoff.
This helper enumerates the Cartesian product of the allowed charge set
{-cutoff, ..., 0, ..., +cutoff}acrossgauge_dimensionscomponents. The result is a list of tuples, each representing one possible charge vector.- Parameters:
- Return type:
- Returns:
List of tuples of length
gauge_dimensionscontaining all possible charge vectors.