Overview

1 Quantum computing: the hype and the promise

Quantum computing is presented as a fundamentally different computing paradigm from the classical machines that power today’s world, and this chapter sets expectations for learning it without heavy physics, emphasizing math, problem-solving, and programming. It outlines who the book is for—readers already comfortable with core quantum concepts and basic linear algebra—and frames the field through three mutually reinforcing pillars: algorithms, hardware, and software. Throughout, the chapter encourages an approachable, hands-on path to mastery, positioning quantum programming as the bridge between formal ideas and practical capability.

The chapter separates hype from reality: quantum computers will not replace classical ones, and only certain problem families are likely to benefit. Practical quantum advantage requires that classical methods are prohibitively slow, quantum solutions are fast enough in practice, and the task is genuinely useful. The most promising targets tend to be small-input, big-compute problems with exploitable structure—such as quantum simulations in chemistry and materials science—and algorithms must deliver substantial asymptotic gains to overcome real-world overheads. The discussion highlights how theoretical speedups (for example, Grover’s quadratic improvement) may not translate to useful wins once implementation details and slower quantum primitives are accounted for, whereas structure-exploiting algorithms like Shor’s showcase the kind of breakthroughs that motivate the field.

A concise tour of “how it works” follows: hardware is currently in the noisy intermediate-scale era, progressing through milestones from proof-of-concept demonstrations toward fault tolerance via error correction, scalability, and ultimately solving practical problems beyond classical reach. Software forms the connective tissue across layers—from high-level languages and libraries, through compilers, optimizers, error-correction and mapping, to device control—with simulators enabling design, testing, and resource estimation before running on real devices. The developer workflow mirrors classical practice but adapts to quantum realities: build (often hybrid) algorithms, validate with simulators, estimate resources, then execute on hardware. The chapter closes by noting the rapid growth of investment, education, and tooling, and by introducing the book’s learn-by-doing approach using Qiskit and Q# to implement end-to-end, testable projects that cultivate the core skills of quantum programming.

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. Quantum computers are not faster at everything. They excel on certain specialized problems where classical algorithms are inefficient. For everyday tasks (email, databases, web apps), classical computers remain faster and more practical.
What is practical quantum advantage?It’s when a quantum computer solves a meaningful real‑world problem faster than the best classical methods. In practice, that means: classical computation would take too long (years+), a quantum solution is fast enough (hours–days), and the result is valuable regardless of how it was obtained.
Which kinds of problems are most likely to benefit from quantum computing?Small‑data, big‑compute problems with exploitable structure and large asymptotic speedups. Examples include simulating quantum systems in chemistry and materials science, and problems like integer factorization where the input is small but the computation is hard.
Why isn’t Grover’s algorithm a practical speedup for most searches?Grover gives only a quadratic speedup under a black‑box model. In practice, classical systems exploit structure (indices, partitions) to beat brute force. Also, quantum operations are slower and more complex, so overhead can erase Grover’s gains.
What milestones mark the path to useful quantum hardware?1) Proof‑of‑concept computations using quantum effects. 2) Demonstrations that outperform classical computation on contrived tasks. 3) Fault tolerance via error correction to run long programs reliably. 4) Solving practical problems that classical computers can’t in reasonable time.
What is the NISQ era, and where are we now?NISQ (noisy intermediate‑scale quantum) describes devices large enough to evade classical simulation but too noisy for practical tasks. Recent progress shifted focus from chasing near‑term algorithms to demonstrating error correction and advancing toward fault tolerance.
What does the quantum software stack look like, and why are simulators essential?The stack spans application code, programming tools (languages, libraries), middle‑layer compilation/mapping/error‑correction, and low‑level control software. Simulators let developers test, debug, and analyze small instances and noise models on classical machines without needing hardware.
What is the typical workflow for developing quantum applications?1) Design the algorithm (often hybrid quantum‑classical) and implement it. 2) Test and debug, typically using simulators. 3) Estimate resources and performance (qubits, depth, error rates). 4) Run on hardware for validation and, eventually, for practical results as devices mature.
Do I need deep quantum physics to learn from this book? What are the prerequisites?No deep physics is required; the book takes a physics‑free, problem‑solving approach. You should know the basics of quantum computing (states, gates, measurements), linear algebra (complex numbers, matrices, tensor products), basic trigonometry, and big‑O intuition.
Which programming languages and tools does the book use?It uses Qiskit (a Python library for circuit‑level programming) and Q# (a domain‑specific language focused on high‑level algorithm design). Both come with open‑source toolkits supporting simulation, testing, resource estimation, and hardware execution.

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