seemps.analysis.operators.x_to_n_mpo#

seemps.analysis.operators.x_to_n_mpo(n_qubits: int, a: float, dx: float, n: int, strategy: Strategy = DEFAULT_STRATEGY) MPO[source]#

x^n MPO.

Parameters:
n_qubits: int

Number of qubits.

a: float

Initial value of the position interval.

dx: float

Spacing of the position interval.

n: int

Order of the x polynomial.

strategy: Strategy

MPO strategy, defaults to DEFAULT_STRATEGY.

Returns:
MPO

x^n operator MPO.