seemps.analysis.integration.mps_simpson#

seemps.analysis.integration.mps_simpson(start, stop, sites)[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.