Skip to main content
Sandbox Physics

Q042 · Ask the black box

Quantum State & Process Tomography

Can measuring along one direction reveal a whole quantum state? No. Measure many identical copies along several directions, or, to characterize a process, send in several input states. The counts then reconstruct the state or the channel. With finite data a direct reconstruction can come out unphysical, such as a Bloch vector longer than one. Measurements held back from the fit test its predictions.

Choose how to measure an unknown qubit or channel. Collect independent outcomes and reconstruct it from the counts, then test your prediction on measurements that were kept out of the fit.

Interactive modelQuantum State & Process Tomography
Recorded trials00
From the current records—\text{—}

Reconstruct the unseen state

BOX 01
Loaded simulated exampleUnknown stateIdentical copies

Drag the amber handle to query the fit.

P(+)=0.5P(+)=0.5

Direction 1

Replay of stored outcomes

X:+1X:+1

State space, not physical space. Replay uses stored outcomes; the full fit stays fixed.

Ready. Nothing recorded yet.

02 / What the records say

Build a description, one question at a time.

Observed proportions, with pointwise 95% Wilson intervals. Missing settings stay blank.

Reconstruction checks0/30/3

N=0N=0

03 / Predict before you look

Keep a fresh direction out of the fit.

—\text{—}

n=(1,1,1)/3\mathbf n=(1,1,1)/\sqrt3 · A diagonal measurement; channel mode also uses this fresh input.

How the independent test is interpreted

The first held-out acquisition freezes the estimate; more fitting needs a new sample. These are point predictions. They are not confidence regions for the state and do not cover optional stopping.

04 / Save the evidence

Compare complete recorded samples.

Raw outcome table and export details

Most recent twelve trials shown. Export keeps every zero and every failed outcome. Save up to six samples, then restore their settings and records.

Inspect the matrix and reveal the model

The reconstruction uses recorded fitting outcomes only. Reveal is an after-the-fact model comparison; it never changes the estimate. State estimates are projected onto the Bloch ball. Channels are projected onto positive Choi matrices with trace-preserving partial trace.

—\text{—}

Direct inversion

—\text{—}

Physical projection

—\text{—}

A single-qubit stationary channel with fresh, uncorrelated environments is assumed. Incomplete settings cannot identify the state or channel. Unknown preparation errors and system-environment correlations are outside this model. Readout flips are not calibrated away; the inferred map includes that response. Channel matrices are displayed to two decimal places; diagnostics retain full precision. The projection is not maximum likelihood and the displayed matrix is not a certified device model.

IBM / Qiskit · State tomography · Surawy-Stepney et al. · Projected process tomography

Physics tutorial

Quantum State & Process Tomography

BackgroundChoose how to measure an unknown qubit or channel. Collect independent outcomes and reconstruct it from the counts, then test your prediction on measurements that were kept out of the fit.

Why it mattersPredict from what you can actually observe, then check the prediction separately.

Start with the essentials

Focus question
Can measuring along one direction reveal a whole quantum state?
One-sentence intuition
You need many identical preparations. Measuring one component does not fix the others, and with finite data the direct estimate can come out unphysical.

Core mathematical model

One qubit, three components

ρ=I+rxX+ryY+rzZ2,r^j=Nj,0−Nj,1Nj,0+Nj,1\rho=\frac{I+r_xX+r_yY+r_zZ}{2},\qquad \widehat r_j=\frac{N_{j,0}-N_{j,1}}{N_{j,0}+N_{j,1}}

The linear estimate needs all three measurement settings. If the estimated vector lands outside the unit ball, the physical projection shortens it to the nearest point on the boundary.

A channel changes the whole Bloch vector

rout=Trin+t\mathbf r_{\rm out}=T\mathbf r_{\rm in}+\mathbf t

Six known inputs along the positive and negative axes, each measured in three output directions, determine the affine map. The direct estimate uses the unweighted mean of each setting.

Conditions for a physical process

J⪰0,Tr⁡outJ=Iin/2,Tr⁡J=1J\succeq0,\qquad \operatorname{Tr}_{\rm out}J=I_{\rm in}/2,\qquad\operatorname{Tr}J=1

The normalized Choi matrix orders its tensor factors as input, then output. A Dykstra projection makes the estimate completely positive and trace preserving, and the residuals are reported separately.

A measurement held back from the fit

P(0∣n)=1+n⋅r2,n=(1,1,1)3P(0|\mathbf n)=\frac{1+\mathbf n\cdot\mathbf r}{2},\qquad\mathbf n=\frac{(1,1,1)}{\sqrt3}

Freeze the estimate before you record the diagonal measurement. In channel mode, the same diagonal also defines an input that has not been used before.

Common difficulties

What was measured?

Typical misconceptionThe revealed model was used in the estimate.

Better mental modelThe reconstruction receives only the recorded counts used for fitting and the chosen mode. The comparison with the model is done separately.

What a simulation can show

Typical misconceptionA successful simulated run certifies a device.

Better mental modelThe simulation has one qubit, ideal input preparations and readout flips that occur independently. Direct inversion is compared with a projection onto physical matrices; maximum likelihood is not used. An uncalibrated detector stays mixed into the inferred response, and nothing here certifies a device.

Run the experiment

  1. 01

    Choose a comparison

    Record only one direction. Increase the shot count without adding directions.

    What to observe: The components you did not measure stay unknown.
  2. 02

    Run the full protocol

    Collect all settings and inspect the direct and physical estimates. Then test them on fresh held-out measurements.

    What to observe: With finite samples, direct inversion can give a negative eigenvalue. The physical projection still does not guarantee an exact prediction.
  3. 03

    Push the assumptions

    Increase the readout flips and compare a fresh reconstruction with the model, which is revealed separately.

    What to observe: Enforcing positivity does not remove detector bias, and more shots alone cannot calibrate an unknown detector.

Related experiments and articles

Quantum evidence · Reading path

Bell tests and photon information

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleHow Bell tests distinguish quantum correlations
  2. LabBell Correlations & CHSHSee how sampling and detector efficiency affect a Bell test
  3. LabQuantum Error CorrectionSee how error correction differs from a Bell test
  4. ArticleFreedman and Clauser test Bell’s inequality with calcium light
  5. ArticleThree-photon GHZ correlations defeat a shared answer sheet
  6. LabThree-Photon GHZ Correlation BenchCollect three-photon coincidences and test GHZ parity
  7. ArticleHow the 1997 photon experiment transferred a quantum state
  8. LabQuantum Teleportation & SwappingCompare complete and partially successful Bell protocols
  9. ArticleA joint measurement entangles two photons that never met
  10. ArticleReconstructing a photon state from calibrated counts
  11. LabHomodyne Quantum TomographyRebuild the quantum state of light from homodyne measurements

Quantum evidence · Reading path

Clocks, traps and single-quantum control

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleLet a second ion read out a narrow transition
  2. LabTwo-Ion Quantum Logic SpectroscopyRead one ion through the simulated fluorescence of its partner
  3. LabTrapped-Ion Sideband SpectroscopySee how a sideband pulse moves an excitation into the motion
  4. LabRamsey Frequency MeasurementCompare reading out the level with reading out the phase
  5. ArticleA cavity cat loses coherence before it loses its energy
  6. LabKerr Cats & Wigner InterferenceCompare photon loss, branch interference and parity measurements
  7. LabDecoherence Channels & Information LossCompare coherence loss in a qubit channel
  8. ArticleKeeping a chosen number of photons in a cavity
  9. LabCavity Photon Counting & FeedbackCompare a limited feedback model with fresh verification data
  10. LabQuantum Error CorrectionFind errors while leaving an encoded message unread
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy