Benchmarks & Metrics
Quantum State Fidelity
A number between 0 and 1 measuring how close an actual quantum state is to a target state.
Definition
Quantum state fidelity measures the overlap between two quantum states. A fidelity of 1 means the states are identical, and 0 means they are completely distinguishable. It is used to say how well a device prepared a target state such as a Bell pair.
In depth
The accumulation of errors is the practical story. If each gate has fidelity F and a circuit has n gates, the rough circuit fidelity is F^n. With F = 0.999 and n = 1,000, this is 0.999^1000 ≈ 0.37. With F = 0.99 it is 0.99^1000 ≈ 0.00004. This is the reason a single-percent error rate is unusable for deep circuits and why error correction is needed.
For a noisy Bell pair, the fidelity to the ideal state is the chance that a measurement for the ideal Bell state succeeds. Teleportation experiments report a fidelity to compare against the classical limit of 2/3 for sending an unknown qubit state using only classical communication, so a fidelity above 2/3 demonstrates a genuine quantum effect.
Fidelity can be estimated by tomography, which needs many measurements and scales poorly with size, or by cheaper methods such as randomised benchmarking and direct fidelity estimation, covered in our hardware lessons.
Technical Definition
For pure states, F = |⟨ψ|φ⟩|². For a mixed state ρ and a pure target |ψ⟩, F = ⟨ψ|ρ|ψ⟩. For two mixed states the general definition is F = (Tr √(√ρ σ √ρ))², though some authors use the square root. Gate fidelity compares an implemented operation with the ideal one, and average gate fidelities near 99.9 percent are reported for the best two-qubit gates.
Visual Explanation: An Analogy
Fidelity is like the similarity score between a photocopy and an original. A score of one means a perfect copy and lower scores mean smudges, and the number tells you how many smudges to expect.
Key facts
| Item | Detail |
|---|---|
| Pure states | F = |⟨ψ|φ⟩|² |
| Range | 0 to 1 |
| Accumulation | Circuit fidelity roughly F^n over n gates |
| Teleportation benchmark | Classical limit of 2/3 |
Where the idea comes from
Fidelity as a measure of state closeness was formalised by Armin Uhlmann in 1976 and developed by Richard Jozsa in 1994.
Real-World Use Cases
- Reporting how well Bell pairs and GHZ states are prepared
- Quantifying gate quality in benchmarks
- Evaluating teleportation and communication protocols
How it differs from related ideas
- Trace distance measures distinguishability, while fidelity measures overlap.
- Gate fidelity compares operations, while state fidelity compares states.
Common Misconceptions
- High fidelity does not guarantee that a long circuit works. Fidelities multiply across many gates.
- Different papers use different definitions, including the square-root form, so numbers need care.
Frequently asked questions
What is a good fidelity?
For two-qubit gates, 99 percent and above is good and 99.9 percent is excellent, depending on the platform.
How do I measure it?
By tomography or benchmarking methods.
Why does it multiply?
Because errors from each gate compound.
Related Terms
- Gate Fidelity
- Bell State
- Density Matrix
- Quantum State Tomography
- Randomized Benchmarking
- Quantum Teleportation