Skip to content
Quantum concepts · Qiskit

Quantum Circuits | Understanding Quantum Information & Computation | Lesson 03

Original upload

Connecting to YouTubeOpen on YouTube

Turn circuit diagrams into something you can follow. John Watrous connects sequences of quantum operations with the mathematics of states and measurements. This course lesson is a next step after qubit notation: pause at the transformations and work through the symbols rather than treating the diagram as a picture of a physical processor.

Viewing companion: Why two gate orders can look identical in one measurement

Follow a wire through the circuit from left to right. If gate A acts first and gate B follows, the output is BA applied to the input state. The matrix closest to the input vector acts first. Keep that order in view when the lesson moves from diagrams to matrices.

A question to keep in mind: Starting in |0⟩, does applying H then Z give the same state as applying Z then H?

Try it as an ideal one-qubit exercise. H then Z gives |−⟩. Z then H gives |+⟩. Both produce a 50–50 split when measured in the usual 0/1 basis. An X-basis measurement distinguishes them every time in the ideal circuit.

The exercise uses IBM’s written lesson and Qiskit’s recording description.

Original QubitWire learning notes. Explore the related guide →

Video by Qiskit. Added to QubitWire .

Watch on YouTube · More recently added videos