Commit Graph

7 Commits

Author SHA1 Message Date
Silicon27
1aac36937e
Update quantum_bogo_sort.py line too long error resolved 2024-10-13 12:50:37 +02:00
pre-commit-ci[bot]
4a9404f6f0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-13 10:47:49 +00:00
Silicon27
e12524497a
Update quantum_bogo_sort.py to be in compliance with ruff 2024-10-13 12:44:55 +02:00
pre-commit-ci[bot]
153009ea9e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-13 10:43:05 +00:00
Silicon27
fc5411cd44
Update quantum_bogo_sort.py to include a reference to a wiki page 2024-10-13 12:41:32 +02:00
Silicon27
3064dd13a1
Update quantum_bogo_sort.py to be in compliance with [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md) 2024-10-13 12:37:04 +02:00
Silicon27
f04ddbb9a6
Create quantum_bogo_sort.py
Added `quantum_bogo_sort`, a theoretical sorting algorithm that uses quantum mechanics to sort the elements. 

It assumes all elements are already in the superposition of sorted and unsorted states, therefore only requiring it to be returned after being called.
2024-10-13 12:14:57 +02:00