netket.symmetry.group.cyclic_group#
- netket.symmetry.group.cyclic_group(n)[source]#
Returns the cyclic PermutationGroup \(\mathbb{Z}_n\) acting on \(n\) elements by cyclic shifts.
The \(k\)-th element maps \(i \mapsto (i + k) \bmod n\).
- Parameters:
n (
int) – Order of the cyclic group (must be a positive integer).- Return type:
- Returns:
A PermutationGroup of degree \(n\) with \(n\) elements.