seemps.analysis.operators.cos_mpo#
- seemps.analysis.operators.cos_mpo(n, a, dx, strategy=<seemps.state.core.Strategy object>)[source]#
cos(x) MPO.S
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
cos(x) operator MPO.