Quantum fidelity is the probability that the gate between the two qubits produced the quantum state it was expected to.