Skip to content

Commit

Permalink
fix type hint for util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bartandrews committed Oct 29, 2024
1 parent 3820e25 commit 94b7d93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/ffsim/tenpy/util.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
from __future__ import annotations

from typing import Tuple

from tenpy.networks.mps import MPS
from tenpy.networks.site import SpinHalfFermionSite

import ffsim


def product_state_as_mps(norb: int, nelec: int | Tuple[int, int], idx: int) -> MPS:
def product_state_as_mps(norb: int, nelec: int | tuple[int, int], idx: int) -> MPS:
r"""Return the product state as an MPS.
Args:
Expand Down

0 comments on commit 94b7d93

Please sign in to comment.