Quantum Fourier transform

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
jimmycricket
Messages
115
Reaction score
2
When using the Quantum Fourier transform to find the period of the function [itex]f(x)\equiv a^x\mod N[/itex] why is it that the input register is 2n qubits in size and the output register is n qubits?
 
Physics news on Phys.org
The overall period finding circuit probably uses ancilla bits, but turns them into measured garbage along the way. The Quantum Fourier Transform doesn't need ancilla bits, or measurement, so it's not the cause for adding them.

Personally, I wouldn't count ancilla bits against the input size. The circuit takes n input bits and n ancilla bits, burns the neg-entropy in the ancilla bits, and produces n outputs.