Skip to Content
Quantum Programming in Depth
book

Quantum Programming in Depth

by Mariia Mykhailova
July 2025
Intermediate to advanced content levelIntermediate to advanced
288 pages
9h 53m
English
Manning Publications
Content preview from Quantum Programming in Depth

3 Implement quantum operations

This chapter covers

  • Implementing quantum operations based on their matrix notation
  • Using Q# and Qiskit to write more complicated quantum programs
  • Observing the matrix implemented by a quantum operation
  • Writing tests for validating quantum operations

As we’ve seen in the previous chapter, a typical quantum algorithm can be represented as a standard sequence of steps (see figure 3.1). In chapter 2, we’ve learned to implement the first step, preparing the quantum system in the given state.

figure
Figure 3.1 Any quantum algorithm can be broken down into several steps: prepare the initial state, evolve it by applying ...
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

Building Quantum Software with Python

Building Quantum Software with Python

Charlee Stefanski, Constantin Gonciulea
Quantum Computing

Quantum Computing

Andrew Glasner

Publisher Resources

ISBN: 9781633436909Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link