seemps.analysis.integration.mps_simpson38#

seemps.analysis.integration.mps_simpson38(start: float, stop: float, sites: int) MPS[source]#

Returns the binary MPS representation of the Simpson quadrature on an interval. Note that the number of sites must be even for Simpson’s rule.

Parameters:
startfloat

The starting point of the interval.

stopfloat

The ending point of the interval.

sitesint

The number of sites or qubits for the MPS. Must be even.