3 ms·
http://wiki.c2.com/?QuantumBogoSort http://wiki.c2.com/?QuantumBogoSort QuantumBogoSort a quantum sorting algorithm which can sort any list in O(1), using the
by grumpopotamus 5y ago
http://wiki.c2.com/?QuantumBogoSort http://wiki.c2.com/?QuantumBogoSort
QuantumBogoSort a quantum sorting algorithm which can sort any list in O(1), using the "many worlds" interpretation of quantum mechanics.
It works as follows:
1. Quantumly randomise the list, such that there is no way of knowing what order the list is in until it is observed. This will divide the universe into O(n!) universes; however, the division has no cost, as it happens constantly anyway.
2. If the list is not sorted, destroy the universe. (This operation is left as an exercise to the reader.)
3. All remaining universes contain lists which are sorted.
- laurent92 5y agoThe next generation will laugh at us for our first implementations of various algorithms in quantum computers. It will look like what you describe. In fact, they’ll laugh at us for our first implementations of AI, which will look so stupid that they’ll call them BogoAI.