TheAlgorithms / Python

All Algorithms implemented in Python
https://thealgorithms.github.io/Python/
MIT License
193.88k stars 45.6k forks source link

Any thoughts on adding Quantum Algorithms? #1831

Closed Vasuji closed 4 years ago

Vasuji commented 4 years ago

This could include a very large family and could go beyond the scope of the current plan. Introducing some basic quantum algorithms could be helpful for beginners. There are currently, gate based QC (e.g., IBM, Google, Rigetti) and Quantum annealers ( DWave). Am I missing others, topological or quantum optics based QC? The image below shows where is QC going in the future? img Image Courtesy: Quantum Computing, Progress and Prospects

ghost commented 4 years ago

I think that's a great plan!

cclauss commented 4 years ago

Go for it!!! If it becomes a monster, then we could create a separate repo but it is best to get started.

ghost commented 4 years ago

Ideas?

ghost commented 4 years ago

I would also find this interesting to look into:

D-Wave: https://www.dwavesys.com and https://github.com/dwavesystems Google: https://research.google/teams/applied-science/quantum IBM: https://qiskit.org and https://github.com/Qiskit Rigetti: https://rigetti.com and https://github.com/rigetti

Further Ideas & examples

https://research.google/pubs/?area=data-management&area=data-mining-and-modeling&area=general-science

cclauss commented 4 years ago

https://github.com/TheAlgorithms/Python/tree/master/quantum is open for business...

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

Please reopen this issue once you commit the changes requested or make improvements on the code. Thank you for your contributions.

cclauss commented 4 years ago

All talk, no action. :-(

cclauss commented 4 years ago

@Vasuji @hackercyclops12 How do we get some quantum algorithms?!?

ghost commented 4 years ago

I'm not sure

quantum computing is often used for medical sciences or predicting natural recurrences such as weather and how that relates to agriculture

A recent one is climate change around the globe and how it is affecting certain parts of country's

Most likely you would need a quantum computer to check the "quantum algorithim" after it is written

In short I have no idea where we will get some algorithms from as they are developed for private enterprises (However you might be able to find some basic ones with some research)

cclauss commented 4 years ago

Above you mentioned four quantum algorithms:

Could we start with one of those?

Vasuji commented 4 years ago

Dear all, here are some resources:

  1. https://qiskit.org/textbook/preface.html
  2. http://docs.rigetti.com/en/stable/exercises.html
  3. https://cirq.readthedocs.io/en/stable/examples.html
  4. https://strawberryfields.readthedocs.io/en/stable/
  5. https://docs.ocean.dwavesys.com/projects/dwave-networkx/en/latest/intro.html
  6. https://docs.ocean.dwavesys.com/en/stable/
  7. https://openfermion.readthedocs.io/en/latest/openfermion.html

On Sat, Jun 20, 2020 at 9:48 PM Christian Clauss notifications@github.com wrote:

Above https://github.com/TheAlgorithms/Python/issues/1831#issuecomment-610228671 you mentioned four quantum algorithms:

  • Shor's algorithm
  • Grover's algorithm
  • Quantum Fourier transform
  • Topological quantum field theory

Could we start with one of those?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TheAlgorithms/Python/issues/1831#issuecomment-647078526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3U6TYUNBCBTOYTEV2HX4LRXWGKVANCNFSM4MCTZVBA .

ghost commented 4 years ago

Sure! lets choose one to start @cclauss & @Vasuji which one do you want to start with?