- #1
tomdodd4598
- 138
- 13
Hey there,
There are plenty of proposed implementations of Shor's algorithm which require different numbers of qubits, ##q##, to be able to factor a number ##N## of size ##<2^n##, i.e. a number of length at most ##n## bits. Most of these require ##q## linear in ##n##; for example, this implementation requires ##q=5n+1##, while this one requires ##q=2n+3##.
However, I've mainly been looking at the 'naive' circuit, which I'm pretty sure the wiki article and this paper (in a special case, reduced form) uses. Am I right in thinking this circuit requires ##3n## qubits in general (##n## for ##N## and ##2n## for the values of ##x## in the period-finding subroutine), or is there something I'm missing?
There are plenty of proposed implementations of Shor's algorithm which require different numbers of qubits, ##q##, to be able to factor a number ##N## of size ##<2^n##, i.e. a number of length at most ##n## bits. Most of these require ##q## linear in ##n##; for example, this implementation requires ##q=5n+1##, while this one requires ##q=2n+3##.
However, I've mainly been looking at the 'naive' circuit, which I'm pretty sure the wiki article and this paper (in a special case, reduced form) uses. Am I right in thinking this circuit requires ##3n## qubits in general (##n## for ##N## and ##2n## for the values of ##x## in the period-finding subroutine), or is there something I'm missing?
Last edited: