Skip to content

Commit

Permalink
fix slater_determinant_rdms overload variants
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jun 28, 2024
1 parent bbe42fa commit 3e924cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/ffsim/states/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ def slater_determinant_rdms(
norb: int,
occupied_orbitals: Sequence[int],
orbital_rotation: np.ndarray | None = None,
*,
rank: int = 1,
) -> np.ndarray: ...
@overload
def slater_determinant_rdms(
Expand All @@ -284,6 +286,8 @@ def slater_determinant_rdms(
orbital_rotation: np.ndarray
| tuple[np.ndarray | None, np.ndarray | None]
| None = None,
*,
rank: int = 1,
) -> np.ndarray: ...
def slater_determinant_rdms(
norb: int,
Expand Down

0 comments on commit 3e924cd

Please sign in to comment.