seemps.analysis.operators.x_to_n_mpo#
- seemps.analysis.operators.x_to_n_mpo(n_qubits, a, dx, n, strategy=<seemps.state.core.Strategy object>)[source]#
x^n MPO.
Parameters:
- 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.