seemps.analysis.factories.mps_sin#
- seemps.analysis.factories.mps_sin(interval: TypeAliasForwardRef('~seemps.analysis.mesh.QuantizedInterval') | tuple[float, float, int], k: complex = 1.0) MPS[source]#
Returns an MPS encoding of \(sin(k x)\).
See
mps_sum_of_exponentials().- Parameters:
- interval: QuantizedInterval | IntervalTuple
The interval over which the function is defined.
- k
complex The quasimomentum \(k\) (default is 1.0)
- Returns:
MPSAn MPS representing the discretized sine function over the interval.