Skip to Content
Building Quantum Software with Python
book

Building Quantum Software with Python

by Charlee Stefanski, Constantin Gonciulea
April 2025
Intermediate to advanced
376 pages
9h 41m
English
Manning Publications
Content preview from Building Quantum Software with Python

2 A first look at quantum computations: The knapsack problem

This chapter covers

  • Introducing a quantum solution to an optimization problem: the knapsack problem
  • Examining the steps of a quantum computation, including quantum state evolution and measurement
  • Tools for programming a quantum solution

The material in this book does not depend on any knowledge of quantum mechanics or how to build a quantum computer. Programming quantum computers requires familiarity with a few mathematical concepts, specifically binary strings, complex numbers, and some basic trigonometry and probabilities. We provide an overview of these concepts for readers who are unfamiliar or want a refresher.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Quantum Computing in Action

Quantum Computing in Action

Johan Vos
Deep Learning with PyTorch

Deep Learning with PyTorch

Eli Stevens, Thomas Viehmann, Luca Pietro Giovanni Antiga

Publisher Resources

ISBN: 9781633437630Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link