Skip to main content

Plain-Language Intuition

Mode: Simple / School
Alice has two bits. She may send Bob only one qubit. Later Bob will be asked for one of the two bits, but Alice does not know which. How well can they do? With one classical bit, Alice could just send her first bit. Bob gets that one right every time and must guess the other: 75% on average. No classical scheme does better. With one qubit they can reach 85.4%. Alice does not store either bit directly. She points the qubit's arrow halfway between two axes of the Bloch sphere: - whether it leans up or down encodes the first bit; - whether it leans right or left encodes the second bit. Bob measures up/down if he wants the first bit, or right/left if he wants the second. Since the arrow leans 45° towards each, he gets either answer right 85.4% of the time. He cannot get both. Reading one bit disturbs the other, which is why this does not break the rule that one qubit carries at most one bit.

Quantum Information

Quantum Random Access Code: quick reference

Packs two classical bits into one qubit so that either bit, but not both, can be recovered with 85.4% probability.

Topic
Quantum Information
Level
Advanced
Circuit size
1 Qubit
Key result
85.4% success vs 75% for the best classical encoding

Concepts covered: Random Access Codes, Conjugate Bases, Holevo Bound, Measurement Trade-offs

How Quantum Random Access Code works, step by step

  1. Tilt the Qubit Between Two Axes. Six small gates rotate the arrow to point halfway between "up" (Z) and "right" (X). This is the code for 00.
  2. Encode the Two Bits. An X gate flips the arrow's up/down part if the first bit is 1. A Z gate flips its right/left part if the second bit is 1. Here only X is applied.
  3. Choose Which Bit to Read. Bob wants the second bit, so he applies a Hadamard to measure right/left instead of up/down.
  4. Read the Answer. Bob reads 0, the correct value of the second bit, 85.4% of the time.

Frequently asked questions

What is Quantum Random Access Code?

Packs two classical bits into one qubit so that either bit, but not both, can be recovered with 85.4% probability. It is a advanced-level topic in quantum information.

How many qubits does the Quantum Random Access Code circuit use?

The QuanBit tutorial uses a 1 qubit circuit. Key result: 85.4% success vs 75% for the best classical encoding.

Can I simulate Quantum Random Access Code online for free?

Yes. The interactive Quantum Random Access Code tutorial at https://www.quanbit.tech/learn/qrac runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.