|q⟩ Bad Qubits

advanced · Physics · Quantum Channels & Open Systems

Channel Fidelity

How faithfully does a channel transmit a state? The standard answer is the fidelity, a measure of overlap between the state you sent and the state that came out. It is the workhorse figure of merit for benchmarking gates, memories, and communication links.

Fidelity between two states

For states ρ\rho and σ\sigma the (Uhlmann) fidelity is

F(ρ,σ)=ρσ1=trρσρ,F(\rho,\sigma) = \Big\lVert \sqrt{\rho}\,\sqrt{\sigma}\,\Big\rVert_1 = \operatorname{tr}\sqrt{\sqrt{\rho}\,\sigma\,\sqrt{\rho}},

ranging from 00 (orthogonal, perfectly distinguishable) to 11 (identical). It is symmetric, F(ρ,σ)=F(σ,ρ)F(\rho,\sigma)=F(\sigma,\rho), and invariant under any unitary applied to both. (Some authors square this; we use the F[0,1]F\in[0,1] convention where F=1F=1 means equal.)

The formula simplifies dramatically when one argument is pure, ρ=ψψ\rho=|\psi\rangle\langle\psi|:

F(ψψ,σ)=ψσψ.F\big(|\psi\rangle\langle\psi|,\,\sigma\big) = \sqrt{\langle\psi|\,\sigma\,|\psi\rangle}.

The messy operator square roots collapse because ψψ=ψψ\sqrt{|\psi\rangle\langle\psi|} = |\psi\rangle\langle\psi| is its own square root. This is the case that matters for channels probed with pure inputs.

Fidelity through a channel

Send a pure state ψ|\psi\rangle through E\mathcal{E} and compare input to output. The input–output fidelity is

F(ψ,E(ψψ))=ψE(ψψ)ψ.F\big(|\psi\rangle,\,\mathcal{E}(|\psi\rangle\langle\psi|)\big) = \sqrt{\langle\psi|\,\mathcal{E}(|\psi\rangle\langle\psi|)\,|\psi\rangle}.

The quantity under the root, ψE(ψψ)ψ\langle\psi|\mathcal{E}(|\psi\rangle\langle\psi|)|\psi\rangle, is the probability that the output still "looks like" ψ|\psi\rangle. Two summary numbers are built from it:

Useful properties

Try it

Send 0|0\rangle through the qubit depolarizing channel Ep(ρ)=(1p)ρ+p1/2\mathcal{E}_p(\rho)=(1-p)\rho+p\,\mathbb{1}/2 with p=0.36p=0.36. Compute the input–output fidelity F=0Ep(00)0F = \sqrt{\langle0|\mathcal{E}_p(|0\rangle\langle0|) |0\rangle}. Since 0Ep(00)0=(1p)+p/2=1p/2=0.82\langle0|\mathcal{E}_p(|0\rangle\langle0|)|0\rangle = (1-p) + p/2 = 1 - p/2 = 0.82, the fidelity is 0.820.9055\sqrt{0.82}\approx0.9055 — build Ep(ρ)\mathcal{E}_p(\rho) and compute it.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.