seemps.analysis.operators.x_mpo#

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

x MPO.

Parameters:
n_qubits: int

Number of qubits.

a: float

Initial value of the position interval.

dx: float

Spacing of the position interval.

strategy: Strategy

MPO strategy, defaults to DEFAULT_STRATEGY.

Returns:
MPO

x operator MPO.