Skip to content

quantum arithmetic - addition, multiplication, exponentiation

License

Notifications You must be signed in to change notification settings

ronitd2002/quantum_arithmetic

Repository files navigation

Showcasing Arithmetic operation using elementary quantum circuits

Draper adder

This tasks deals with the potrayal of increasing noise to the results. For these purposes of noise simulation I was required to build a adder circuit using the Draper algorithm. The drpaer algorithm achieves it using $|a,b\rangle \rightarrow^{Draper} |a,b+a\rangle$ using $|a,b\rangle \rightarrow^{QFT} |a,\phi(b)\rangle \rightarrow^{QFT} |a,\phi(a+b)\rangle \rightarrow^{IQFT} |a,a+b\rangle$

Montgomery Multiplier.

Steps to achieve

  • QFT both $|a\rangle$ and $|b\rangle$ and then do bitwise multiplication.

Exponentiator logic.


This repository is a work in progress

About

quantum arithmetic - addition, multiplication, exponentiation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published