Back to News
quantum-computing

Why is the fastest time complexity of a quantum computer O(sqrt(n))?

Henry Tom
Loading...
2 min read
0 likes
⚡ Quantum Brief
A 2025 Stack Exchange discussion examines why quantum algorithms like Grover’s achieve O(√n) time complexity for unstructured search problems, outperforming classical O(n) brute-force methods. Grover’s algorithm demonstrates quantum advantage by quadratically speeding up searches in unsorted databases, requiring roughly √n queries to find a marked item among n possibilities. The √n limit stems from quantum amplitude amplification, where each iteration boosts the target state’s probability by a fixed amount, converging optimally at O(√n) steps. Classical computers must check each entry sequentially, while quantum parallelism enables simultaneous evaluation, though measurement collapses the state, necessitating repeated amplification cycles. Experts note this bound applies to unstructured search; structured problems (e.g., Shor’s algorithm) can achieve exponential speedups, but √n remains the proven limit for generic quantum search tasks.
AI Audio Summary
0:00 / 0:00
Click to play
Quantum computing technology
Unsplash · Validated Fallback

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work. Bring the best of human thought and AI automation together at your work. Learn more Stack InternalKnowledge at workBring the best of human thought and AI automation together at your work.Recently, I have watched video on 3Blue1Brown about Grover's algorithm. He give an example that:To find a secret number in the range from 0 to n−1, you can query a hidden function that returns “true” only for the correct number and “false” for all othersIn conclusion, i have some questions:Thanks for contributing an answer to Quantum Computing Stack Exchange!But avoid …Use MathJax to format equations. MathJax reference.To learn more, see our tips on writing great answers.Required, but never shown By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy. Start asking to get answersFind the answer to your question by asking.Explore related questionsSee similar questions with these tags.To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2025.11.24.37235

Read Original

Tags

quantum-computing

Source Information

Source: Quantum Computing Stack Exchange

Discussion

0 professional contributions

Sign in to join this professional discussion.

Be the first to add a constructive contribution.