Skip to content

A oracle for Shor's algorithm implemented for the Erdos Institute Quantum Computing Bootcamp

License

Notifications You must be signed in to change notification settings

Tucker-UA/ShorOracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Project 2

Part of the Quantum Computing Bootcamp at the Erdos Institute.

The goal of this project is to implement an oracle that multiplies a number by a predetermined constant modulo another constant.

This is subject to the following constraints:

  • Two predetermined numbers $a$ and $N$, where $a < N$;
  • One control qubit, $|x \rangle$, that implements the multiplication if x = 1 and does nothing otherwise;
  • One $n$-qubit output register, $|y \rangle$, which takes the given number to multiply as input and outputs the multiplication modulo N if $y < N$;
  • Nothing should be done to the input if $y \geq N$.

Finally, an analysis of the complexities and resources used is to be added at the end of the project.

Not complete yet. I'm still struggling with getting the multiplication to work correctly, but I was able to salvage most of it from my calculator project.

About

A oracle for Shor's algorithm implemented for the Erdos Institute Quantum Computing Bootcamp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published