Home / Quantum from Scratch / Ep 13

Quantum from Scratch · Episode 13 of 19

Quantum gate

What Is a Quantum Gate? Why It's Not a Switch

Go deeper

What I say in the video

Everyone pictures a quantum gate as a switch. It isn't one.

A normal gate flips a bit: zero to one.

A qubit is more like an arrow that can point anywhere on a globe.

A quantum gate doesn't flip it. It turns the arrow.

Turn it halfway, and it points between zero and one. That's superposition.

Some gates link two arrows, so one decides what happens to the other. That's entanglement.

A quantum program is just a list of turns, and you only look at the very end.

In plain words

A quantum gate is not a switch. A classical gate flips a bit from 0 to 1. A quantum gate rotates a qubit.

What this Short covers:

  1. A qubit is like an arrow on a globe (the Bloch sphere): 0 at the north pole, 1 at the south pole, and it can point anywhere on the surface.
  2. A single-qubit gate turns that arrow. Even the X gate, the quantum NOT, is a half-turn.
  3. Turn it halfway, onto the equator, and you get an equal superposition of 0 and 1 (what the Hadamard gate does from 0).
  4. Two-qubit gates like CNOT let one qubit (the control) decide what happens to another (the target). With the control in superposition, this creates entanglement.
  5. A quantum program (a circuit) is a sequence of gates, with measurement at the end.

Note: once two qubits are entangled they no longer have separate arrows, and measuring one does not send a signal to the other.

What I simplified

Fine print for the physics crowd: the "arrow on a globe" is the Bloch sphere, and every single-qubit gate is a rotation of it. Once two qubits are entangled they no longer have separate arrows, and measuring one does not send a signal to the other. "Only look at the end" is true for standard circuits; IBM's dynamic circuits can measure mid-way.

Sources (5)

One new quantum idea, every week

The next episode in your inbox, with its sources. Free, and one click to unsubscribe.