Skip to content

Commit

Permalink
Document the strategy argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan José Rodríguez Aldavero committed Jan 4, 2024
1 parent cc7af92 commit fa87aaa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/seemps/analysis/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def mps_sine(
The end of the interval.
sites : int
The number of sites or qubits for the MPS.
strategy : Strategy, default = DEFAULT_STRATEGY
The MPS simplification strategy to apply.
Returns
-------
Expand All @@ -120,6 +122,8 @@ def mps_cosine(
The end of the interval.
sites : int
The number of sites or qubits for the MPS.
strategy : Strategy, default = DEFAULT_STRATEGY
The MPS simplification strategy to apply.
Returns
-------
Expand All @@ -140,6 +144,8 @@ def mps_interval(interval: Interval, strategy: Strategy = DEFAULT_STRATEGY):
----------
interval : Interval
The interval object containing start and stop points and the interval type.
strategy : Strategy, default = DEFAULT_STRATEGY
The MPS simplification strategy to apply.
Returns
-------
Expand Down Expand Up @@ -189,7 +195,7 @@ def mps_tensor_sum(mps_list: List[MPS], strategy: Strategy = DEFAULT_STRATEGY) -
----------
mps_list : List[MPS]
The list of MPS objects to sum.
strategy : Strategy, optional
strategy : Strategy, default = DEFAULT_STRATEGY
The MPS simplification strategy to apply.
Returns
Expand Down

0 comments on commit fa87aaa

Please sign in to comment.