Quantum Entanglement Swapping

Quantum Entanglement Swapping extends entanglement between two parties, Alice and Bob, who never directly exchange a photon with each other. Instead, a third node, Charlie, sits in the middle: Charlie separately becomes entangled with Alice and with Bob, and then performs a joint measurement on his own two qubits. That measurement “swaps” the entanglement outward, leaving Alice and Bob sharing an entangled pair - even though no particle ever travelled directly between them. This is the core mechanism behind quantum repeaters, which extend entanglement distribution beyond the range a single direct link can reach.

1. What This Protocol Does

Alice and Bob each entangle with one of Charlie’s two memories over independent Barrett-Kok links. Once both links succeed, Charlie performs a Bell-state measurement on his own two memories, projecting Alice’s and Bob’s qubits onto an entangled state too - despite Alice and Bob never having exchanged a photon directly.

2. How the Setup Works

On the canvas, the protocol is drawn as three Quantum Router Nodes - Alice, Charlie, and Bob - with Charlie in the middle. Unlike Alice and Bob, Charlie holds two quantum memories, one dedicated to entangling with Alice and one dedicated to entangling with Bob. Two independent BSM (Bell-State Measurement) Nodes sit between Alice-Charlie and Charlie-Bob, each connected by its own quantum channels, with classical channels running directly between neighbouring nodes.

Component

Role

Alice / Bob (Quantum Router Nodes)

Each holds one quantum (matter) memory that becomes entangled with one of Charlie’s two memories.

Charlie (Quantum Router Node)

Holds two quantum memories - one that entangles with Alice via the left BSM node, and one that entangles with Bob via the right BSM node. Once both links succeed, Charlie performs a Bell-state measurement on his own two memories, swapping the entanglement onto Alice and Bob.

BSM Node (A⇆C) / BSM Node (B⇆C)

Two independent Bell-state-measurement stations, each running the same double-heralding mechanism as the EntanglementBarrettKok protocol, one per link.

Quantum Channel

The fibre paths each photon travels from a memory to its respective BSM node.

Classical Channel

Used to coordinate timing on each link and to communicate BSM outcomes.

3. The Physics in Brief

Entanglement swapping proceeds in three stages.

Stage 1 - Entangle Alice with Charlie. Alice’s memory and one of Charlie’s two memories run the Barrett-Kok double-heralding protocol via the BSM Node (A⇆C), exactly as described in the EntanglementBarrettKok skill guide, producing a shared entangled pair \(|\phi_1\rangle_A, |\phi_2\rangle_C\).

Stage 2 - Entangle Charlie with Bob. Independently, Charlie’s other memory and Bob’s memory run the same Barrett-Kok protocol via the BSM Node (B⇆C), producing a second shared pair \(|\phi_3\rangle_C, |\phi_4\rangle_B\).

Stage 3 - Swap. Charlie now holds two qubits - \(|\phi_2\rangle_C\) (entangled with Alice) and \(|\phi_3\rangle_C\) (entangled with Bob) - that have never interacted with each other. Charlie performs a joint Bell-state measurement on these two qubits. Because \(|\phi_2\rangle\) and \(|\phi_3\rangle\) were each already entangled with a qubit far away, projecting them onto a Bell state instantaneously projects Alice’s and Bob’s qubits onto an entangled state too - despite Alice’s and Bob’s qubits never having met. This is the “swap”: entanglement that existed on the two short links (Alice-Charlie, Charlie-Bob) is transferred onto the one long link (Alice-Bob).

4. Configurable Parameters

4.1 Alice / Bob / Charlie - Light Source

Parameter

Meaning

Frequency (Hz)

Frequency of the photon emitted from the memory’s cavity.

Efficiency

Probability that the memory successfully emits a photon on demand.

Fidelity

Closeness of the memory’s quantum state to the ideal state (1 = perfect).

Charlie has his own Light Source panel because each of his two memories independently emits a photon - one toward the Alice-side BSM node, one toward the Bob-side BSM node.

4.2 BSM Nodes - Detectors

Each of the two BSM stations, BSM Node (A⇆C) and BSM Node (B⇆C), is configured independently, each with its own Detector + / Detector − tabs.

Parameter

Meaning

Efficiency

Probability that an incoming photon is correctly detected.

Dark Count (/s)

Rate of false-positive clicks with no photon present.

Time Resolution (ns)

Smallest time difference the detector can resolve between arrivals.

Max Count Rate (/s)

Upper limit on detection events the detector can register per second.

4.3 Channel

Parameter

Meaning

Length (m)

Physical length of a given quantum-channel segment (e.g. QC1: Alice to BSM Node A⇆C).

Attenuation (dB/m)

Rate of photon loss per metre of travel through that segment.

4.4 Input Parameters

Parameter

Meaning

No. of States

Number of end-to-end Alice-Bob entanglement-swapping attempts to run.

Measurement Efficiency

Probability that Charlie’s final Bell-state measurement (Stage 3, the swap itself) succeeds cleanly, independent of the two BSM Nodes’ own detector efficiencies.

5. Map View - Real-World Node Placement

Unlike the two-party protocols, Q Entanglement Swapping’s Map View lets you place Alice, Bob, and Charlie at real geographic locations and see the quantum-channel links drawn on an actual map.

Under Select Location, choose a site for Alice, Bob, and Charlie from the dropdowns. This is particularly relevant for entanglement swapping, since the whole point of the protocol is to reach a total Alice-Bob distance that neither direct link could cover on its own - placing the three nodes on a real map makes the achievable end-to-end distance concrete rather than abstract.

6. Running the Protocol

  1. Open Protocols and select Q Entanglement Swapping.

  2. Use Map View to place Alice, Bob, and Charlie at real locations, or switch to Component View to work directly with the block diagram.

../_images/entanglement_swapping_map_view.png

(a) Map View

../_images/entanglement_swapping_component_view.png

(b) Component View

Figure 1 - Map View and Component View in the AnuQrana interface. In Map View, Alice, Bob, and Charlie are pinned to their locations (CDAC KP, CDAC EC, and IISC, Bengaluru) with the Quantum Channel drawn between each pair. In Component View, Alice’s and Bob’s single memories connect to Charlie’s two memories via independent BSM nodes, one per link.

  1. Expand Alice, Bob, Charlie, BSM Nodes, and Channel to set the parameters described above (or leave them at their default, near-ideal values).

  2. Under Input Parameters, set No. of States and Measurement Efficiency.

  3. Click RUN ▶ to execute the simulation.

1. Reading the Results

After a run, the simulator reports, for each attempted Alice-Bob pair:

  • Whether the swap succeeded - i.e. whether both the Alice-Charlie and Charlie-Bob links entangled successfully and Charlie’s Bell-state measurement succeeded.

  • How many attempts were needed on each of the two links before both succeeded.

  • The resulting fidelity of the final Alice-Bob entangled pair.

Because a successful swap depends on three independent successes - the Alice-Charlie link, the Charlie-Bob link, and Charlie’s own measurement - entanglement swapping is inherently slower and more failure-prone than a single direct Barrett-Kok link. Lowering any memory fidelity, any detector efficiency, the Measurement Efficiency, or increasing any channel’s attenuation will reduce the fidelity of the final Alice-Bob pair and increase the number of attempts needed - compounding across all three stages rather than affecting just one link.

Tip

Each half of this protocol is just an EntanglementBarrettKok link - if results look off, check the Alice-Charlie and Charlie-Bob links independently first (see the Entanglement-BarrettKok skill guide) before troubleshooting the swap itself. Once Alice and Bob share an entangled pair here, it can be consumed by the QuantumTeleportation or SuperdenseProtocol protocols exactly as if it had been generated directly between them.

Instance methods

run()

Starts the SimPy process for the protocol: runs the Alice-Charlie and Charlie-Bob Barrett-Kok links independently, then performs Charlie’s Bell-state measurement to swap the entanglement onto Alice and Bob - repeated for the configured No. of States.

results()

Returns, per trial, whether the swap succeeded, the number of attempts needed on each link, and the resulting fidelity of the final Alice-Bob pair. Only meaningful after run() has completed.

reset()

Clears accumulated trial results and internal state so the same protocol instance can be reused for a fresh run on the same timeline.