A Quantum self-Routing Packet Switching

33
1 A Quantum self-Routing Packet Switching Manish Kumar Shukla, Rahul Ratan and A. Yavuz Oruc, Department of Electrical and Computer Engineering, University of Maryland, College Park.

description

A Quantum self-Routing Packet Switching. Manish Kumar Shukla, Rahul Ratan and A. Yavuz Oruc, Department of Electrical and Computer Engineering, University of Maryland, College Park. Abstract. - PowerPoint PPT Presentation

Transcript of A Quantum self-Routing Packet Switching

Page 1: A Quantum self-Routing  Packet Switching

1

A Quantum self-Routing Packet Switching

Manish Kumar Shukla, Rahul Ratan and A. Yavuz Oruc,Department of Electrical and Computer Engineering, University o

f Maryland, College Park.

Page 2: A Quantum self-Routing  Packet Switching

2

Abstract

• Use quantum superposition and entanglement to obtain non-blocking switches with efficient routing schemes and low crosspoint complexity

• Design a self-routing network using quantum circuits/gates based on Banyan network

Page 3: A Quantum self-Routing  Packet Switching

3

Outline

• Introduction

• Preliminary

• Quantum Switch

• Quantum Banyan Network

• Concluding Remarks And Future Work

Page 4: A Quantum self-Routing  Packet Switching

4

Introduction

• non-blocking: An interconnection network is can route all possible one-to-one input-output mappings

• Many non-blocking interconnection networks exist but either their crosspoint complexity is high

• An N×N Banyan network is composed of log(N) stage , each having N/2 switches and is self-routing

Page 5: A Quantum self-Routing  Packet Switching

5

• Self-routing: The routing decision for a packet at any stage in the network is made solely on the basis of the output address in the packet’s haeader

• Banyan network: (N/2)log(N) switches and states

• As a result , a Banyan network cannot route permutation maps

NN

2

NNN

2!

Page 6: A Quantum self-Routing  Packet Switching

6

• Contention occur

1.Classical network: random packet drops

2.Quantum network: Using quantum superposition

Page 7: A Quantum self-Routing  Packet Switching

7

Preliminary• Qubits and Superposition

• Quantum gates

• Self-routing interconnection networks

Page 8: A Quantum self-Routing  Packet Switching

8

Qubits and Superposition• A qubits state is a vector in a two dimensional complex H

ilbert space• A qubit can also exist in a superposition of the ‘0’ and ‘1’

states• Qubit: qubit ‘s state can be written as ,

where and

10 bax Cba ,1

22

ba

Page 9: A Quantum self-Routing  Packet Switching

9

Quantum Gates

• The Hadamard gate’s transformation matrix

• The CCN gate’s operation and figure

1-1

11

2

1H

Page 10: A Quantum self-Routing  Packet Switching

10

Self-routing interconnection networks

• A network has self-routing property if a packet can be routed by only knowing its input and output address , and nothing about other packets’ output address

Page 11: A Quantum self-Routing  Packet Switching

11

• A packet is routed to the lower output of a switch , at the

stage if the most significant address bit is ‘1’ and to the upper output if the bit is ‘0’

ith

ith

101:50addressbitOI

Page 12: A Quantum self-Routing  Packet Switching

12

Quantum Switch

• The switch gate

• A 2×2 Quantum switch

• Quantum switch with Dummy input

Page 13: A Quantum self-Routing  Packet Switching

13

A switch gate

• The basic building block of the quantum switch is a quantum gate , which we call a switch gate(Fig)

n

n

1

statecrossCin

statethroughCin

:1

:0 If n=2

Page 14: A Quantum self-Routing  Packet Switching

14

• For n=1 , matrix representation of this gate in the computational basis is

2arg,1arg,1 ettettcontrol

Page 15: A Quantum self-Routing  Packet Switching

15

• We use the switch gate to superpose the packets that contend for one output of a 2×2 switch and to route the superposition on the output

• For example n=1 , if the control qubit of the gate is set in

then the action of the gate is

• Also , if we observe packet x at one of the outputs then packet y will be observed with certainty at the other

)10(2

1

)10(2

1)10(

2

1xyyxyx

Page 16: A Quantum self-Routing  Packet Switching

16

A 2×2 Quantum switch

• The input packets of a 2×2 switch at the stage are in contention for an output link if the most significant bits of their address are same

• The purpose of our quantum switch is to remove this blocking in the network so that the two contending packets can be routed in parallel on the same link using quantum superposition

ith

ith

Page 17: A Quantum self-Routing  Packet Switching

17

• A simple design for such a 2×2 switch is in below

Page 18: A Quantum self-Routing  Packet Switching

18

• Even though this design creates a superposition of the contending packets at desired output , a complementary superposition is created on the other output also which is undesirable

• Even if we go ahead and make a Banyan network using this switch , the outputs of the network might receive packets that are not addressed to them

Page 19: A Quantum self-Routing  Packet Switching

19

• Also , it will not be possible to verify whether the received packet was intended for that output or not because the output address bits are removed by the nodes of the network

• We can overcome the problem of verifying the received packets by keeping a copy of the output address in the data portion of the packet

Page 20: A Quantum self-Routing  Packet Switching

20

Quantum switch with Dummy input

• Redesign the switch by introduction a dummy input-output pair

• The undesirable superposition mentioned in pre-section is dumped on the dummy output

Page 21: A Quantum self-Routing  Packet Switching

21

• The switch is show in below

is always fed with dummy packets which are distinguishable from data packetI 3

Page 22: A Quantum self-Routing  Packet Switching

22

• To keep the dummy packets distinguishable from data packets , the following scheme is used

(1) The address bits of the data-packets are replicated (2) The address part of the dummy packets is formed by

repeating ‘01’ (P/2)-1 times , where the P is the number of bits in the address part of packets at and

(3) The first bit of the data part is also used for

distinguishing between data and dummy packets . This bit is set to ‘0’ in the dummy packets and to ‘1’ in

data packets

I1 I 2

Page 23: A Quantum self-Routing  Packet Switching

23

• The quantum circuit for this switch is show in below

Page 24: A Quantum self-Routing  Packet Switching

24

• (a) When A1,A2= (00,11) or (00,01) or (01,11) or (01,01) , all the switch gates act in through state , the function of the circuit is (Di is a dummy packet on Ii , i=1,2)

DPPAAstateswitch ,,,,:2121

Page 25: A Quantum self-Routing  Packet Switching

25

• (b) When A1,A2 = (11,00) or (11,01) or (01,00) ,thus S1 ,S2 and S3 act in through state and S4 is cross state , the function of circuit is

Page 26: A Quantum self-Routing  Packet Switching

26

• (c) When A1,A2 = (00,00)

• The function of circuit is

Page 27: A Quantum self-Routing  Packet Switching

27

• (d) When A1,A2 = (11,11)

• The function of the circuit is

Page 28: A Quantum self-Routing  Packet Switching

28

• When contention occurs ,a superposition of the input packets is sent to their intended output and a dummy packet is sent on the other output

Page 29: A Quantum self-Routing  Packet Switching

29

Quantum Banyan network

• A 4×4 quantum Banyan network is show in below

Page 30: A Quantum self-Routing  Packet Switching

30

• Suppose inputs 0,1,2,3 have packets for outputs 3,2,0,1• The packets are represented by the tuple (A,P)

P: data part

A: address part (represent address bits ‘00’ , ‘11’ and ‘01’ by ‘0’ , ‘1’ and ‘d’ )

• Thus the packets at the four inputs are (11,P3) , (10,P2) (00,P0) and (01,P1)

Page 31: A Quantum self-Routing  Packet Switching

31

• The input state A is• The state at location B is

• The output state is

Page 32: A Quantum self-Routing  Packet Switching

32

• If we do a measurement at the outputs of the switch , we will observe one of the tuple in the above expression with probability 1/4 each

• The probability of observing packet Pi , i=0,1,2,3 at output i is 1/2

Page 33: A Quantum self-Routing  Packet Switching

33

Concluding remarks and future work

• A simple measurement destroys this superposition and gives only one such output sub-permutation , which is equivalent to classical routing through a Banyan network with random packet drops in case of contention

• Another direction would be to extend our result to more powerful switching structure such as the Benes and Clos networks