Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 16

Orthogonality in Inner Product Spaces

Recommended resources

Hello! Welcome back to our journey into inner product spaces.

In our last lesson, we saw how the algebraic structure of an inner product gives rise to geometry. By defining the norm as and distance as , we were able to measure lengths and separations in any inner product space.

Today, we'll explore the third fundamental geometric concept derived from the inner product: the notion of an angle, which leads to orthogonality. We will define what it means for two vectors to be "perpendicular" in any inner product space, whether it's the familiar real space or the complex spaces essential for quantum mechanics. This concept is one of the most powerful tools in linear algebra, simplifying problems in fields from data analysis to quantum computing.

1. Orthogonality in Real Inner Product Spaces

Your intuition for perpendicular vectors in 2D or 3D is the perfect starting point. You may recall the geometric formula for the dot product:

where is the angle between the vectors. If two non-zero vectors are perpendicular, , which means . This forces their dot product to be zero.

Orthogonal Vectors in 2D
A visual representation of two orthogonal vectors in \(\mathbb{R}^2\). Their dot product is \((-2)(3) + (3)(2) = -6 + 6 = 0\).

We take this observation and turn it into our formal definition. We define two vectors and in a real inner product space to be orthogonal if their inner product is zero.

To solidify this idea, please watch the following short video segment.

Linear Algebra 9 | Inner Product and Norm

This video from The Bright Side of Mathematics clearly defines the standard inner product in \mathbb{R}^n and then immediately defines orthogonality based on this product.

Watch from 03:26 to 04:28. The key takeaway is the formal definition of orthogonality in \mathbb{R}^n.

Example in

Let's check if the vectors and in are orthogonal using the standard inner product (the dot product).


Since their inner product is zero, the vectors are orthogonal.

Example in a Function Space

This definition extends beyond columns of numbers. Let's use the inner product on the space of continuous functions . Are the functions and orthogonal?

Using the trigonometric identity , this becomes:

Indeed, and are orthogonal on this interval. This is a fundamental concept in Fourier analysis, which is used extensively in physics and engineering.


2. Orthogonality in Complex Inner Product Spaces

The definition of orthogonality remains the same for complex vector spaces, but the calculation uses the Hermitian inner product. This is critically important for quantum mechanics.

Two vectors and in a complex inner product space are orthogonal if their inner product is zero:

Note that if , then . The order of the vectors does not affect whether they are orthogonal, even though the inner product itself is conjugate symmetric.

The following reading from IBM's Quantum Learning platform explains this concept clearly using the Dirac notation that is standard in quantum mechanics.

Inner products and projections

This resource defines orthogonality and related concepts in the context of quantum information, making it directly relevant to your goals.

Please read the section titled "Orthogonal and orthonormal sets". Focus on the definition of two vectors being orthogonal and what an orthogonal set is.

Example in

Let's test if the vectors and are orthogonal in .

The bra vector is the conjugate transpose of , so .

Now we compute the inner product :

They are orthogonal.

Test your understanding!

In quantum computing, the standard basis states for a single qubit are and . Another important basis is the Hadamard basis, with states and .

Are the Hadamard basis states and orthogonal?

Show answer

We need to compute the inner product . The factors of can be pulled out.

Yes, the states and are orthogonal. This orthogonality is what allows them to form a valid basis for measurement in quantum computation.


3. Orthonormal Sets

We can extend the idea of orthogonality from a pair of vectors to a set of vectors.

  • An orthogonal set is a set of non-zero vectors where every vector is orthogonal to every other vector in the set.
  • A unit vector is a vector whose norm is 1 (i.e., ).
  • An orthonormal set is an orthogonal set where every vector is a unit vector.

For a set of vectors to be orthonormal, it must satisfy:

This is often written compactly using the Kronecker delta, , as .

The following video provides an excellent, quantum-focused explanation of this concept.

Ch 4: What is an inner product? | Maths of Quantum Mechanics

This video from Quantum Sense directly defines orthogonality and introduces the concept of an orthonormal basis and the Kronecker delta, all of which are central to the language of quantum mechanics.

Watch from 05:50 to 06:49. Pay close attention to how orthogonality is defined and how the two conditions for an orthonormal set (orthogonality and unit length) are combined into a single statement using the Kronecker delta.

The standard bases for and (e.g., in ) are the simplest examples of orthonormal sets. The Hadamard basis states from the exercise above also form an orthonormal set.


Conclusion

In this lesson, we have generalized the geometric notion of perpendicularity to all inner product spaces. This is a profound step that unlocks powerful new techniques.

Key Takeaways:

  • Two vectors and in any inner product space (real or complex) are orthogonal if their inner product is zero: .
  • For the standard inner product in , this is the dot product: .
  • For the standard inner product in , this is the Hermitian product: .
  • An orthonormal set is a collection of mutually orthogonal unit vectors, a property concisely described by .

Preview of the Next Lesson:

Orthonormal sets are incredibly convenient to work with. If they also form a basis for the vector space, they are called an orthonormal basis. Such bases simplify many complex problems, from representing quantum states to compressing data. But what if we have a basis that isn't orthonormal? In the next lesson, we will learn a constructive algorithm called the Gram-Schmidt process to turn any basis into an orthonormal one.