r/learnprogramming • u/Temporary-Warthog250 • Apr 05 '22
Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them
Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.
Someone else who reads yours and does understand it, try to explain it to them to help them learn
1.6k
Upvotes
17
u/faceplanted Apr 05 '22
For a non quantum explanation, quantum computers basically make one specific matrix operation O(1) so if you can convert your problem into one of those, you can speed up operations that that could normally take effectively forever on a conventional machine.
This is why cryptography is considered in danger if quantum computers become powerful, certain encryption algorithms rely on computers not being able to do certain operations quickly with large inputs, but we've shown that you can map those problems onto that operation quantum computers are good at. So rather than taking a billion years to decrypt, your message could take seconds/minutes/hours, even days would be far too fast, you need it to take millennia.