qit.examples.qft_circuit¶
- qit.examples.qft_circuit(dim=(2, 3, 3, 2))¶
Quantum Fourier transform circuit demo.
- Parameters
dim (Sequence[int]) – dimension vector of the subsystems
Simulate the quadratic quantum circuit for QFT.
NOTE: If dim is not palindromic the resulting circuit also reverses the order of the dimensions in the SWAP cascade.