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

All sections

Saved
Quantum information foundations

What separates a superposition from an uncertain classical preparation?

One histogram, two different preparations

Source research checked . Teaching calculations are ideal models.

Compare the pure plus state with a fair classical mixture of zero and one. Both preparations produce balanced Z-basis outcomes, but their density matrices differ. The exercise uses exact matrices so the distinction does not depend on uncertain laboratory data or an animation that suggests a qubit is secretly a spinning classical arrow.

A distribution describes the answers to a particular question. A state model predicts answers to many possible questions. Confusing the two makes a noisy device appear better characterized than it is. Conversely, a task may need only a restricted distribution, in which case full state reconstruction would be unnecessary. The right scope depends on what the claim is meant to establish.

Figure and table scope: Sweep λ from 0 to 1 in ρ=λ|+><+|+(1−λ)I/2. This extends the pure-versus-mixture endpoints in the reference example.

Derivation step 1: The plus-state density matrix is one half times [[1,1],[1,1]]. Its off-diagonal entries record coherence relative to the chosen basis.

Derivation step 2: The fair mixture is one half times the identity. Averaging the two basis-state projectors removes the off-diagonal entries.

Derivation step 3: Conjugate each matrix by the Hadamard. The pure plus state becomes the zero projector, while the identity mixture remains unchanged.

Derivation step 4: Evaluate purity Tr(ρ²). The pure state has purity one and the fair mixture one half. Purity is a scalar property of the specified state, not an extra outcome that a single ordinary measurement directly reads.

Separate challenge: Set λ=0.6. What does the X measurement predict, and what is the purity? Could the Z histogram alone identify λ?

Worked challenge answer: The X probabilities are 0.8 and 0.2, and purity is 0.68. The Z probabilities remain one half each for every λ in this family. Therefore the Z histogram contains no information about λ under these assumptions.

Synthetic decision model

Start with the assumptions

  • Single-qubit model with repeatable preparations, ideal rotations and no detector bias. A real experiment needs calibration and uncertainty on the measured probabilities.

P_X(0)=(1+λ)/2; P_Z(0)=1/2; Tr(ρ²)=(1+λ²)/2.

Coherence changes one view while another stays fixed. Coherent fraction λ versus Probability or purity. Original ideal teaching calculation. Not measured hardware data.
Sweep λ from 0 to 1 in ρ=λ|+><+|+(1−λ)I/2. This extends the pure-versus-mixture endpoints in the reference example. 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
Compare the matrix for plus with a 50:50 classical mixture. Compute the result of a Hadamard followed by a zero/one measurement.
separate figure scope
Sweep λ from 0 to 1 in ρ=λ|+><+|+(1−λ)I/2. This extends the pure-versus-mixture endpoints in the reference example.
  1. rho_plus = [[1/2,1/2],[1/2,1/2]]; rho_mix = [[1/2,0],[0,1/2]]. P(0 after H) = <+|rho|+>.
Reference example with separately scoped figure · synthetic calculated results
ReferencePrediction
Original declared exampleThe pure preparation gives P(0)=1. The mixture gives P(0)=1/2. Their direct zero/one probabilities remain identical.
Separate figure table: Sweep λ from 0 to 1 in ρ=λ|+><+|+(1−λ)I/2. This extends the pure-versus-mixture endpoints in the reference example.
Coherent fraction λX measurement: zeroZ measurement: zeroPurity
00.50.50.5
0.120.560.50.5072
0.250.6250.50.53125
0.370.6850.50.56845
0.50.750.50.625
0.620.810.50.6922
0.750.8750.50.78125
0.870.9350.50.87845
110.51

The declared reference example predicts: The pure preparation gives P(0)=1. The mixture gives P(0)=1/2. Their direct zero/one probabilities remain identical.

Try the reasoning: Set λ=0.6. What does the X measurement predict, and what is the purity? Could the Z histogram alone identify λ?

Sources and model boundaries

  • IBM Quantum Learning: density matrices ↗

    Primary scientific context for an original ideal teaching example. Source research checked 19 October 2026; site integration inspected 20 October 2026. These are different checks.

Back to this lab in the catalog