Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Explainer

Two secret bits can hide an arbitrary qubit

The useful distinction is between the state conditioned on knowing the key and the state available to an observer who lacks it. Randomization does not make the intended receiver forget the message; it changes the adversary’s available description. The security statement should therefore name the key assumptions and the information available to each party.

Edition released Coverage: Overview · Technical · Research
On this page

Explanation

A sender can hide an arbitrary single-qubit state by applying one of four operations chosen with two secret random classical bits. An observer without the key sees a maximally mixed qubit, independent of the original state. The receiver who has the key can undo the operation. This is the quantum one-time pad. Its appeal is that secrecy comes from a precise transformation rather than a promise that the message is too complicated to understand. Its assumptions also matter: the key must be secret, appropriately random and used according to the protocol. The simple confidentiality calculation is not a complete authenticated communication system.

The four choices are the identity and the Pauli X, Y and Z operations, with irrelevant overall phases handled by a consistent convention. Averaging those choices cancels the components of the input Bloch vector. The resulting state is identity divided by two for every input. Someone who knows the choice does not average over it; they apply the inverse and recover the original ideal state. This is a clean example of why the observer's information belongs in a security description. The physical transmitted system can be the same while the key changes which conditional description the receiver can use.

The key is a separate classical resource. Without it, averaging over the four allowed operations produces the same maximally mixed description for every input. With the key, the authorized receiver can apply the correct inverse operation. Confidentiality and integrity remain different goals: a malicious alteration can require additional authentication even when the original message is hidden. This ideal cipher is a quantum-information example, not a consumer security recommendation. It encrypts quantum states; post-quantum public-key algorithms normally run on classical systems.

The quantum one-time pad gives a specific confidentiality statement. Averaging over the uniformly selected secret Pauli key makes the observer's ciphertext state independent of the input. The intended receiver, who knows the key, applies the appropriate inverse. That proof is valuable precisely because it states what the observer receives and what information the observer lacks.

A complete service has additional jobs. It must establish and protect the classical key, prevent unsafe key reuse under the chosen security model and decide how to handle tampering or loss. Those properties do not follow merely from the average ciphertext being maximally mixed. When assessing a proposed implementation, ask for the key assumptions and the separate mechanism supporting each claimed property. Calling a component secure should not collapse several different guarantees into one word. The four-operation calculation provides a concise example of how to make one strong statement while preserving its boundary.

Declared model

The four-key average removes every Bloch component

Inputs and assumptions

Compare the original and Pauli-conditioned X and Z components for illustrative input X=0.6 and Z=0.4, then the uniform four-key average. Only these two components are plotted.

Mathematical expression

X-key signs: X unchanged, Z reversed; Z-key signs: X reversed, Z unchanged; the uniform I/X/Z/XZ average gives zero for both plotted components.

Worked interpretation

Preserved calculated values — synthetic model
Available key informationZ expectationX expectation
Input0.40.6
I key0.40.6
X key-0.40.6
Z key0.4-0.6
XZ key-0.4-0.6
Keyless average00

Model boundaries

Uniform secret independent key, ideal operations and the simple one-qubit confidentiality task. This is not a claim of authenticated transport, practical implementation security or safe key reuse.

Original ideal teaching calculation. Not measured hardware data.

Misconception and correction

Misconception: Hiding a quantum state also proves that the receiver can detect any alteration to it.

Correction: Encryption alone does not prove that the received state was not altered. Confidentiality and integrity answer different questions.

Worked derivation

An arbitrary qubit density matrix has an equivalent Bloch-vector form. Conjugation by each Pauli operation changes selected signs of its nonidentity components.

Averaging the four conjugated matrices with weight one quarter removes the nonidentity components. Every Bloch-vector component cancels and the result is I/2.

A receiver with the key applies the corresponding inverse and recovers the original state in the ideal model.

Reusing a key across messages creates a different security problem. Likewise, detecting a malicious alteration requires an authentication construction beyond this averaging argument.

Additional scientific distinctions

The quantum one-time pad averages an arbitrary qubit over I, X, Z and XZ with equal probabilities. Each nonidentity Pauli component changes sign under two of the four conjugations, so all three Bloch components cancel and the average is I/2. Applying only I and Z fails: a zero-state input remains |0><0| under both operations. Hiding one family of states is different from hiding every qubit.

This primitive encrypts quantum states. Classical post-quantum cryptography instead uses classical messages and algorithms intended to resist quantum attackers. Confidentiality of the averaged state does not automatically provide authentication or integrity against tampering, and key reuse changes the security task. The declared channel describes what the observer receives. Assess distinguishability with the key information unavailable to that observer. An apparatus photograph supplies context but cannot establish the state transformation or its cryptographic guarantee.

Sources