QFT#
- diffqc.lib.QFT(op, c: Array, wires: Tuple[int]) Array #
Quantum Fourier Transform
- Parameters
op –
dense
orsparse
modulec (jnp.ndarray) – qubits state
wires (tuple of ints) – wire to apply.
- Returns
applied qubits state
- Return type
jnp.ndarray
Warning
This QFT doesn’t swap wires, so that endian is inverted.