DeepPractise
DeepPractise

Unitary Operators as Quantum Gates

Track: Quantum Gates & Circuits · Difficulty: Beginner · Est: 14 min

Unitary Operators as Quantum Gates

Overview

A quantum gate is supposed to be a reliable state update. But not every imaginable update makes physical sense.

In Foundations, one constraint showed up repeatedly: probabilities must add to 1. So after a gate acts, the output state must still be a valid quantum state.

This page explains the key rule:

  • Ideal (noise-free) quantum gates are unitary.

We will treat “unitary” as a meaningful physical requirement: it preserves normalization and implies reversibility.

Intuition

Think of a pure state ψ|\psi\rangle as a direction on the Bloch sphere (for a single qubit). A good gate should move that direction around without “stretching” or “shrinking” the state.

If a gate could shrink the state length, you would no longer have total probability 1. If it could stretch the state length, probabilities could exceed 1.

So the gate must preserve the inner-product geometry that underlies probabilities. That geometry-preserving property is what “unitary” captures.

There is another intuition: reversibility. If you apply a gate and later regret it, you should be able to undo it perfectly (in the ideal model). Unitary evolution has that undo property.

Formal Description

A (pure) quantum state is a normalized ket ψ|\psi\rangle. Normalization can be expressed using the inner product:

ψψ=1.\langle\psi|\psi\rangle = 1.

A quantum gate will be represented by an operator UU that acts on kets:

ψ=Uψ.|\psi'\rangle = U|\psi\rangle.

We want ψ|\psi'\rangle to remain normalized for every valid input state. That requirement leads to the condition that UU is unitary.

Conceptually, the unitary condition is written as

UU=I,U^{\dagger}U = I,

where:

  • UU^{\dagger} means “conjugate transpose” (the natural notion of an adjoint for complex vectors),
  • II is the identity operator (doing nothing).

What does this mean in words?

  • Applying UU and then applying UU^{\dagger} gets you back to where you started.

So the inverse of a unitary is its adjoint:

U1=U.U^{-1} = U^{\dagger}.

Physical consequences (the important part)

  1. Normalization is preserved: total probability stays 1.

  2. Inner products are preserved: overlaps like ϕψ\langle\phi|\psi\rangle keep the same magnitude after applying the same gate to both states. This matters because overlaps control measurement probabilities.

  3. Reversibility: the gate can be undone.

We are not proving these here; we are using them as the interpretation of “unitary.”

Worked Example

Suppose you apply a gate UU and get ψ=Uψ|\psi'\rangle = U|\psi\rangle.

If you immediately apply the “undo gate” UU^{\dagger}, then

Uψ=U(Uψ)=(UU)ψ=Iψ=ψ.U^{\dagger}|\psi'\rangle = U^{\dagger}(U|\psi\rangle) = (U^{\dagger}U)|\psi\rangle = I|\psi\rangle = |\psi\rangle.

Read that equation in words:

  • “Undo after do” returns the original state.

This is the cleanest practical meaning of unitarity at this stage.

Turtle Tip

Turtle Tip

When you feel the symbol UU=IU^{\dagger}U=I is too abstract, translate it to one sentence: ‘This gate preserves total probability and can be reversed.’

Common Pitfalls

Common Pitfalls
  • Don’t confuse “unitary” with “measurement.” Measurement is not unitary; it produces outcomes and generally changes the state in an irreversible way.
  • Don’t treat UU^{\dagger} as “just another gate with a dagger.” It specifically means the inverse (the perfect undo operation) for unitary gates.

Quick Check

Quick Check
  1. What physical requirement forces gates to preserve normalization?
  2. If a gate is unitary, what operator undoes it?

What’s Next

Now that we know gates are unitary operators, we can build intuition for what they do to a single qubit. Next: how single-qubit gates correspond to rotations on the Bloch sphere.