← Back to course overview

Multi Qubit Operations and Quantum Circuits

Unit: Quantum Computing

Lesson Preview

We are familiar with single qubit (pure) states, i.e. ψC2\ket{\psi}\in\mathbb{C}^{2}.

Now, consider we have two qubits, which we'll denote ψ\ket{\psi} and ϕ\ket{\phi}. How do we represent the simplest possible operation on them? That is, the operation of doing nothing (in practice, this is far from simple, as quantum states are fragile and decay very easily. But it is theoretically simple!)

We can represent this with the following circuit diagram, the simplest multi qubit quantum circuit:

SimplestMultiQuantumCircuit

All three are equivalent ways to depict this situation.

II, the identity matrix, when depicted as a box on a single wire, is I2I_{2}, the 2×22\times 2 identity matrix, acting on the single qubits individually.

When depicted by the larger box on both wires, is I4I_{4}, the 4×44\times 4 identity matrix, which acts on both qubits concurrently.

Both have the same end effect on the two qubits. We'll say more on this when we discuss the Kronecker Product of states and quantum operations.

Now, let's consider a two qubit system, say q0q_0 (the first qubit) and q1q_1 (the second qubit), and suppose each qubit can independently be in the state 0|0\rangle or 1|1\rangle.

This gives us four distinct states for the two qubits, which we write as:

  1. q0q_0 is 00 AND q1q_1 is 00, denoted as 00|00\rangle.
  2. q0q_0 is 00 AND q1q_1 is 11, denoted as 01|01\rangle.
  3. q0q_0 is 11 AND q1q_1 is 00, denoted as 10|10\rangle.
  4. q0q_0 is 11 AND q1q_1 is 11, denoted as 11|11\rangle.

These four states, 00,01,10,11|00\rangle, |01\rangle, |10\rangle, |11\rangle, form the computational basis for a two-qubit system. They are four-dimensional unit vectors, and they form an orthonormal basis for the Hilbert space C4\mathbb{C}^{4}.

A two-qubit pure state can be written as a superposition of these basis states:

ψ=c0000+c0101+c1010+c1111|\psi\rangle = c_{00}|00\rangle + c_{01}|01\rangle + c_{10}|10\rangle + c_{11}|11\rangle,

...

... continued in the full lesson.

Ready to Start Learning?

Sign up now to access the full Multi Qubit Operations and Quantum Circuits lesson and our entire curriculum!