Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Essential Mathematics for Quantum Computing

You're reading from   Essential Mathematics for Quantum Computing A beginner's guide to just the math you need without needless complexities

Arrow left icon
Product type Paperback
Published in Apr 2022
Publisher Packt
ISBN-13 9781801073141
Length 252 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Leonard S. Woody III Leonard S. Woody III
Author Profile Icon Leonard S. Woody III
Leonard S. Woody III
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Section 1: Introduction
2. Chapter 1: Superposition with Euclid FREE CHAPTER 3. Chapter 2: The Matrix 4. Section 2: Elementary Linear Algebra
5. Chapter 3: Foundations 6. Chapter 4: Vector Spaces 7. Chapter 5: Using Matrices to Transform Space 8. Section 3: Adding Complexity
9. Chapter 6: Complex Numbers 10. Chapter 7: EigenStuff 11. Chapter 8: Our Space in the Universe 12. Chapter 9: Advanced Concepts 13. Section 4: Appendices
14. Other Books You May Enjoy Appendix 1: Bra–ket Notation 1. Appendix 2: Sigma Notation 2. Appendix 3: Trigonometry 3. Appendix 4: Probability 4. Appendix 5: References

Linear combinations

Once we have established that we can add our vectors and multiply them by scalars, we can start to talk about linear combinations. Linear combinations are just the scaling and addition of vectors to form new vectors. Let's start with our two vectors we have been working with the whole time, |a and |b. I want to scale my vector |a by two to get a new vector |c, as shown in the following screenshot:

Figure 1.6 – |a⟩ scaled by two to produce |c⟩

Figure 1.6 – |a scaled by two to produce |c

As we have said, we can do this algebraically as well, as the following equation shows:

Then, I want to take my vector |b and scale it by two to get a new vector, |d, as shown in the following screenshot:

Figure 1.7 – |b⟩ scaled by two to produce |d⟩

Figure 1.7 – |b scaled by two to produce |d

So, now, we have a vector |c that is two times |a, and a vector |d that is two times |b:

Can I add these two new vectors, |c and |d? Certainly! I will do that, but I will express |e as a linear combination of |a and |b in the following way:

Vector |e is a linear combination of vectors |a and |b! Now, I can show this all geometrically, as follows:

Figure 1.8 – Linear combination

Figure 1.8 – Linear combination

This can also be represented in the following equation:

So, we now have a firm grasp on Euclidean vectors, the algebra you can perform with them, and the concept of a linear combination. We will use that in this next section to describe a quantum phenomenon called superposition.

You have been reading a chapter from
Essential Mathematics for Quantum Computing
Published in: Apr 2022
Publisher: Packt
ISBN-13: 9781801073141
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image