# Infidelity

Definitions of performance metrics employed in our products.

## Average Infidelity

One way of defining performance of a quantum process is through an infidelity measure. We use the average operational infidelity, as it is easy to calculate, a function of the operators only and easy to relate to other infidelity measures. We define it as follows:

Given an ideal unitary gate $U$, with corresponding map

and some realized map $\mathcal{V}(\rho): We can define the error map as: The operational infidelity of the error map is based on the the norm of the Hilbert-Schmidt inner product , but the precise calculation will depend on the nature of the error map. In all cases it is defined in terms of the average operational fidelity: If the error map is deterministic and unitary, namely it can be represented as: where$V$is the realized unitary, and$E$is the error unitary then the operational fidelity is: If the error map is a completely positive and trace preserving, then it can be represented as a sum of Kraus operators: where$E_i$are the Kraus operators for the error process,$V_i$are the Kraus operators for the realized map then the average operational fidelity is: If the error map is a stochastic unitary process: where$\tilde{E}$is a random unitary matrix for the error process,$\tilde{V}$is the random unitary matrix for the realized map, and here$\left\langle \cdot \right\rangle$is the average with regard to the random unitary maps. Then the average operational fidelity is: Note these methods of calculating the average operational fidelity all reduce to one another in the appropriate limit. ## Filter Function Infidelity The filter function framework allows us to approximately calculate the average operational fidelity using the filter function and the noise spectral density. The filter function framework assumes the error process is a stochastic unitary map where the ideal unitary is the control unitary at some time$\tauU = U_{c}(\tau)$, with the realized unitary being provided by the stochastic total evolution operator,$\tilde{V} = U_{tot}(\tau)$. The two evolution operators are obtained by solving the Schrödinger equation depending on whether the noise Hamiltonian is present or not. Here the total hamiltonian is expressed as the sum of the control Hamiltonian,$H_{c}(t)$, capturing target evolution and the noise Hamiltonian,$H_{n}(t)$, capturing undesirable interactions with relevant noise processes. Thus, in the absence of noise interactions, the target state evolution is described by$U_{c}(\tau)$. Noise interactions due to$H_{n}(t)$steer the operation away from this target resulting in the net operation$U_{tot}(\tau)$. Dividing by the dimension$D$of the Hilbert space in the definition of the operational fidelity ensures that we recover unit fidelity when there is no noise. Namely, if$U_{tot} = U_{c}we obtain \begin{align} \mathcal{F}_{av}(\tau) = \left\langle \left|\frac{1}{D}\text{Tr}\left(U_{c}^\dagger U_{c}\right)\right|^2\right\rangle = \left\langle \left|\frac{1}{D}\text{Tr}\left(\mathbb{1}\right)\right|^2\right\rangle = \left\langle \left|\frac{1}{D}D\right|^2\right\rangle =1. \end{align} Note that the average infidelity that is displayed is calculated using the filter functions, which is approximately equal to the infidelity defined above. ## Noise-Free Infidelity For some controls, the control itself may not realize the ideal target unitary. We refer to this as a noise-free infidelity, where we use the average operational infidelity for a unitary error process. This quantity measures the deviation between the target operationU_{target}$, and a perfectly implemented control operation$U_c(\boldsymbol{v})$(i.e. assuming no noise interactions). In general, in the absence of noise this value approaches zero, but it can become appreciable in the case where a complex optimized control solution is employed. Again, however, this value is typically many orders of magnitude smaller than the noise-induced infidelity calculated in the filter function framework. ## Loss Infidelity If a qubit is coupled to an environment, such that it is undergoing a loss process described by a master equation of the form: If a process goes for a time$\tau$then the average operational infidelity is ## Total Infidelity The total infidelity is the exponential sum of the average operational infidelities. This is simply meant to be an indicative summary of fidelities, rather than a formal bound on the total infidelity of the process. Given a set of infidelities they are added then the smaller of the sum or 1 is taken: ## Gate Infidelity Another common infidelity is the average gate infidelity , this can be related simply to the average operational infidelity using: This relation is derived from equation (12) in Quantum gate fidelity in terms of Choi matrices . ## State Infidelity To quantify the performance of a Mølmer-Sørensen control operation, we use the state infidelity. This is given in terms of the overlap between the final two-qubit density matrix$\rho_{Q}$, produced by applying the generated control operation to the initial state$\vert 00 \rangle$, and one of the two possible maximally entangled target states which are obtained from the application of the ideal Mølmer-Sørensen gate. In this case, the infidelity is explicitly given by: with$P_0, \, P_2$representing the two-qubit populations in$\vert 00 \rangle$and$\vert 11 \rangle$, respectively. The infidelity is always calculated with respect to the entangled state ($\Phi^{+}$or$ \Phi^{-}$) that matches the sign of the accumulated entangling phase produced by the control operation. ## Worst-Case Error Bound The worst case error bound is derived from the average operational infidelity, through the average gate infidelity, and provides a bound on the operation error. The average infidelity is an accessible quantity, both in terms of calculation and experimental measurements. However the average infidelity does not bound the true fidelity of an operation, and it can not be used directly to bound the total fidelity of a sequence of operations. Fortunately, the average gate infidelity can be used to bound the the true error for an operation: Where the $\mathcal{I}_{av}$ is the average infidelity and$E_{bound}$is the worst case error bound. The error of an operation$E_{op}\$ is particularly useful when examining a sequence of operations. If a set of control solutions are used in a quantum computation the total error of the operation is bounded by the sum of the errors for each individual operation. Furthermore the probability that a quantum computation fails can be bounded by this total bound.

For more details on this relationship see Bounding quantum gate error rate based on reported average fidelity by Yuval R Sanders et al. 2015.

## Total Error

The worst-case error bound can be summed to give the total error for the full error process: