appendix C Linear algebra refresher
In this appendix, our goal is to quickly cover some of the linear algebra skills that are useful for this book. We’ll discuss what vectors and matrices are, how to work with vectors and matrices to represent linear functions, and how to use Python and NumPy to work with vectors and matrices.
C.1 Approaching vectors
Before we can get to what qubits are, we need to understand the concept of a vector.
Suppose a friend of ours is having people over to celebrate that they fixed their doorbell, and we’d very much like to find their house and celebrate the occasion with them. How can our friend help us find their home?
You can see a sketch of our direction dilemma in figure C.1. Vectors are a mathematical tool ...
Get Learn Quantum Computing with Python and Q# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.