Superdense Coding Using Three Qubits
Superdense Coding Using Three Qubits
Abstract
1 Introduction
1
she wants to send. Her entangled qubit is then sent to Bob who after applying
appropriate combination of quantum gates makes measurement in GHZ basis and
retrieves the message. Communication between Alice and Bob is unnecessary in
this case.
A third party, Charles, create a maximally entangled state and distribute qubits
to Alice and Bob such that Alice has first two qubits and Bob has the third. Fig.
1 shows creation of GHZ state.
q1
H
q2
q3
Suppose input qubits are |0i ⊗ |0i ⊗ |0i. Then output state is
|000i + |111i
|ψ000 i = √
2
For different input qubits, output states are shown in Table 1.
2.2 Sharing
Now that GHZ state has been prepared, Charles will give first two qubits to Alice
and 3rd qubit to Bob because Alice will have to transform this state into any one
of the eight states given in 1 depending on the classical information she wants to
send to Bob. For example, if Alice wants to send classical bit “110”, Alice must
transform the state to |ψ110 i by applying appropriate quantum gates to her qubits.
This is only possible if Alice has two qubits in her possession.
2
Sr. No Input Qubit Output State
|000i + |111i
1 |000i |ψ000 i = √
2
|001i + |110i
2 |001i |ψ001 i = √
2
|011i + |100i
3 |010i |ψ010 i = √
2
|000i − |111i
4 |100i |ψ100 i = √
2
|010i + |101i
5 |011i |ψ011 i = √
2
|001i − |110i
6 |101i |ψ101 i = √
2
|011i − |100i
7 |110i |ψ110 i = √
2
|010i − |101i
8 |111i |ψ111 i = √
2
Table 1: This table shows GHZ states corresponding to input qubits.
Note that for intended message “011”, the output state has a phase factor of eiπ
which in fact doesn’t matter.
After performing appropriate gate, Alice will send her entangled qubit to Bob using
quantum network through a conventional physical medium.
2.5 Decoding
Now that Bob has all three qubits, he will measure all the qubits in GHZ basis
i.e., Bob will apply two Controlled Not (CN OT ) gates followed by Hadamard gate
(Ĥ) and then he will measure his qubit. Bob can now easily retrieve the classical
message that Alice sent. For example, if measurement results |011i, he will decode
this state to “011”.
Quantum Circuit for superdense coding is illustrated in the Fig. 2.
3
Sr. No Intended Message Applied Gate Output state
|000i + |111i
1 “000” Iˆ ⊗ Iˆ |ψ000 i = √
2
|001i + |110i
2 “001” X̂ ⊗ X̂ |ψ001 i = √
2
|011i + |100i
3 “010” X̂ ⊗ Iˆ |ψ010 i = √
2
|000i − |111i
4 “100” Iˆ ⊗ Ẑ |ψ100 i = √
2
|010i + |101i
5 “011” Iˆ ⊗ X̂ |ψ011 i = √
2
|001i − |110i
6 “101” X̂ ⊗ iŶ |ψ101 i = √
2
|100i − |011i
7 “110” X̂ ⊗ Ẑ |ψ110 i = √
2
|010i − |101i
8 “111” Ẑ ⊗ X̂ |ψ111 i = √
2
Table 2: This table gives the rule for encoding the classical message provided that
shared entangled state is ψ000 .
Alice encodes message
U1
Sending qubits to Bob
U2
Preparation & Sharing
Bob decodes message
q1 H H b1
q2 b2
q3 b3
4
2.5.1 Example
Assume that Alice and Bob share an entangled state given by:
|000i + |111i
ψ000 = √ (1)
2
First two qubits belong to Alice and third one belongs to Bob.
Suppose that Alice wants to send “011”. According to the encoding rules given in
Table. 2, Alice will apply Iˆ ⊗ X̂ to her qubits.
|ψ1 i = Iˆ ⊗ X̂ ⊗ Iˆ |ψ000 i
Iˆ |0i ⊗ X̂ |0i ⊗ Iˆ |0i + Iˆ |1i ⊗ X̂ |1i ⊗ Iˆ |1i
|ψ1 i = √
2
|010i + |101i
|ψ1 i = √ (2)
2
Alice will send her qubits to Bob via quantum network. Now Bob possesses all
three qubits. Bob will decode the message by measuring his qubits in GHZ basis.
Bob will apply two Controlled Not gates followed by Hadamard Gate as illustrated
in Fig. 2
State after first Controlled Not gate:
|011i + |101i
|ψ2 i = √ (3)
2
State after second Controlled Not gate:
|011i + |111i
|ψ3 i = √ = |+i |11i (4)
2
State after Hadamard gate:
|ψoutput i = |011i (5)
After measurement, Bob knows immediately that encoded message was “011”.
Quantum Circuit for this code is illustrated in Fig. 3.
4 Results
5
Sharing Encoding Decoding
0 H I H
0 X
000 1 2 3 output
6
5 Conclusion
The protocol is similar to the two qubits system but not too dense. It is because of
the reason that 1.5 classical bits are transferred per qubit although total amount
of information in three qubits system is larger than two qubits system. Moreover,
it is noted that theoretically it is possible to identify any of the eight GHZ state by
means of quantum gates.In Fig. 3, GHZ state becomes disentangled at the output
ending up in three single qubits.
6 Acknowledgements
This project was carried out as a core part of PHY 414 (Quantum Computation
and Information) in the Department of Physics, LUMS, Pakistan. The authors
are thankful to Dr. M. Faryad (Chairperson), Department of Physics, LUMS,
Pakistan, for his generous support throughout the project.
References
[1] C. H. Bennett and S. J. Wiesner, “Phys. Rev. Lett.” 69, 2881 (1992).
7
A Appendix 1: Code
%m a t p l o t l i b i n l i n e
# Importing standard Q i s k i t l i b r a r i e s
from q i s k i t import QuantumCircuit , e x e c u t e , Aer , IBMQ
from q i s k i t . c o m p i l e r import t r a n s p i l e , a s s e m b l e
from q i s k i t . t o o l s . j u p y t e r import ∗
from q i s k i t . v i s u a l i z a t i o n import ∗
from ibm quantum widgets import ∗