Documentation

LeanPool.LeanQuantumAlg.Algorithms.SuperdenseCoding

Superdense coding #

Two classical bits travel over one qubit, given a shared EPR-pair [dW19, qcnotes.tex:879]. Alice holds bits a, b and applies X (if a = 1) then Z (if b = 1) to her half of the Bell state [dW19, qcnotes.tex:882]; after she sends her qubit to Bob, he applies CNOT then H on Alice's qubit and reads both bits off a computational-basis measurement [dW19, qcnotes.tex:885]. The protocol is due to Bennett and Wiesner (1992).

Conventions #

Main results #

noncomputable def QuantumAlg.superdenseEncode (a b : Bool) :

Alice's encoding: X on her qubit if a, then Z if b [dW19, qcnotes.tex:882] — as the two-qubit gate (Z^b X^a) ⊗ I.

Equations
Instances For
    noncomputable def QuantumAlg.superdenseDecode :

    Bob's decoding circuit: CNOT (control = Alice's qubit), then H on Alice's qubit [dW19, qcnotes.tex:885].

    Equations
    Instances For

      Superdense coding [dW19, qcnotes.tex:879]: Bob's decoding circuit turns the encoded Bell state into exactly the basis state |b a⟩, so a computational-basis measurement recovers both of Alice's bits with certainty. Protocol due to Bennett and Wiesner (1992).

      The proposition proved by one superdense-coding block.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[reducible, inline]

        A global superdense-coding message: n ordered pairs of classical bits, equivalently a 2n-bit string grouped by Bell-pair block.

        Equations
        Instances For

          Bob's decoded global message in the exact block protocol.

          Equations
          Instances For

            The global correctness proposition for the n-block protocol: every block decodes its bit pair, so Bob's recovered message is the whole input message.

            Equations
            Instances For

              Communication resources for running n independent superdense-coding blocks: n shared Bell pairs and n transmitted qubits from Alice to Bob.

              Equations
              Instances For
                theorem QuantumAlg.superdense_coding_componentwise {n : } (bits : Fin nBool × Bool) :
                (∀ (i : Fin n), SuperdenseBlockCorrect (bits i).1 (bits i).2) (superdenseCommunicationProfile n).HasExactCounts 0 n n

                Componentwise n-copy superdense-coding theorem. Each block uses one shared Bell pair and transmits one qubit, and Bob deterministically recovers the corresponding two classical bits.

                Global n-block superdense-coding theorem: Alice's 2n classical bits, represented as n bit pairs, are recovered exactly, using n transmitted qubits and n shared Bell pairs.