seemps.analysis.factories.mps_cos#

seemps.analysis.factories.mps_cos(start, stop, sites, strategy=<seemps.state.core.Strategy object>)[source]#

Returns an MPS representing a cosine function discretized over a half-open interval [start, stop).

Parameters:
startfloat

The start of the interval.

stopfloat

The end of the interval.

sitesint

The number of sites or qubits for the MPS.

strategyStrategy, default=DEFAULT_STRATEGY

The MPS simplification strategy to apply.

Returns:
MPS

An MPS representing the discretized cosine function over the interval.