seemps.qft.qft_flip#

seemps.qft.qft_flip(state)[source]#

Swap the qubits in the quantum register, to fix the reversal suffered during the quantum Fourier transform.

Parameters:
stateMPS

Transformed state

Returns:
MPS

State with qubits reversed.