# Identical inputs can give 75%

## 00–08 seconds

Start with two independent inputs

The swap test compares separately prepared states. Its ancilla outcome is a repeated-trial probability.

## 08–16 seconds

For pure states, identical means one

Two copies of the same pure state give ancilla outcome zero with probability 1 in the ideal test.

## 16–24 seconds

Mixed inputs change the comparison

For independent density matrices rho and sigma, p(0) = [1 + Tr(rho sigma)] / 2.

## 24–32 seconds

Use the maximally mixed qubit

Set both inputs to I/2. Their overlap is 1/2, so the ancilla-zero probability is 3/4.

## 32–40 seconds

Name what the number measures

For equal mixed inputs, the overlap equals purity. It is not automatically mixed-state Uhlmann fidelity.

## 40–48 seconds

Try both inputs in the model

Compare pure and mixed preparations, then read the derivation before interpreting an overlap score.
