Skip to content

Latest commit

 

History

History
158 lines (127 loc) · 4.6 KB

Notes.md

File metadata and controls

158 lines (127 loc) · 4.6 KB
sequenceDiagram
    autonumber
    participant Initiator
    participant Repeater 0
    participant ...
    Participant Repeater N
    participant Responder

    Note over Initiator: Form a request to a Responder

    alt 1. Connection Setup Request Phase
        Note over Initiator: Stack local information
        Initiator ->> Repeater 0: Connection Setup Request (CSR)
        Note over Repeater 0: Stack local information
        Repeater 0 ->> ... : CSR
        Note over ...: Stack local informatiopn
        ... ->> Repeater N: CSR
        Note over Repeater N: Stack local information
        Repeater N ->> Responder: CSR
        Note over Responder: Read CSR
    end

    alt 2. RuleSet Creation Phase
        Note over Responder: Create RuleSets based on the provided information
    end

    alt Connection Setup Response
        # Responder to Repeater N
        Responder ->> Responder: Ack / RuleSet
        Responder -) Repeater N: LAU
        Responder ->> Repeater N: Ack / RuleSet
        Repeater N -) Responder: LAU
        
        # Repeater N and Responder
        Responder -->> Repeater N: Barrier (123)
        Repeater N -->> Responder: Barrier (124)
        Note over Repeater N: max(124, 123)
        Note over Responder: max(123, 124)
        Note over Repeater N, Responder: RuleSet Execution Start

        # Intermediate Repeaters (...) to Repeater N 
        Repeater N -) ... : LAU
        Responder ->> ...: Ack / RuleSet
        ... -) Repeater N : LAU
        Repeater N -->> ... : Barrier(128)
        ... -->> Repeater N: Barrier (130)
        Note over ... : max(128, 130)
        Note over Repeater N : max(130, 128)
        Note over ..., Repeater N: RuleSet Execution Start


        # Repeater 1 to Intermediate Repeaters
        ... -) Repeater 0: LAU        
        Responder ->> Repeater 0: Ack / RuleSet
        Repeater 0 -) ...: LAU
        ... -->> Repeater 0: Barrier(140)
        Repeater 0 -->> ...: Barrier(141)
        Note over Repeater 0: max(140, 141)
        Note over ... : max (141, 140)
        Note over Repeater 0, ...: RuleSet Execution Start

        # Initiator to Repeater 1
        Repeater 0 -) Initiator: LAU
        Responder ->> Initiator: Ack / RuleSet
        Initiator -) Repeater 0: LAU
        Repeater 0 -->> Initiator: Barrier (143)
        Initiator -->> Repeater 0: Barrier(144)
        Note over Initiator: max(144, 143)
        Note over Repeater 0: max(143, 144)
        Note over Initiator, Repeater 0: RuleSet Excution Start

    end

    Initiator ->> Responder: Ack?
Loading

port 52244

LAU exchange list of connections and how to solve conflict of execution order

4.3 Connection Setup over multiple networks

RuleSet rewriting Need to introduce recursive network architecture

If the initiator and the responder in the different networks, the RuleSets are also neccesary to be rewritten by intermediate routers.

sequenceDiagram
    autonumber
    box Coral Network A
    participant ini as Initiator
    participant repa as Repeater A
    participant routa as Router A
    end

    box Orange Network B
    Participant routb as Router B
    Participant repb as Repeater B
    participant res as Responder
    end

    alt Local CSR
        ini ->> repa: CSR Local
        Note over repa: Stack local info
        repa ->> routa: CSR Local
    end
    Note over routa: Store local info

    routa ->> routb: CSR
    Note over routb: Stack local info
    routb ->> repb: CSR
    Note over repb: Stack local info
    repb ->> res: CSR

    Note over res: Create RuleSets

    res ->> res: Ack/RuleSet

    res ->> repb: Ack/RuleSet
    Note over repb, res: LAU
    Note over repb, res: RuleSet Execution Start

    res ->> routb: Ack/RuleSet
    Note over routb, repb: LAU
    Note over routb, repb: RuleSet Execution Start

    res ->> routa: Ack/RuleSet

    Note over routa: Rewrite RuleSet with local info
    routa ->> routa: Ack/RuleSet
    Note over routa, routb: LAU
    Note over routa, routb: RuleSet Execution Start

    routa ->> repa: Ack/RuleSet
    Note over routa, repa: LAU
    Note over routa, repa: RuleSet Execution Start

    routa ->> ini: Ack/RuleSet
    Note over ini, repa: LAU
    Note over ini, repa: RuleSet Execution Start
Loading

List of Contents

Abstract

  • Introduce what is Connection Setup
  • Explain why we need it
  • Mention RuleSet
  • Explain how do we implement it

Introduction

  • Introduce quantum communication
  • Introduce what is Connection Setup in detail
  • Explain what is the difference between classical scheme
  • Enumerate key concepts introduced in this document
  • Note for multipartite connection setup