Fig. 4.4 shows a quantum circuit for the demon with a physical mem-ory bit. The design of this circuit follows the discussion in last subsection.
Initially, we prepared the two-level systems ρA and ρB as follows:
ρA(1) = P (ψ1)|ψ1⟩ ⟨ψ1| + P (ψ2)|ψ2⟩ ⟨ψ2| , ρB(1) =|ψ1⟩ ⟨ψ1| . (4.1) For this initial state, the information in the chamber A is
S(A) =−kBT (P (ψ1) ln P (ψ1) + P (ψ2) ln P (ψ2)) , (4.2)
..
Figure 4.3: Use the C-NOT gate to mimic the semi-permeable membrane.
Left: the corresponding C-NOT gate for the OFF (opaque) case. Right:
the corresponding C-NOT gate for the ON (transparent) case. Flipping the target bit will increase the entropy of the target ensemble.
and in the chamber B is S(B) = 0. This preparation is similar to the initial state for the gas model7. Therefore, the goal of this circuit is to swap the information of A and B.
The design of this circuit follows the discussion in last subsection. In the first and the second parts of the circuit Fig. 4.4, the demon reads the states of the molecules and take the information down to its memory. For simplicity, we let the system ρA emits two bits at a time. The first bit of ρA is used to join the circuit operation, the second bit becomes the memory bit of demon instead. In the other words, ρA’hands over’ the memory bit to the demon. The arrow from ρA to M is the “hand” over this process. In the third part of circuit, then demon changes the entropy of each potential well.
...
Figure 4.4: The circuit for a quantum demon with a physical memory bit.
We set ground state as the ON state and labelled as ◦, set excited state as the ON state and labelled as •.
To avoid confusion, note that in the following discussion of the first
C-NOT operation, denoted by the path A, we will require the same shape of the potential wells for A and B so that they have the same eigen-spectrum, i.e., ˆHA = ˆHB = ∆A|1⟩ ⟨1|. However, for the remaining operations, i.e., the 2nd C-NOT and Control-Z denoted by the path B, we will deform the potential well of B so that ∆B̸= ∆A.
First, we perform the thermodynamic path A in our circuit. Initially, the density matrix of the total system (including ρA, ρB and ρM) is given by
ρAM B(1) = P (ψ1)|ψ1ψ1ψ1⟩ ⟨ψ1ψ1ψ1| + P (ψ2)|ψ2ψ2ψ1⟩ ⟨ψ2ψ2ψ1| . (4.3) Note that ρA hands over one of her bits to ρM, thus the reduced density matrix of ρA and ρM are the same. We also can say that ρA has the same information amount as ρM.
Next, we perform the C-NOT operation to ρB, and the state |ψ1⟩ of ρM is set to the ON state. After that, we arrive the new state as follows:
ρAM B(2) = P (ψ1)|ψ1ψ1ψ2⟩ ⟨ψ1ψ1ψ2|
+ P (ψ2)|ψ2ψ2ψ1⟩ ⟨ψ2ψ2ψ1| . (4.4) In the third step, the demon decreases the entropy of ρA also by the C-NOT operation, and arrive
ρAM B(3) = P (ψ1)|ψ1ψ1ψ2⟩ ⟨ψ1ψ1ψ2|
+ P (ψ2)|ψ1ψ2ψ1⟩ ⟨ψ1ψ2ψ1| . (4.5) Then we get ρ(3)A and ρ(3)B by taking the partial trace, viz,
ρA:= TrB,M(ρAM B) and ρB:= TrA,M(ρAM B) (4.6)
⇒ ρA(3) =|ψ1⟩ ⟨ψ1| , (4.7)
ρB(3) = P (ψ1)|ψ2⟩ ⟨ψ2| + P (ψ2)|ψ1⟩ ⟨ψ1| . (4.8) In the C-NOT operations of step 2 and step 3, the work done by ρA and ρB are
WA= Tr(ρA(1) ˆHA)− Tr(ρA(3) ˆHA) = P (ψ2)∆A, (4.9) WB = Tr(ρB(1) ˆHB)− Tr(ρB(3) ˆHB) =−P (ψ1)∆A, (4.10) respectively. Thus, the total work extraction from ρA and ρB is
WpathA = WA+ WB , (4.11)
= (P (ψ2)− P (ψ1))∆A . (4.12)
Then we perform the thermodynamic path B in the quantum circuit. The difference between the paths A and B is the choice of the operation basis.
The path B performs the operation with the basis {e1, e2}. The connection between the two basis set is by a θ-rotation:
|ψ2⟩ = sin θ |e1⟩ + cos θ |e2⟩ , (4.13)
|ψ1⟩ = cos θ |e1⟩ − sin θ |e2⟩ . (4.14) Now we start the operation of circuit for the path B. Since the initial entropy S(ρB(1)) = 0 so that ρB(1) = |e1⟩ ⟨e1|. Then the density matrix of the initial joint state is
ρAM B(1) = P (ψ1)|ψ1ψ1e1⟩ ⟨ψ1ψ1e1| + P (ψ2)|ψ2ψ2e1⟩ ⟨ψ2ψ2e1| . (4.15) Since the demon executes the C-NOT operation with the basis{e1, e2}, thus the outcome depends on the probabilities of projection ⟨ψi|ej⟩. There-fore we expand the state of memory bit |ψi⟩ by {e1, e2} basis to yield
ρAM B(1) = P (ψ1)[⟨ψ1|e1⟩ |ψ1e1e1⟩ + ⟨ψ1|e2⟩ |ψ1e2e1⟩]
[⟨ψ1e1e1| ⟨e1|ψ1⟩ + ⟨ψ1e2e1| ⟨e2|ψ1⟩]
+P (ψ2)[⟨ψ2|e1⟩ |ψ2e1e1⟩ + ⟨ψ2|e2⟩ |ψ2e2e1⟩]
[⟨ψ2e1e1| ⟨e1|ψ2⟩ + ⟨ψ2e2e1| ⟨e2|ψ2⟩] . (4.16) We then perform the first C-NOT operation to ρB with |e1⟩ of ρM as ON. After that the density matrix of the joint state becomes
ρAM B(2) = P (ψ1)[⟨ψ1|e1⟩ |ψ1e1e2⟩ + ⟨ψ1|e2⟩ |ψ1e2e1⟩]
[⟨ψ1e1e2| ⟨e1|ψ1⟩ + ⟨ψ1e2e1| ⟨e2|ψ1⟩]
+P (ψ2)[⟨ψ2|e1⟩ |ψ2e1e2⟩ + ⟨ψ2|e2⟩ |ψ2e2e1⟩]
[⟨ψ2e1e2| ⟨e1|ψ2⟩ + ⟨ψ2e2e1| ⟨e2|ψ2⟩] . (4.17) The next step is to decrease the entropy of ρA by acting with a sequential C-NOT and Control-Z operation. It turns out that the input state and the output state of this sequential operation differs at most only by a sign and a flip of the target bit. For example, consider the state |e2ψ2⟩ under this
sequential operation:
|e2ψ2⟩ = sin θ |e2e1⟩ + cos θ |e2e2⟩ (4.18) C-NOT operation =⇒ sin θ |e2e2⟩ + cos θ |e2e1⟩ (4.19) Control-Z operation =⇒ − sin θ |e2e2⟩ + cos θ |e2e1⟩ (4.20)
=|e2⟩ (cos θ |e1⟩ − sin θ |e2⟩) (4.21)
=|e2ψ1⟩ (4.22)
By the similar process, we can derive the other maps for the above sequential operation:
|e2ψ1⟩ −→ − |e2ψ2⟩ , (4.23)
|e1ψ2⟩ −→ |e1ψ2⟩ , (4.24)
|e1ψ1⟩ −→ |e1ψ1⟩ . (4.25) Obviously, this sequential operation is a C-NOT operation with control and target bits in different basis.
After the above sequential C-NOT operation, by using the above maps we arrive the new state characterized by
ρAM B(3) = P (ψ1)[⟨ψ1|e1⟩ |ψ1e1e2⟩ − ⟨ψ1|e2⟩ |ψ2e2e1⟩]
[⟨ψ1e1e2| ⟨e1|ψ1⟩ − ⟨ψ2e2e1| ⟨e2|ψ1⟩]
+P (ψ2)[⟨ψ2|e1⟩ |ψ2e1e2⟩ + ⟨ψ2|e2⟩ |ψ1e2e1⟩]
[⟨ψ2e1e2| ⟨e1|ψ2⟩ + ⟨ψ1e2e1| ⟨e2|ψ2⟩] . (4.26) Based on (4.26), we can get the reduced density matrix of each subsystem by taking the partial traces:
ρA(3) = (P (ψ1)P (e1|ψ1) + P (ψ2)P (e2|ψ2))|ψ1⟩ ⟨ψ1|
+ (P (ψ1)P (e2|ψ1) + P (ψ2)P (e1|ψ2))|ψ2⟩ ⟨ψ2| , (4.27) ρM(3) = P (e1)|e1⟩ ⟨e1| + P (e2)|e2⟩ ⟨e2| , (4.28) ρB(3) = P (e2)|e1⟩ ⟨e1| + P (e1)|e2⟩ ⟨e2| . (4.29)
Now we can evaluate the work done by each subsystem as follows:
WA= TrA(ρA(1) ˆHA)− TrA(ρA(3) ˆHA) (4.30)
= (P (ψ2)P (e2|ψ2)− P (ψ1)P (e2|ψ1))∆A (4.31) WM = TrM(ρM(1) ˆHM)− TrM(ρM(3) ˆHM) (4.32)
= ∆M(P (e2)− P (ψ1)| ⟨e2|ψ1⟩ |2 −P (ψ2)| ⟨e2|ψ2⟩ |2) = 0 (4.33) WB = TrB(ρB(1) ˆHB)− TrB(ρB(3) ˆHB) =−P (e1)∆B (4.34) Note that the work done by ρM is zero as there is no operation performed on ρM. Thus, the total work done in the path B is
WpathB = WA+ WM + WB (4.35)
= (P (ψ2)P (e2|ψ2)− P (ψ1)P (e2|ψ1))∆A− P (e1)∆B . (4.36) Moreover, it is easy to see that the entropy S(ρA(3)) is not zero after the process of the path B. This is the same as in the gas model. In subsection 4.4 we will discuss the counterpart of the path C in the context of circuit model, and obtain the constraint from the 2nd law of thermodynamics, which is then used to test the Holevo bound.