Message Boards Message Boards

GROUPS:

Computing the entanglement entropy with Wolfram Quantum Framework

Posted 6 months ago
1854 Views
|
2 Replies
|
11 Total Likes
|

The entanglement entropy is a measure of how quantum information is stored in a quantum state. In particular, the entanglement entropy measures the amount of entanglement between two subsystems of a composite quantum system. Here, I will review the entanglement entropy and then compute it for a simple example -- the two spin system both analytically and with the QuantumFramework Packlet on Mathematica 13. I will largely be following Nishioka 2018, Hong Liu's HEE MIT lecture, and Tom Hartman's excellent notes.

Theory

The canonical example is to consider a system which is subdivided into two regions A and B, see figure below taken from Nishioka 2018. Nishioka2018f1

The system $\Sigma$ is said to be bipartite if its Hilbert space $\mathcal{H}_\Sigma$ can be expressed by the tensor product $$\begin{equation*}\mathcal{H}_\Sigma = \mathcal{H}_I\otimes\mathcal{H}_{I^c}\end{equation*}$$ over the individual subsystems where $I=A$ or $B$. To see if the two subsystems are entangled, we need further technologies: a density matrix $\rho_\Sigma$ and an operation $\text{Tr}_I$ which isolates a subsystem. The first is easy, the density matrix, by definition, is constructed from the (pure) quantum state $|{\Psi}\rangle\in\mathcal{H}_\Sigma$ of the system

$$\begin{equation*}\rho_\Sigma = |{\Psi}\rangle\langle{\Psi}|.\end{equation*}$$

For the second, let $\{|{i}\rangle_I, i=1,2,\cdots, \dim(\mathcal{H}_I)\}$ be an orthonormal basis for $\mathcal{H}_I$. The partial trace $\text{Tr}_{I}$ of an operator $\mathcal{O}$ is then defined by

$$\begin{equation*}\text{Tr}_I(\mathcal{O}) \equiv \sum_{i} {}_{I}\langle{i}|\mathcal{O}|{i}\rangle_{I}.\end{equation*}$$

The partial trace can be used to isolate a subsystem $I$ by "tracing out" the complement $I^c$. To be concrete, the reduced density matrix of the subsystem $I$ is obtained via

$$\begin{equation*}\rho_{I} \equiv \text{Tr}_{I^c}(\rho_\Sigma).\end{equation*}$$

We now have the necessary ingredients to compute the von Neumann entropy stored in the entanglement between $I$ and $I^c$. The entanglement entropy of the subsystem $I$ is computed by the formula

$$\begin{equation*}S_I = - \text{Tr}_{I}[\rho_{I}\log(\rho_{I})].\end{equation*}$$

This entropy satisfies the following statements:

  • The entanglement entropy is non-zero only if the complement of the subsystem is non-empty. In other words, $S_I=0$ when $\text{Area}(I^c)=0$. To see this, first note that $\text{Area}(I^c)=0$ is the same as saying $I^c=\emptyset$. Next, we have $\Sigma = I \cup I^c = I \cup \emptyset = I$$. And finally, it is well known that the entanglement entropy of the total system always vanishes for a pure state. Proof:

$$\begin{align*}S_I &= - \text{Tr}_{I}[\rho_{I}\log(\rho_{I})] = - \text{Tr}_{\Sigma}[\rho_\Sigma\log(\rho_\Sigma)] = - \text{Tr}_{\Sigma}[ODO^{-1}\log(ODO^{-1})]\\&=-\text{Tr}_{\Sigma}[D\log(D)]=0\end{align*}$$

where we have used that the density matrix (i) can be diagonalized, i.e., $\rho_{\Sigma}=ODO^{-1}$ and (ii) the ground state is pure so $\rho_\Sigma = (\rho_\Sigma)^2$ implying that the eigenvalues $\lambda_i\in\{0,1\}$.

  • The entanglement entropy is finite for finite-dimensional quantum systems, such as on a lattice. However, $S_I$ suffers from UV divergences in quantum field theory (necessarily infinite dimensional) due to short range interactions near the boundary of $I$, denoted $\partial I$.

  • It is possible to show that the entanglement entropy vanishes only if the pure ground state is separable which means that the quantum state admits the decomposition $|{\Psi}\rangle = |{\Psi}\rangle_I\otimes|{\Psi}\rangle_{I^c}$. In the case where $\text{Area}(I^c)=0$, there exists no states in $\mathcal{H}_{I^c}$ and hence the bipartition is simple $|{\Psi}\rangle=|{\Psi}\rangle_I\otimes 1 = |{\Psi}\rangle_\Sigma$.

Applications

This is all well and good in theory, but how does one actually go about computing the entanglement entropy given a state?

The simplest example is the two spin system (see Fig. 1(a)). Let $A$ and $B$ be two particles with spin $s=1/2$. Each particle has two states in their respective Hilbert spaces $H_{I}=\text{span}\{|{\uparrow}\rangle_I,|{\downarrow}\rangle_I\}$ where $I=A$ or $B$ and the bases are orthonormal $\langle{i}|{j}\rangle=\delta_{ij}$ for $i,j\in\{\uparrow,\downarrow\}$. The total Hilbert space is then straightforward to build $\mathcal{H}_\Sigma =\mathcal{H}_I\otimes\mathcal{H}_{I^c}= \{|{\downarrow\downarrow}\rangle,|{\downarrow\uparrow}\rangle,|{\uparrow\downarrow}\rangle,|{\uparrow\uparrow}\rangle\}$ where $|{ij}\rangle\equiv|{i}\rangle_I\otimes|{j}\rangle_{I^c}$.

Now, suppose the ground state is given as

$$\begin{equation*}|{\Psi}\rangle = \frac{1}{\sqrt{2}}(|{\downarrow\uparrow}\rangle+|{\uparrow\downarrow}\rangle)\end{equation*}$$

then the density matrix of the total system reads

$$\begin{equation*}\rho_\Sigma=|{\Psi}\rangle\langle{\Psi}|=\frac{1}{2}(|{\downarrow\uparrow}\rangle+{|\uparrow\downarrow}\rangle)^2.\end{equation*}$$

Tracing out, say $I^c=B$, we arrive at the reduced density matrix for $I=A$

$$\begin{align*}\rho_A = \frac{1}{2}(|{\downarrow}\rangle_A{}_A\langle{\downarrow}|+|{\uparrow}\rangle_A{}_A\langle{\uparrow}|) = \begin{pmatrix}1/2 & 0\\0 &1/2\end{pmatrix} \end{align*}$$

And now a straightforward calculation of the entanglement entropy $S_A$ shows

$$\begin{align*}S_{A} &= -\text{Tr}_A\left[\begin{pmatrix}1/2 & 0\\0 &1/2\end{pmatrix}\cdot\begin{pmatrix}\log(1/2) & 0\\0 &\log(1/2)\end{pmatrix}\right]\\&=\log(2)\end{align*}$$

This seemingly innocous value is in fact the maximum amount of von Neumann entropy (or more loosely information) stored between two entangled particles! To prove this statement, let us consider a more general state

$$|{\Psi}\rangle = \cos(\theta)|{\downarrow\uparrow}\rangle-\sin(\theta)|{\uparrow\downarrow}\rangle$$

and study this problem in Mathematica 13.

Entanglement Entropy on Mathematica 13

Recently, the Quantum Information Research Team at Wolfram Alpha have developed frameworks which greatly simplify the calculations required to compute the entanglement entropy (in low dimensional examples). The code below demonstrates how to initialize the Quantum Framework code and reproduce the entanglement entropy of the Bell State.

Now, we study the problem of the generalized Bell State with the wavefunction

$$|{\Psi}\rangle = \cos(\theta)|{\downarrow\uparrow}\rangle-\sin(\theta)|{\uparrow\downarrow}\rangle$$

Hence, the entanglement entropy stored in the generalized entangled states is

$$S_A(\theta) = -2\left[\cos(\theta)^2\log(\cos(\theta))+\sin(\theta)^2\log(\sin(\theta)) \right]$$

which has a maximum at $\theta_c = \frac{\pi}{4}.$ This proves the earlier statement: the maximum amount of von Neumann entropy in a two spin system is $S(\theta_c)=\log(2)$.


The purpose of this post was to discuss some basic facts about the entropy of entanglement and showcase the Quantum Frameworks packlet. I hope to study more complicated situations, such as the thermofield double state, later on.

Overview

I appreciate Å. Folkestad for comments. I have attached the Mathematica Notebook to this post, and more topics can be found on my blog.

Attachments:
2 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: Moderation Team

Thanks -- it's an honor!

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract