Unit: Quantum Computing

Lesson Preview

When dealing with single-qubit quantum gates, we often use 2×22 \times 2 matrices.

The Kronecker product allows us to combine these operations when considering systems of multiple qubits. Let's first focus on how to compute the Kronecker product for two general 2×22 \times 2 matrices.

If A=[a11a12a21a22]A = \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} and B=[b11b12b21b22]B = \begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix}, their Kronecker product ABA \otimes B is a 4×44 \times 4 matrix.

Note, we could index the rows and columns starting at 00 instead of 11 (i.e. a00a_{00} instead of a11a_{11} for example) as we have done previously, however, for the purposes of this lesson, where we are not referring to the computational basis at all, there is no real clarity to be gained either way, so we'll stick with this.

The rule is to multiply each element of AA by the entire matrix BB, forming a block matrix:

AB=[a11Ba12Ba21Ba22B]=[a11[b11b12b21b22]a12[b11b12b21b22]a21[b11b12b21b22]a22[b11b12b21b22]]A \otimes B = \begin{bmatrix} a_{11}B & a_{12}B \\ a_{21}B & a_{22}B \end{bmatrix} = \begin{bmatrix} a_{11}\begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} & a_{12}\begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} \\ a_{21}\begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} & a_{22}\begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} \end{bmatrix}

This expands to:

AB=...A \otimes B = ...

... continued in the full lesson.

Ready to Start Learning?

Sign up now to access the full Kronecker Product of Quantum Operations lesson and our entire curriculum!