Skip to content

Commit

Permalink
update api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Feb 13, 2025
1 parent f852f91 commit a80e016
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pyblock2/driver/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,9 +832,12 @@ def set_symmetry_groups(self, *args, hints=None):
Args:
args : list[str]
List of names of (Abelian) symmetry groups. ``0 <= len(args) <= 6`` is required.
Possible sub-group names are "U1", "Z1", "Z2", "Z3", ..., "Z2055",
"U1Fermi", "Z1Fermi", "Z2Fermi", "Z3Fermi", ..., "Z2055Fermi", "LZ", and "AbelianPG".
List of names of symmetry groups. ``0 <= len(args) <= 6`` is required.
Possible sub-group names are "U1", "SU2", "Z1", "Z2", "Z3", ..., "Z2055", "U1Fermi",
"SU2Fermi", "Z1Fermi", "Z2Fermi", "Z3Fermi", ..., "Z2055Fermi", "LZ", and "AbelianPG".
Support for non-Abelian groups ("SU2") is limited. Each "SU2" needs to be repeated once
and occupy two contiguous slots in the list. Correspondingly, when setting the "SU2"
quantum numbers, the number should be copied once.
hints : list[str] or None
Hint for symmetry interpretation. Default is None.
"""
Expand Down

0 comments on commit a80e016

Please sign in to comment.