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:
- sites
Sequence[int] List of qubits on which the transform acts
- N
int,default=len(sites) Number of qubits in the register.
- sign
int,default= -1 Sign (+1 or -1) in the exponent of the transform. Defaults to the sign of the direct quantum Fourier transform.
- strategy
Strategy,default=DEFAULT_STRATEGY Simplification strategy used by the MPO at different stages.
- sites
- Returns:
MPOListA sequence of
MPOthat implements the transform.