Quantum Computing

Quantum Computing

From Concepts to Code
by Andrew Glassner
July 2025, 424 pp.
ISBN-13: 
9781718504004
Use coupon code PREORDER to get 25% off!

Download Chapter 7: Teleportation

Look Inside!

Quantum Computing pages 56-57Quantum Computing pages 118-119

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.

Author Bio 

Andrew Glassner, PhD, is a principal research scientist at FX, where he uses deep learning to help artists produce visual effects for film and TV. He was technical papers chair for SIGGRAPH ‘94, founding editor of the Journal of Computer Graphics Techniques, and editor in chief of ACM Transactions on Graphics. His prior books include Deep Learning: A Visual Approach (No Starch Press), the Graphics Gems series, and the textbook Principles of Digital Image Synthesis. In his free time, he paints, writes novels, and plays jazz piano.

Table of contents 

Acknowledgments
Introduction

PART I: STATES, OPERATORS, AND SYSTEMS
Chapter 1: A Curious Deck of Cards
Chapter 2: Quantum States
Chapter 3: Operators 
Chapter 4: Working with Qubits
Chapter 5: Systems
Chapter 6: Measurement

PART II: QUANTUM ALGORITHMS
Chapter 7: Teleportation
Chapter 8: Deutsch’s Algorithm 
Chapter 9: Deutsch-Jozsa’s Algorithm 
Chapter 10: Bernstein-Vazirani’s Algorithm 
Chapter 11: Simon’s Algorithm
Chapter 12: Grover’s Algorithm
Chapter 13: Shor’s Algorithm 
Chapter 14: Next Steps

Appendix: Notation
Bibliography

Index 

The chapters in red are included in this Early Access PDF.