Superdense Protocol

Superdense Protocol lets Alice send two classical bits to Bob by physically transmitting only one qubit - provided Alice and Bob already share an entangled pair. It is the mirror image of QuantumTeleportation: teleportation sends one qubit using two classical bits plus one shared entangled pair; superdense coding sends two classical bits using one qubit plus one shared entangled pair.

1. What This Protocol Does

Alice and Bob first share an entangled pair, generated exactly as in EntanglementBarrettKok. Alice then encodes two classical bits onto her half of the pair using one of four local gates, and sends only that one qubit to Bob over the direct quantum channel. Bob, now holding both halves of the pair, performs a joint measurement that recovers Alice’s original two bits exactly - despite only one physical qubit ever having been transmitted.

2. How the Setup Works

The canvas starts from the same entanglement resource as Barrett-Kok: two Quantum Router Nodes (Alice and Bob), each holding a quantum memory, connected by dotted diagonal quantum-channel lines to a central BSM (Bell-State Measurement) Node. Two additional links connect Alice directly to Bob.

Component

Role

Alice / Bob (Quantum Router Nodes)

Each holds a quantum memory. These first become entangled via the BSM node, exactly as in Barrett-Kok. Alice additionally holds the two classical bits she wants to send to Bob.

BSM Node (Charlie)

Where the photons from Alice and Bob interfere and are detected during entanglement generation, heralding the shared pair that superdense coding will use.

Diagonal Quantum Channels (to Charlie)

The fibre paths used only during entanglement generation, as in Barrett-Kok.

Direct Quantum Channel (Alice → Bob)

The solid/dotted link running straight across the canvas between Alice and Bob. This is where Alice’s single, encoded qubit physically travels after she has applied her encoding operation - this link is unique to Superdense Coding and does not appear in the plain Barrett-Kok topology.

Classical Channel

Used to coordinate timing during entanglement generation.

3. The Physics in Brief

Superdense coding happens in two stages.

Stage 1 - Get an entangled pair. Alice and Bob first share an entangled pair \(|\phi_1\rangle_A, |\phi_2\rangle_B\), generated exactly as in the Barrett-Kok protocol (see the EntanglementBarrettKok skill guide for details) - e.g. the Bell state:

\[|\Phi^+\rangle = \frac{1}{\sqrt{2}}\left(|00\rangle + |11\rangle\right)\]

Stage 2 - Encode and send. Alice wants to send two classical bits, \(b_1 b_2\) (the Input Bits parameter - 00, 01, 10, or 11).

  1. Depending on \(b_1 b_2\), Alice applies one of four gates to only her half, \(|\phi_1\rangle\), of the shared pair:

    Input Bits

    Gate Alice applies

    00

    I (identity - do nothing)

    01

    X

    10

    Z

    11

    XZ

    Each choice rotates the shared pair into one of the four mutually orthogonal Bell states.

  2. Alice sends her single qubit, \(|\phi_1\rangle\), to Bob over the direct quantum channel.

  3. Bob now holds both halves of the original pair. He applies a CNOT gate (control = \(|\phi_1\rangle\), target = \(|\phi_2\rangle\)) followed by a Hadamard gate on \(|\phi_1\rangle\), then measures both qubits.

  4. The two measurement outcomes exactly reproduce Alice’s original bits \(b_1 b_2\) - Bob has received two classical bits, having only ever received one physical qubit.

This works because the four possible Bell states Alice can steer the pair into are perfectly distinguishable by a joint (two-qubit) measurement, even though no single-qubit measurement on either half alone could tell them apart.

4. Configurable Parameters

4.1 Alice / Bob - Light Source

Parameter

Meaning

Frequency (Hz)

Frequency of the photon emitted from the memory’s cavity, used during entanglement generation.

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). Directly limits how reliably Bob can recover the correct two bits.

4.2 Charlie (BSM Node) - Detectors

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 quantum channel - either a diagonal link to the BSM node, or the direct Alice→Bob link used to send the encoded qubit.

Attenuation (dB/m)

Rate of photon loss per metre of travel through the fibre.

4.4 Input Parameters

Parameter

Meaning

No. of States

Number of superdense-coding trials to attempt in this run.

Input Bits

The two classical bits Alice wants to send to Bob (00, 01, 10, or 11); selects which of the four gates Alice applies before sending her qubit.

Simulation Time (ms)

Total time window over which entanglement generation and encoding/transmission attempts are simulated.

5. Running the Protocol

  1. Open Protocols and select Superdense Protocol.

  2. Switch between Map View and Component View to see the network layout or the block diagram.

../_images/superdense_map_view.png

(a) Map View

../_images/superdense_component_view.png

(b) Component View

Figure 1 - Map View and Component View in the AnuQrana interface. In Map View, Alice, Bob, and Charlie (the BSM/trusted node) are pinned to their locations with the Classical and Quantum Channels drawn between them. In Component View, Alice and Bob’s memories connect to the central BSM node via dotted diagonal quantum channels, plus the direct Alice→Bob link used to send the encoded qubit.

  1. Expand Alice, Bob, Charlie, 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, choose the Input Bits to send, and set the Simulation Time.

  3. Click RUN ▶ to execute the simulation.

6. Reading the Results

After a run, the simulator reports, for each trial:

  • The two bits Bob actually measured, compared against the Input Bits Alice intended to send.

  • The overall success rate (fraction of trials where Bob’s measured bits exactly match the Input Bits) across all trials.

Under near-ideal parameters, Bob’s recovered bits should match the configured Input Bits essentially every time - there is a single correct outcome to check against for each of the four possible inputs, making this an easy protocol to sanity-check: run each of 00, 01, 10, and 11 in turn and confirm all four are recovered correctly.

Lowering memory fidelity, memory/detector efficiency, or increasing channel attenuation and dark counts will reduce the fidelity of the entangled pair and introduce transmission errors on the direct Alice→Bob link - both of which increase the rate at which Bob’s recovered bits disagree with Alice’s Input Bits.

Note

Superdense Coding and Quantum Teleportation both consume an entangled pair generated exactly as in EntanglementBarrettKok, but move information in opposite directions (classical-in-quantum-out vs. quantum-in-classical-out). If results look off, it can help to first check the Entanglement-BarrettKok protocol on its own (see that skill guide) to confirm the underlying entangled pair is being generated with the fidelity you expect.

Instance methods

run()

Starts the SimPy process for the protocol: generates the entangled pair via the BSM node, applies Alice’s encoding gate for the configured Input Bits, transmits her qubit to Bob over the direct channel, and performs Bob’s CNOT + Hadamard measurement - repeated for the configured No. of States.

results()

Returns, per trial, Bob’s measured bits alongside Alice’s intended Input Bits, plus the overall success rate across all trials. 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.