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

All sections

Saved
Quantum information foundations

How does a quantum one-time pad randomize a state without learning it?

Four Pauli choices hide an unknown qubit

Source research checked . Teaching calculations are ideal models.

Encrypt a qubit by choosing uniformly among I, X, Z and XZ with a secret two-bit key. An observer without the key describes the ciphertext by averaging all four possibilities. The exercise concerns confidentiality of a one-qubit state under this ideal key model; it does not include authentication or key distribution.

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.

Figure and table scope: 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.

Derivation step 1: Write an arbitrary qubit density matrix or its Bloch-vector form. Conjugation by each Pauli operation changes selected signs of its nonidentity components.

Derivation step 2: Average the four conjugated matrices with weight one quarter. Every Bloch-vector component cancels and the result is I/2.

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

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

Separate challenge: If the randomizer uses only I and Z on a zero-state input, what does a keyless observer see? Is that enough to hide every qubit?

Worked challenge answer: Both operations leave zero unchanged, so the average is still the zero projector. The two-operation scheme does not hide arbitrary inputs. The full four-Pauli average removes all three Bloch components.

Synthetic decision model

Start with the assumptions

  • 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.

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.

The four-key average removes every Bloch component. Available key information versus Illustrative Bloch component. Original ideal teaching calculation. Not measured hardware data.
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. Original ideal teaching calculation. Not measured hardware data.

Compare the input regimes

Each case uses invented inputs. The results follow from this model and do not describe measured hardware.

Reference example with separately scoped figure
Complete inputs
reference scenario
Represent an arbitrary qubit as rho=(I+r_x X+r_y Y+r_z Z)/2 and average over I, X, Y and Z conjugations.
separate figure scope
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.
  1. (rho + XrhoX + YrhoY + ZrhoZ)/4 = I/2.
Reference example with separately scoped figure · synthetic calculated results
ReferencePrediction
Original declared exampleAll three Bloch-vector components cancel for a key-unknown observer. Given the selected Pauli operation, its inverse recovers the ideal input state up to an irrelevant global phase.
Separate figure table: 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.
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

The declared reference example predicts: All three Bloch-vector components cancel for a key-unknown observer. Given the selected Pauli operation, its inverse recovers the ideal input state up to an irrelevant global phase.

Try the reasoning: If the randomizer uses only I and Z on a zero-state input, what does a keyless observer see? Is that enough to hide every qubit?

Sources and model boundaries

Back to this lab in the catalog