seemps.analysis.derivatives.hdaf_derivative_mpo#

seemps.analysis.derivatives.hdaf_derivative_mpo(order: int, interval: QuantizedInterval | tuple[float, float, int], M: int = 10, s0: float | floating | None = None, periodic: bool = True, strategy: Strategy = DEFAULT_STRATEGY) MPO[source]#

Constructs a Matrix Product Operator (MPO) of Hermite Distributed Approximating Functionals (HDAFs). The operator may approximate the identity, a derivative or the free propagator, depending on the values of the derivative and time parameters.

Parameters:
orderint

Order of the derivative to approximate

intervalQuantizedInterval | IntervalTuple

The interval over which the function is defined.

periodicbool, default=True

Whether the grid follows perioidic boundary conditions.

Mint

The order of the highest Hermite polynomial (must be an even integer). Defaults to 10.

s0Float | None, default=None

The width of the HDAF Gaussian weight. If not provided, a suitable width will be computed based on M and dx.

strategyStrategy, default=DEFAULT_STRATEGY

The strategy for the returned MPO. Values of the HDAF below the simplification tolerance of the strategy will be discarded.

Returns:
mpo: MPO

The HDAF approximation to an operator specified by the input parameters.