Representing Quantum Gates in Tensor Product Space

Click For Summary
SUMMARY

This discussion focuses on representing quantum gates, specifically the Hadamard gate, in the tensor product space of a multi-qubit system. The Hadamard gate, represented by the matrix H = \begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}, is applied to the first qubit q_0 while q_1 remains in the ground state. The transformation of the state |0\rangle \otimes |0\rangle under the Hadamard gate is explored, leading to the expression H_0 \otimes I_1, where I_1 is the identity operator for q_1. Resources for further understanding include the Kronecker product for matrix operations.

PREREQUISITES
  • Understanding of quantum mechanics and qubit representation
  • Familiarity with matrix operations and linear algebra
  • Knowledge of tensor product spaces in quantum computing
  • Basic understanding of quantum gates and their matrix forms
NEXT STEPS
  • Study the Kronecker product and its applications in quantum mechanics
  • Learn about the representation of multi-qubit states in tensor product space
  • Explore the mathematical foundations of quantum gates and their transformations
  • Investigate the Hadamard gate's role in quantum algorithms and circuits
USEFUL FOR

Quantum computing enthusiasts, physicists, and researchers interested in quantum gate operations and tensor product spaces will benefit from this discussion.

phun_physics
Messages
2
Reaction score
1
TL;DR
I am confused on how to represent the computational (matrix) form of a quantum gate in the tensor product space. For example: how does the computational matrix look for a single qubit gate on in two qubit tensor product vector space?
Where do I start. I want to write the matrix form of a single or two qubit gate in the tensor product vector space of a many qubit system. Ill outline a simple example:

forum_pic.png

Both qubits, ##q_0## and ##q_1## start in the ground state, ##|0 \rangle =\begin{pmatrix}1 \\ 0 \end{pmatrix}##. Then we apply the Hadamard gate, ##\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}##, on the ##q_0##.
Here is my understanding:

The Hadamard gate on two qubit system only operates on ##q_0##
$$ \hat{H}_0(q_0 \otimes q_1) = \hat{H}_0q_0 \otimes q_1 $$
$$\hat{H}_0(|0 \rangle \otimes |0 \rangle) = \hat{H}_0|0\rangle \otimes |0\rangle$$
$$\hat{H}_0 (\begin{pmatrix} 1 \\ 0 \end{pmatrix} \otimes \begin{pmatrix} 1 \\ 0 \end{pmatrix} )= \hat{H}_0 \begin{pmatrix} 1 \\ 0 \end{pmatrix} \otimes \begin{pmatrix} 1 \\ 0 \end{pmatrix}$$
$$\hat{H}_0 \begin{pmatrix} 1 \\ 0 \\ 0 \\0 \end{pmatrix} = \frac{1}{\sqrt{2}} ( \begin{pmatrix} 1 \\ 1 \end{pmatrix} \otimes \begin{pmatrix} 1 \\ 0 \end{pmatrix})$$
$$\hat{H}_0 \begin{pmatrix} 1 \\ 0 \\ 0 \\0 \end{pmatrix} = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 \\ 0 \\ 1 \\ 0 \end{pmatrix}$$

I don't know exactly how to solve this but can give a guess.

$$\hat{H}_0 = \begin{pmatrix} 1 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 \\
1 & 0 & -1 & 0 \\ 0 & 0 & 0 & 0 \end{pmatrix}$$

How is ##\hat{H}_0## written in the tensor product space? Are there any resources that explain this well? Any help is appreciated!
 
Last edited:
Physics news on Phys.org
What you have is the tensor product of two matrices, such that what you call ##\hat{H}_0## is actually ##\hat{H}_0 \otimes \hat{I}_1##, where ## \hat{I}_1## is the identity operator acting on ##q_1##. That product can easily be calculated, see https://mathworld.wolfram.com/KroneckerProduct.html
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K