Quantum Computing
Advanced

Quantum Fidelity

Measures how close two quantum states are — 1 means identical, 0 means orthogonal.

Formula

F(ρ,σ)=(trρσρ)2F(\rho, \sigma) = \left(\text{tr}\sqrt{\sqrt{\rho}\,\sigma\,\sqrt{\rho}}\right)^2

Variables

FFidelity
\rho, \sigmaDensity matrices of the two states
\text{tr}Trace

Example

Fidelity = 0.99 → 99 % match to the ideal state

Did You Know?

Current leading quantum processors achieve single-gate fidelities above 99.9 % — but errors compound fast across thousands of gates.

Share this formula