Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Andrew Glassner

Rating No ratings yet

What if you had a computer that could process billions of different inputs at the same time? Quantum computing is a radically new way to think about algorithms and data. It can feel mysterious or technically challenging, but it doesn’t have to be. If you want to understand how quantum computers work—and how to program them—this friendly, self-contained guide is for you. This approachable yet rigorous book walks you step-by-step through quantum computing fundamentals, such as superposition, quantum gates, interference, entanglement, and measurement, then teaches you how to write real quantum programs. Along the way, you’ll: Understand how to store and transform quantum information Grasp the surprising process of quantum measurement Explore Simon’s, Grover’s, and Shor’s algorithms Write and run your own quantum code using free simulators and live hardware Author Andrew Glassner is known for turning complex topics into accessible and enjoyable learning experiences. In this book, he brings visual thinking, clarity, context, and precision to the strange and fascinating world of quantum programming. All the ideas and math are built up slowly so you’ll master every step. Whether you’re a programmer, student, educator, scientist, poet, or anyone else who loves new ideas that stretch your mind, this is the guide that will take you from “What is a qubit?” to writing and running working quantum algorithms with curiosity, creativity, and confidence.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A patient, visual, math-light introduction to quantum computing that takes you from "what is a qubit?" to writing and running real quantum algorithms on simulators and live hardware. Best for programmers, students, and curious generalists who want working intuition rather than dense formalism. 【Book Arc】 - **Opening (~0%–10%)**: Frames the core promise — a computer that processes many inputs at once — and sets expectations for a friendly, self-contained, metaphor-driven path from concepts to code. - **Early (~10%–30%)**: Builds the conceptual foundation with a "curious deck of cards" metaphor for states, superposition, initialization, measurement, amplitudes, interference, and entanglement, then formalizes quantum states, numbers, and notation. - **Middle (~30%–55%)**: Introduces operators (I, X, H), unitary matrices, inner products, braket notation, and qubits; then systems, tensor products, product states, circuit diagrams, the no-cloning theorem, and the CX gate as switch and copier. - **Late (~55%–85%)**: Moves into algorithms — teleportation, Deutsch, Deutsch–Jozsa, Bernstein–Vazirani, Simon, Grover, and Shor — building each step by step with circuit analysis and worked reasoning. - **Ending (~85%–100%)**: Closes with "Next Steps" for continuing study, plus a notation appendix and bibliography as reference scaffolding. 【Key Takeaways】 - **Quantum computing is reframed as a new way to think about algorithms and data**, not just faster classical computing (Opening). - **A card-deck metaphor carries the hardest early ideas** — superposition, measurement, interference, and entanglement — before any math appears (Early). - **The book is built on postulates**: states, operators, and systems are introduced as Postulates 1–3, giving a structured spine to the formalism (Early–Middle). - **Operators I, X, and H are the working vocabulary**, with unitary matrices and braket notation introduced as tools rather than prerequisites (Middle). - **Systems and entanglement are treated concretely** via tensor products, product states, circuit diagrams, the no-cloning theorem, and the CX gate (Middle). - **Algorithms form a deliberate ladder**: teleportation → Deutsch → Deutsch–Jozsa → Bernstein–Vazirani → Simon → Grover → Shor, each building on the last (Late). - **Code is a first-class goal**: readers are expected to write and run quantum programs using free simulators and live hardware (Opening, Late). - **The author's visual, metaphor-first pedagogy** (known from his deep learning work) is the book's defining style (Opening). 【Reading Tips】 - Deep-read Part I (states, operators, systems, measurement) — later algorithms depend on this vocabulary; skimming it will make Grover and Shor feel like magic. - Treat the card-deck chapter as a scaffold, not a destination: use it to build intuition, then revisit the formal postulates. - Work the algorithm chapters in order; each one reuses gates and circuit patterns from the previous, so skipping breaks the ladder. - Keep the notation appendix handy once brakets and tensor products appear — it's a quick reference, not a chapter to read linearly. - Actually run the code: the book's value proposition is concepts-to-code, so simulator exercises are where the ideas consolidate. 【Coverage Limits】 The excerpts cover the book's front matter, table of contents, and structural outline; they do not include detailed chapter content, code samples, or worked algorithm walkthroughs, so this guide describes the book's architecture and stated goals rather than its specific technical arguments.
Page 1
U A N T U M C O M P U T IN G G L A S S N E R $49.99 US ($65.99 CDN) A F R I E N D LY I N T R O D U C T I O N T O Q U A N T U M P R O G R A M M I N G What if...
View in text
Page 7
sky as @glassner.com. About the Technical Reviewer Ronald T. Kneusel is a computer scientist, an expert in machine learning, and a lover of fine craft beers....
View in text
Page 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Superposition . . . . . . . . . ....
View in text
Page 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 The Identity Operator I . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Page 14
. . . . . . . . . . . . 177 Measuring Multiple Qubits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Page 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Step 3: Postprocessing and Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Page 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 14 NEXT STEPS 337 Further Ide...
View in text
Page 19
and insight during the development and writing of this book. For encouragement and help in ways big and small over the years it took to write this book, it g...
View in text
Tags
AI categories
Quantum ComputingProgramming LanguageEducation
ISBN: 1718504004
Publisher: No Starch Press
Publish Year: 2025
Language: English
Pages: 427
File Format: PDF
File Size: 3.7 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…