Skip to main content
Sandbox Physics

Q048 · How an environment changes a qubit

Decoherence Channels & Information Loss

Does losing phase also mean losing energy? No. Pure phase damping destroys coherence but leaves the populations, and so the energy, unchanged. Relaxation into a cold bath does give energy away and ends in the ground state. Measuring along all three axes tells the two apart.

Watch the level populations and the phase alignment as two separate things. Predict what phase damping changes, then compare it with relaxation into a cold bath. Check the final state with three independent sets of simulated counts, and move on to state reconstruction and decay fits when you are ready.

Interactive modelDecoherence Channels & Information Loss
Read the comparison and its values
Ground population50%50\%
Phase alignment100%100\%

The starting state is ready. Move time forward to see what changes.

Bars are modeled populations. The phase hand shows transverse coherence; its direction is a relative phase, not a spatial orientation. Gray marks the preparation.

Endpoint model and acquisition readouts
Model excited population—\text{—}
Model displayed-basis probability—\text{—}
Model purity—\text{—}
Model entropy—\text{—}
Bath excited fraction—\text{—}
Model transverse rate—\text{—}
Current tomography shots—\text{—}
Explore the evidence · counts, fits and raw data

Simulated acquisition

Use the records to identify the noise.

Predict which components change. Acquire three bases for the current state, then a time scan. Colored points and 95% Wilson bars come from separate preparation ensembles; dashed curves are model references.

No acquired record yet.

Inference from acquired counts

—\text{—}

Current-state reconstruction

ρ^=—\widehat\rho=\text{—}
—\text{—}
Current counts and 95% intervals
BasisPositive / total95% Wilson interval
Model density matrix · not reconstructed data
ρ=I+r⋅σ2\rho=\frac{I+\boldsymbol r\cdot\boldsymbol\sigma}{2}
Latest raw events · full record in CSV
Event / runProtocol / basisDuration (ms)Outcome

Scientific basis: IBM Quantum · channels · IBM Quantum · noise models

Physics tutorial

Reconstruct information after a channel

BackgroundA density matrix records both population and coherence. Different environments change them in different ways.

Why it mattersMeasuring a single population cannot tell you how pure the state is. Three separately prepared ensembles give the complementary information needed to reconstruct one qubit.

Start with the essentials

Focus question
Can a noisy process make an initially pure state mixed, then pure again?
One-sentence intuition
Relaxation into a cold bath ends in the pure ground state. Pure phase damping leaves the populations alone, and depolarization drives the state toward the maximally mixed state.

Core mathematical model

Thermal relaxation with pure dephasing

rz(t)=rz,eq+[rz(0)−rz,eq]e−Γ1t,rx,y(t)=rx,y(0)e−(Γ1/2+Γφ)tr_z(t)=r_{z,\mathrm{eq}}+[r_z(0)-r_{z,\mathrm{eq}}]e^{-\Gamma_1t},\quad r_{x,y}(t)=r_{x,y}(0)e^{-(\Gamma_1/2+\Gamma_\varphi)t}

The north pole is the ground state. Rates are non-negative and measured in inverse milliseconds. The transverse decay rate includes half of the longitudinal rate.

Two-level Gibbs bath

q=11+ehf01/(kBTb),rz,eq=1−2qq=\frac{1}{1+e^{hf_{01}/(k_BT_b)}},\quad r_{z,\mathrm{eq}}=1-2q

The bath fraction comes from the displayed gap in GHz and temperature in kelvin. At zero temperature the excited fraction is zero. This is an effective bath, not a specific device.

Reconstruction from counts

r~j=2nj,+Nj−1,r^=r~max⁡(1,∣r~∣),ρ^=I+r^⋅σ2\widetilde r_j=2\frac{n_{j,+}}{N_j}-1,\quad \widehat{\boldsymbol r}=\frac{\widetilde{\boldsymbol r}}{\max(1,|\widetilde{\boldsymbol r}|)},\quad \widehat\rho=\frac{I+\widehat{\boldsymbol r}\cdot\boldsymbol\sigma}{2}

Each basis uses its own separately prepared ensemble. Radial Euclidean projection pulls the estimate back inside the Bloch ball so that the state is physical. It is not maximum likelihood, and with finite samples it can introduce bias.

Purity and entropy

P=1+∣r∣22,S=−∑±λ±log⁡2λ±,λ±=1±∣r∣2\mathcal P=\frac{1+|\boldsymbol r|^2}{2},\quad S=-\sum_{\pm}\lambda_\pm\log_2\lambda_\pm,\quad\lambda_\pm=\frac{1\pm|\boldsymbol r|}{2}

Approximate joint Wilson bounds on the components are propagated into conservative ranges for purity and entropy. These ranges leave out systematic errors in preparation and measurement.

Common difficulties

Noise does not always lower purity

Typical misconceptionEvery channel always lowers the purity.

Better mental modelAmplitude damping is non-unital, so it can leave the qubit in the pure ground state. Depolarization and pure dephasing are different channels.

One qubit is not measured three times

Typical misconceptionThe three records are three measurements made one after another on the same qubit.

Better mental modelEvery recorded result comes from a fresh preparation. Averages over three separate ensembles estimate complementary components of the state.

A physical estimate does not certify the device

Typical misconceptionOnce the projected estimate is physical, the detector and the channel must be right.

Better mental modelProjection is only a statistical constraint. The model assumes ideal preparation and readout, and real device calibration and process tomography lie outside this experiment.

Run the experiment

  1. 01

    Measure in all three bases

    Choose Thermal relaxation and acquire all three bases. Open the reconstructed density matrix and the count table.

    What to observe: The green reconstructed state comes only from the counts. The purple state and the dashed curves are separate model references.
  2. 02

    Follow the energy into a cold bath

    Choose Cold excited state and acquire a time scan. Move the exposure from zero, through the middle of the range, to four milliseconds.

    What to observe: The longitudinal population changes, and the purity first falls, then recovers. When the input has no transverse coherence, the fit flags its result as only weakly identified.
  3. 03

    Lose phase without energy

    Choose Phase loss only and acquire a time scan.

    What to observe: The longitudinal probability stays fixed while the transverse probabilities approach one half. The entropy rises even though the populations do not relax.
  4. 04

    Test the reconstruction

    Choose No noise, reduce the number of shots and acquire three bases, then increase the shots. Also try an unpolarized input.

    What to observe: Sampling noise can put the raw Bloch vector outside the ball. Projection makes the state positive again, but the uncertainty stays visible. An unpolarized input cannot reveal the depolarization rate.

Related experiments and articles

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. ArticleHow to measure one quantum system and keep it available
  2. LabCavity Quantum Excitation ExchangeWatch an atom and a cavity trade one excitation
  3. LabFluorescence & Quantum JumpsSee quantum jumps in one atom’s fluorescence
  4. LabTrapped-Ion Sideband SpectroscopyProbe a trapped ion’s motion through its sidebands
  5. ArticleA cavity cat loses coherence before it loses its energy
  6. LabKerr Cats & Wigner InterferenceCompare photon loss, branch interference and parity measurements
  7. LabQuantum State & Process TomographyCompare with state reconstruction, a separate task
  8. ArticleCounting stored photons one atom at a time
  9. LabCavity Photon Counting & FeedbackAccumulate probe-atom outcomes and infer cavity photon number
  10. LabRamsey Frequency MeasurementSee how a phase becomes a population readout
  11. ArticleKeeping a chosen number of photons in a cavity
  12. 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