seemps.qft.qft_nd_mpo#

seemps.qft.qft_nd_mpo(sites: Sequence[int], N: int | None = None, sign: int = -1, strategy: Strategy = DEFAULT_STRATEGY) MPOList[source]#

Create an MPOList object representing a Quantum Fourier Transform for subset of qubits in a quantum register with N qubits.

Parameters:
sitesSequence[int]

List of qubits on which the transform acts

Nint, default = len(sites)

Number of qubits in the register.

signint, default = -1

Sign (+1 or -1) in the exponent of the transform. Defaults to the sign of the direct quantum Fourier transform.

strategyStrategy, default = DEFAULT_STRATEGY

Simplification strategy used by the MPO at different stages.

Returns:
MPOList

A sequence of MPO that implements the transform.