For each fixed , right multiplication by is a bijection of , whose inverse is right multiplication by . Therefore permutes the displayed orthonormal basis of the tensor-product space. It is consequently a unitary operator, with
Write . Applying and then changing the summation variable from to givesHence this state is an eigenvector of with eigenvalue .
Using the conventionpart (ii) applies the extra phase to term . The resulting first register is the quantum Fourier transform of . Applying its inverse therefore produces
Choose and prepare . The circuit from part (iii) returnsso a quantum measurement in the computational basis of the first register reveals the discrete logarithm exactly. More generally, any that is invertible modulo returns , from which follows by multiplication by the modular inverse of .
Articles by others on the same topic
There are currently no matching articles.