seemps.analysis.lagrange.lagrange_local_rank_revealing#

seemps.analysis.lagrange.lagrange_local_rank_revealing(func, order, local_order, sites, start=-1.0, stop=1.0, strategy=<seemps.state.core.Strategy object>)[source]#

Performs a local rank-revealing Lagrange MPS Chebyshev interpolation of a function. The intermediate tensors are now sparse, with a number of non-zero elements that is proportional to local_order, increasing the efficiency of the interpolation.

Parameters:
funcCallable

The function to interpolate.

orderint

The order of the Chebyshev interpolation.

local_orderint

The local order of the Chebyshev interpolation.

sitesint

The number of qubits of the MPS.

startfloat, default=-1.0

The starting point of the function’s domain.

stopfloat, default=1.0

The end point of the function’s domain.

strategyStrategy, default=DEFAULT_STRATEGY

The MPS simplification strategy.

Returns:
mpsMPS

The MPS corresponding to the local rank-revealing Chebyshev interpolation.