# What does quantum gate fidelity mean?

The formal definition states that it's the distance between two quantum states. What does that mean experimentally? Does distance here mean the distance between two states on the Bloch Sphere? I am a little confused about the meaning of gate fidelity.

• There are many non-unique ways to define gate fidelity, can you add a reference and the relevant details? In general, fidelity (of states) is a measure of their distinguishability: $F=1$ means that the states are identical, while $F=0$ means that a single measurement can distinguish them perfectly. Since many gate fidelities borrow the definition of state-fidelity, they tend to have a similar meaning. Aug 7, 2020 at 6:00

Very briefly, gate fidelity refers to a way to compare how "close" two gates, or more generally operations, are to each other.

As discussed e.g. in (Magesan et al. 2012), if one wants to compare the action of an operation $$\mathcal E$$ and a gate $$\mathcal U$$ on a given state $$\rho$$, one can define their "gate fidelity" as the quantum state fidelity between $$\mathcal E(\rho)$$ and $$\mathcal U\rho\mathcal U^\dagger$$.

A related notion is that of average gate fidelity, which is defined as the above but averaging over all states $$\rho$$, and thus gives a better quantifier of how similar the operations themselves are (as opposed to just comparing their action on a single input state). See the paper above for more details.

• does the gate fidelity tells something about the errors? Is there any direct link between kraus operators and the gate fidelity Jul 15, 2022 at 3:13
• @quest errors of what? Regarding the gate fidelity and Kraus operators, there is a direct relation between average gate fidelity and Kraus operators, see e.g. quantumcomputing.stackexchange.com/q/16074/55 and arxiv.org/abs/quant-ph/0205035
– glS
Jul 15, 2022 at 6:21

Fidelity is a distance measure between quantum states. The gate fidelity uses fidelity to decide how noisy a quantum gate is.

Take two copies of a state, apply your implementation of a gate on one copy and apply the ideal gate on another copy (this can be done on paper, not in a lab) and compute the fidelity between the two outputs. This is the gate fidelity. There are some subtleties on what state you should use in this comparison but this should be made clear by the author.

See the discussion in Section 4 of this paper.

I find the above answers correct and sophisticated. My explanation would give you just a very general understanding.

In order to understand gate fidelity, you have to know the difference between a physical gate and a software-visible (logical) gate. Due to the current hardware-technology limitations, physical gates (those that are implemented physically on the real quantum devices) do not precisely map to (implement) the logical gates.

The difference between an ideal gate (a logical gate) and what the corresponding physical gate that a quantum hardware offers is called gate infidelity.