Skip to content

Commit

Permalink
Fixed type and linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjosegarciaripoll committed May 5, 2024
1 parent 61f48a9 commit 2e05f90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/seemps/state/canonical_mps.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
__all__ = [
"CanonicalMPS",
"_update_in_canonical_form_right",
"_update_in_canonical_form_right",
"_update_in_canonical_form_left",
"_update_canonical_2site_left", # TODO: Delete
"_update_canonical_2site_right", # TODO: Delete
"_canonicalize", # TODO: Delete
]


Expand Down
1 change: 1 addition & 0 deletions src/seemps/state/core.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class MPSSum:
def _joined_tensors(self, i: int, L: int) -> Tensor3: ...
def join(self) -> MPS: ...
def as_mps(self) -> MPS: ...
def delete_zero_components(self) -> float: ...

# TODO: hide *environment*() functions with '_'
def _begin_environment(D: Optional[int] = 1) -> Environment: ...
Expand Down

0 comments on commit 2e05f90

Please sign in to comment.