Skip to main content
edited body
Source Link
Davit Khachatryan
  • 4.4k
  • 1
  • 11
  • 22

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same point inon the Bloch sphere as the $|\psi\rangle$ state.

Another useful thing to know about the outer products of two states. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix and $|w\rangle$ is some normalized state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same point in the Bloch sphere as the $|\psi\rangle$ state.

Another useful thing to know about the outer products of two states. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix and $|w\rangle$ is some normalized state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same point on the Bloch sphere as the $|\psi\rangle$ state.

Another useful thing to know about the outer products of two states. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix and $|w\rangle$ is some normalized state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

edited body
Source Link
Davit Khachatryan
  • 4.4k
  • 1
  • 11
  • 22

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same dotpoint in the Bloch sphere as the $|\psi\rangle$ state.

Another useful waything to thinkknow about the outer products of two states. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix in general and $|w\rangle$ is some normalized state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same dot in the Bloch sphere as the $|\psi\rangle$ state.

Another useful way to think about the outer products. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix in general and $|w\rangle$ is some state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same point in the Bloch sphere as the $|\psi\rangle$ state.

Another useful thing to know about the outer products of two states. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix and $|w\rangle$ is some normalized state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

added 405 characters in body
Source Link
Davit Khachatryan
  • 4.4k
  • 1
  • 11
  • 22

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same dot in the Bloch sphere as the $|\psi\rangle$ state.

Another useful way to think about the outer products. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix in general and $|w\rangle$ is some state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_s | w \rangle$$$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer product isproducts are often used in the QC for describing, for. For example, unitary matrices.for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same dot in the Bloch sphere as the $|\psi\rangle$ state.

Another useful way to think about outer products. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix in general and $|w\rangle$ is some state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_s | w \rangle$$

This kind of outer product is often used in the QC for describing, for example, unitary matrices.

The outer product of two states is a matrix. Here are some often used outer products:

\begin{equation} |0\rangle \langle 0 | = \begin{pmatrix} 1&0\\0&0 \end{pmatrix} \qquad |0\rangle \langle 1 | = \begin{pmatrix} 0&1\\0&0 \end{pmatrix} \\ |1\rangle \langle 0 | = \begin{pmatrix} 0&0\\1&0 \end{pmatrix} \qquad |1\rangle \langle 1 | = \begin{pmatrix} 0&0\\0&1 \end{pmatrix} \end{equation}

For any $2$ by $2$ matrix we can write:

\begin{equation} M = \begin{pmatrix} a&b\\c&d \end{pmatrix} = a|0\rangle \langle 0 | + b|0\rangle \langle 1 | +c |1\rangle \langle 0 | +d|1\rangle \langle 1 | \end{equation}

How to calculate the outer product of two vectors:

\begin{equation} |v\rangle \langle w | = \begin{pmatrix} v_1\\v_2 \end{pmatrix} \begin{pmatrix} w_1^{\dagger}&w_2^{\dagger}\end{pmatrix} = \begin{pmatrix} v_1 w_1^{\dagger} & v_1 w_2^{\dagger} \\ v_2 w_1^{\dagger} & v_2 w_2^{\dagger}\end{pmatrix} \end{equation}

The outer product of a state from the Bloch sphere $|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$ with itself:

\begin{equation} |\psi\rangle \langle \psi | = \begin{pmatrix} |\alpha|^2 & \alpha \beta^{\dagger} \\ \beta \alpha^{\dagger} & |\beta|^2 \end{pmatrix} = \rho \end{equation}

It is equal to the density matrix $\rho$ that also describes the state of the system like the wavefunction $|\psi\rangle$ and has correspondence with the same dot in the Bloch sphere as the $|\psi\rangle$ state.

Another useful way to think about the outer products. Assume we have orthonormal eigenbasis $|v_s \rangle$ and we have this matrix $| w \rangle \langle v_1 |$ (that is not a unitary matrix in general and $|w\rangle$ is some state). What will be after the multiplication of this matrix with a geneal $|\psi \rangle = \sum_s \alpha_s |v_s\rangle$ state vector:

$$| w \rangle \langle v_1 | \sum_s \alpha_s |v_s\rangle = \alpha_1 | w \rangle$$

This kind of outer products are often used in QC. For example, for $X$ operator we can write:

$$ X = | 0\rangle \langle 1| + | 1\rangle \langle 0| $$

added 405 characters in body
Source Link
Davit Khachatryan
  • 4.4k
  • 1
  • 11
  • 22
Loading
Source Link
Davit Khachatryan
  • 4.4k
  • 1
  • 11
  • 22
Loading