Hello,
Quantum computer can break all algorithm of cryptography in just a second.
Absolute nonsense.
I know Arthur C. Clark has said:
"Any sufficiently advanced technology is indistinguishable from magic"
But that doesn't mean it actually is magic.
Just because you personally don't understand quantum computing, it doesn't mean that it can instantly put an end to anything that you might imagine.
Some algorithms will become weaker. Some won't. If any of bitcoin's algorithms become weakened a bit, then we can switch to more quantum resistant algorithms. If they aren't weakened, then we'll just leave them the way they are.
So what will happen to Bitcoin algorithm?
Which one? Most of them will be just fine. Those that aren't (if any) will be swapped out for something else.