Overview

1 Quantum computing: the hype and the promise

This chapter introduces quantum computing as a fundamentally different model of computation from the classical paradigm that underpins everyday technology. Acknowledging that quantum effects are unintuitive, it proposes a practical, “physics-light” path to learning by writing and reasoning about quantum programs. It sets expectations about prerequisites (basic quantum concepts and linear algebra), and frames the book’s hands-on approach: solve well-scoped problems, implement them as code, and build intuition through practice rather than abstract theory alone.

The chapter separates hype from reality by focusing on practical quantum advantage—cases where quantum algorithms beat the best classical methods in meaningful, real-world tasks within useful timeframes. It highlights problem characteristics most likely to benefit: small-data big-compute settings, exploitable mathematical structure, and asymptotically superior algorithms (with exponential or similarly strong speedups often required once practical overheads are considered). It uses well-known examples to illustrate nuance: simulations of quantum systems and materials science are promising, Shor’s factoring algorithm targets a structured task, and Grover’s quadratic speedup often loses to classical methods that leverage data structure or faster primitives.

Finally, the chapter surveys the three pillars of the field—algorithms, hardware, and software—and how their co-evolution shapes progress. It traces hardware milestones from early proof-of-concept experiments, through debated “supremacy” demonstrations, to today’s focus on fault tolerance and error correction as the gateway to useful, large-scale computation. On software, it outlines a stack spanning applications, languages and libraries, compilation and optimization, and hardware control, with simulators playing a central role in testing. The practical workflow mirrors classical development—design hybrid algorithms, test and debug on simulators, estimate resources, then run on real devices—and the chapter closes by motivating learners: the ecosystem is expanding rapidly, education is increasingly accessible, and this book will guide readers through building quantum solutions in Qiskit and Q#.

Quantum advantage might be achievable if the time a quantum computer takes to solve a certain problem grows at a slower rate as the problem size increases than the time a classical computer takes to do the same. In this case, problem instances that are much larger than the crossover size might be good candidates for quantum solutions. If the crossover time is months or more, quantum computing offers no practical advantage, since larger problem instances take much longer to solve, and running a quantum computer for months or years to solve a single problem is not practical.
figure
The major milestones of quantum hardware development. The first two, showing the use of quantum mechanics to perform a computation and having a quantum computer solve an artificial problem that a classical computer can not, have already been achieved. The next milestone, building a fault-tolerant quantum computer that can run long computations, is the current focus. The final goal is to build a quantum computer that can solve practical problems that a classical computer can not.
figure
A quantum software stack serves as an interface between the quantum algorithms and the hardware running them. Its components mirror those of the classical software stack.
figure
Quantum application software development workflow. From the developer perspective, it is similar to the classical software development workflow, with some differences to account for the nature of quantum computing. For example, using quantum simulators instead of the hardware makes testing quantum code on small problems faster and easier because it eliminates the need to account for noise.
figure

Summary

  • Quantum computing will not speed up arbitrary classical computing tasks. Instead, it will let us solve some highly specialized problems such as quantum systems simulations that are too complicated for classical (super)computers.
  • To yield practical advantage over the best classical algorithms for the same problem, quantum algorithms have to offer significant speedups, featuring at least exponentially better asymptotic complexity compared to that of the classical algorithms.
  • Quantum hardware is in its “noisy intermediate-scale” era, with devices too large to be simulated classically but too small and too noisy to solve practical problems.
  • The software stack plays a critical role for quantum computers, enabling the execution of algorithms on hardware and accessing the quantum systems via the cloud, accelerating algorithms research and driving the requirements for hardware design.
  • Governments and companies worldwide are paying increasing attention to quantum computing and investing in its continued development.
  • Learning quantum computing can provide you with a lot of opportunities to contribute to this domain and, like learning any new computing paradigm, make you a better thinker!

FAQ

Will quantum computers replace classical computers?No. Even a large quantum computer would be slower than a classical computer at ordinary tasks (email, typical database queries, etc.). Quantum computers are being built to tackle specific problems that classical machines cannot solve efficiently, not to supplant classical computing.
What kinds of problems are best suited for quantum computing?Specialized, “small-data big-compute” problems with exploitable structure and very high classical complexity. Prime examples include simulating quantum systems in chemistry and materials science, and certain number-theoretic tasks like integer factorization (Shor’s algorithm). Practical applications will likely be narrow but high-impact.
What is “practical quantum advantage”?It means a quantum computer solves a real, valuable problem faster than the best classical approach in practice. Typical requirements are: - Classical best-in-class takes too long (years/decades). - Quantum solves it fast enough to matter (hours/days). - The problem has real-world significance; the answer is valuable regardless of how it’s obtained.
Does Grover’s algorithm make database search instantly faster?Usually not. Grover assumes an unstructured “black-box” search and offers only a quadratic speedup. Real databases exploit structure (indexes, partitions), and quantum operations are slower and more complex, often erasing the theoretical advantage. Grover is more relevant to truly unstructured tasks like certain hash inversions.
What are the three main components of a quantum computing system?- Algorithms: Methods that provide speedups or enable new capabilities. - Hardware: Physical qubits and devices that execute quantum operations. - Software: The stack that bridges algorithms and hardware (languages, compilers, optimizers, control systems, simulators).
What are the major milestones in quantum hardware development?1) Proof-of-concept demonstrations of quantum computation. 2) Demonstrations of solving artificial problems beyond classical reach (claims are debated as classical methods improve). 3) Fault tolerance: scalable error correction enabling long computations. 4) Solving practically important problems that classical computers cannot tackle in time.
What does “fault-tolerant” mean, and why is error correction essential?Fault tolerance is the ability to suppress noise to arbitrarily low levels so long computations succeed. It encodes each logical qubit and gate into many physical operations via error correction. Today’s NISQ devices lack full fault tolerance and rely on error mitigation; achieving robust error correction at scale is a key focus.
What is the current state of quantum hardware and leading technologies?We are in the NISQ era: devices large enough to evade classical simulation but too small/noisy for practical applications. Major platforms include superconducting circuits, trapped ions, neutral atoms, and photonics. The community’s focus is shifting from raw qubit counts to demonstrating scalable error correction and fault tolerance.
What does the quantum software stack look like, and what tools are unique to it?- Application software: Implements domain algorithms (e.g., quantum chemistry). - Programming tools: Languages and libraries (e.g., Qiskit in Python, Q# as a DSL), IDEs, compilers. - Middle layer: Optimization, decomposition to primitive gates, error correction, qubit mapping, and cloud access (e.g., Azure Quantum, IBM Quantum). - Control software: Hardware-specific pulse/laser control. Unique to quantum: simulators at multiple layers for testing, noise modeling, and validation.
What background is expected for this book, and what resources can help?Comfort with basic quantum concepts (state vectors, gates/matrices, Dirac notation; X, Y, Z, H, Ry, S, T, CNOT/CCNOT; controlled/adjoint gates; measurement), linear algebra with complex numbers (matrix/vector products, tensor products), basic trigonometry, and asymptotic complexity (Big-O). Helpful resources include the Quantum Katas and “Learn Quantum Computing with Python and Q#.” The book uses both Qiskit and Q#, with Python familiarity assumed.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Quantum Programming in Depth ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Quantum Programming in Depth ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Quantum Programming in Depth ebook for free