<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.veriqloud.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhea</id>
	<title>Quantum Protocol Zoo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.veriqloud.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhea"/>
	<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Special:Contributions/Rhea"/>
	<updated>2026-04-13T20:04:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4304</id>
		<title>Quantum Gate Set Tomography</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4304"/>
		<updated>2020-06-18T09:30:03Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quantum gate set tomography is a robust and powerful method for self-consistently characterizing an entire set of quantum logic gates on a black-box quantum device.  This method arose from the observation that [[Full Quantum Process Tomography with Linear inversion]] is inaccurate in the presence of state preparation and measurement errors. This procedure estimates the complete process matrices of Pauli transfer matrices for the gate set based on experimental data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Tomography]], [[Quantum process density matrix reconstruction]], [[Maximum Likelihood estimation]], [[Linear Inversion]], [[Gate set]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The selected measurement basis should be tomographically complete. &lt;br /&gt;
* For the calculation of the likelihood function we assume that the noise on the coincidence measurements has a Gaussian probability distribution. We also assume that each of our measurements is taken for the same amount of time.&lt;br /&gt;
* The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements.&lt;br /&gt;
* In the gate set, the first gate is always selected to be the null gate.&lt;br /&gt;
* We assume no knowledge about the gate set.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
[[State Tomography]] and [[Process Tomography]] assume that the initial states and measurements are known. But if the [[state preparation and measurement]] (SPAM) gates are faulty then the estimates provided using these techniques are faulty as well. Quantum gate set tomography solves this problem by including the SPAM gates self-consistently in the gate set to be estimated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The goal of this method is to completely characterize a gate set, which includes an unknown set of gates and an initial state and 2-outcome [[POVM]]. For self-consistency, the SPAM gates are treated on the same footing as the original gates. The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements. When these gates are applied to our unknown fixed state and measurement, a complete set of initial states and final state is produced. The experimental requirement for GST is the ability to measure the expectation values for the gate set.&lt;br /&gt;
&lt;br /&gt;
Two techniques are shown here, which are Linear inversion (LGST) and maximum likelihood estimation (MLE). The linear inversion protocol is fairly easy to implement numerically and is useful for providing quick diagnostics without resorting to more computationally intensive estimation via constrained optimization. The LGST estimate is not generally physical, the information obtained is somewhat qualitative, and hence MLE is preferred. LGST is a useful starting point for MLE. Since the starting point must be physical, while LGST is not, we should use the closest physical gate set to the LGST estimate. &lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* Initialize the qubit to a particular state. In most systems, the natural choice for this state is the ground state of the qubit.&lt;br /&gt;
* For a particular choice of SPAM gates and a gate from the Gate set, the corresponding gate sequence is applied to the qubit. As the SPAM gates are composed of the gates from the gate set, the sequence only contains the gates from the gate set.&lt;br /&gt;
* The 2-outcome POVM is measured. This POVM is required to be a positive semi-definite Hermitian operator. The natural choice for this POVM in most systems is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;. (Sometimes &amp;lt;math&amp;gt;|1\rangle\langle 1|&amp;lt;/math&amp;gt; is used)&lt;br /&gt;
* The above 1-3 steps are repeated a large number of times (10000 to 100000). For every repetition, the measurement is success (i.e., the measured state is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 1 and the measurement failure  (i.e., the measured state is not &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 0.&lt;br /&gt;
* The measurement results in the step above are averaged over the number of times the measurement was repeated and the expectation value is calculated.&lt;br /&gt;
* The above 1-5 steps are repeated for every SPAM gates and every gate in the gate set. This gives us the probability of all the possible gate set and SPAM gate combinations.&lt;br /&gt;
* Repeat steps 1-5 to measure the expectation values of only the SPAM gates. This is used to form a matrix known as the Gram matrix. If the first gate of the gate set is a null gate, then this step is not needed as this data already exists due to the step performed above.&lt;br /&gt;
* To find the gate set estimate from the measurement data, there are two techniques:&lt;br /&gt;
** Linear inversion method (LGST): &lt;br /&gt;
*** We should check that the gram matrix is invertible and after certain calculations with the inverted gram matrix, the gate set can be estimated. The LGST estimate is not generally physical, the information obtained is somewhat qualitative.&lt;br /&gt;
*** The gate set estimated in this way is in a different gauge from the actual gate set.  To compensate, we transform to a more useful gauge. Since we do not know the actual gate set, only the target one, the most useful gauge is the one that brings the estimated gate set as close as possible based, on some distance metric, to the target. The gauge transformation is found by solving an optimization problem and the resulting gauge matrix is then applied to the gate set found in the step above.&lt;br /&gt;
** Maximum likelihood estimation (MLE): LGST is a useful starting point for MLE. The goal in this method is to find the true probabilities corresponding to the measurements, subject to physical constraints. In this method, the best estimate is found by fitting to experimental data a theoretical model of the probability of obtaining that data.&lt;br /&gt;
*** This method begins by parameterizing the estimate, state and measurement matrices in terms of a vector of parameters. A number of constraints reduce the total number of independent parameters.&lt;br /&gt;
*** Putting everything together, the probability estimates are written in terms of the parameter vector and Depending on the parameterization choice each of the gates and states is either a linear or quadratic function of its parameters. Each of the gates and states is either a linear or quadratic function of its parameters. The estimator is, therefore, a homogeneous function of order 5 (linear parameterization) or 10 (quadratic parameterization).&lt;br /&gt;
*** MLE proceeds by finding the set of parameters that minimizes an objective function. The objective, or likelihood function, is the probability distribution we assume produced the data.&lt;br /&gt;
*** There are two kinds of parameterizations for gates that are commonly used:  The Pauli Process Matrix representation and The Pauli transfer Matrix Representation.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;: Gate set. &amp;lt;math&amp;gt;G = \{G_0, G_1, .. G_K\}&amp;lt;/math&amp;gt;. Generally &amp;lt;math&amp;gt;G_0 = {}&amp;lt;/math&amp;gt; null gate.  &lt;br /&gt;
* &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt;: SPAM gate set. &amp;lt;math&amp;gt;F = \{F_0, ... , F_N\}&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is composed of gates in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;: Initial quantum state. Generally the natural choice for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;: 2-outcome POVM.&lt;br /&gt;
* &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;: Number of times the measurement is repeated.&lt;br /&gt;
* &amp;lt;math&amp;gt;n_r&amp;lt;/math&amp;gt;: Result of &amp;lt;math&amp;gt;r^{th}&amp;lt;/math&amp;gt; measurement.&lt;br /&gt;
* &amp;lt;math&amp;gt;m_{ijk}&amp;lt;/math&amp;gt;: measurement of the expectation value &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;: Expectation value. &amp;lt;math&amp;gt;p_{ijk} = \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt;: Gram matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;B_{ij}&amp;lt;/math&amp;gt;: Gauge matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt;: Parameter vector&lt;br /&gt;
* &amp;lt;math&amp;gt;\hat{G}(\vec{t})&amp;lt;/math&amp;gt;: Parameterised estimate matrix. This has &amp;lt;math&amp;gt;d^4&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\hat{p}(\vec{t})\rangle&amp;lt;/math&amp;gt;: Parameterised state matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;\langle \hat{E}(\vec{t})|&amp;lt;/math&amp;gt;: Parameterised measurement matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt;: likelihood function.&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_{ijk}&amp;lt;/math&amp;gt;: The sampling variance in the measurement &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\sigma^2 = p(1-p)/n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi_G&amp;lt;/math&amp;gt;: Process matrix for gate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is defined in terms of the gate’s action on an arbitrary state &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; to produce a new state &amp;lt;math&amp;gt;G(p)&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G(p) = \sum_{i,j=1}^{d^2}(\chi_G)_{ij}P_i\rho P_j&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; is a  Hermitian positive semidefinite matrix, written in terms of &amp;lt;math&amp;gt;\chi = T^{\dagger}T&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;: a lower-diagonal complex matrix, &amp;lt;math&amp;gt;&lt;br /&gt;
         \hat{T}(t) = \begin{bmatrix}&lt;br /&gt;
             t_1 &amp;amp; 0 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             t_{2^n + 1} + it_{2^n+2} &amp;amp; t_2 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             ... &amp;amp; ... &amp;amp; ... &amp;amp; 0 \\ &lt;br /&gt;
             t_{4^n -1} + it_{4^n} &amp;amp;  t_{4^n -3} + it_{4^n - 2} &amp;amp;  t_{4^n - 5} + it_{4^n - 4} &amp;amp;  t_{2^n}&lt;br /&gt;
           \end{bmatrix}&lt;br /&gt;
     &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;P_i&amp;lt;/math&amp;gt;: Pauli operator &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; acting on the state&lt;br /&gt;
* &amp;lt;math&amp;gt;R_G&amp;lt;/math&amp;gt;: Pauli tranfer matrix for a gate G is defined in terms of the gate’s action on Pauli matrices. &amp;lt;math&amp;gt;(R_G)_{ij} = Tr\{P_iG(P_j)\}. |G(\rho)\rangle = R_G|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* Figure of merit: Gate set&lt;br /&gt;
* Multiple copies of the quantum state are required in this method.&lt;br /&gt;
* &amp;lt;math&amp;gt;E_j&amp;lt;/math&amp;gt; should be tomographically complete.&lt;br /&gt;
* In contrast to QPT, it is not possible in GST to characterize one gate at a time. Instead, GST estimates every gate in the gate set simultaneously.&lt;br /&gt;
* SPAM gates are included in the gate set for self-consistency.&lt;br /&gt;
* The limitation of linear-inversion GST (or LGST) is that it does not constrain the estimates to be physical. However, LGST provides a convenient method for diagnosing gate errors and also gives a good starting point for the constrained maximum likelihood estimation.&lt;br /&gt;
* In the gate set, the first gate is generally selected to be the null gate.&lt;br /&gt;
* The simulated errors are of three different types, representing coherent and incoherent gate errors as well as intrinsic SPAM errors.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Gate set, &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize system to &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., K&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** For &amp;lt;math&amp;gt;r = 1, 2, ..., n&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Apply gate sequence &amp;lt;math&amp;gt;F_i \circ G_k \circ F_j&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Measure with POVM &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;, get &amp;lt;math&amp;gt;n_r = 1&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;n_r = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;m_{ijk} = \sum_{r=1}^{n} \frac{n_r}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;(\tilde{G}_k)_{ij} = p_{ijk} = m_{ijk} =  \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
**** if &amp;lt;math&amp;gt;k==0&amp;lt;/math&amp;gt; (null gate), &amp;lt;math&amp;gt;g_{ij} = \langle E|F_iF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;|\tilde{\rho}\rangle_i = \langle E|F_i|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_{ij} = \langle i |F_j |\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Linear inversion:&lt;br /&gt;
** Check that the Gram matrix &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt; is non singular, so that it may be inverted&lt;br /&gt;
** For the gate set, the estimate is &amp;lt;math&amp;gt;|\hat{\rho}\rangle = g^{-1}|\tilde{\rho}\rangle, \langle \hat{E}| = \langle \tilde{E} |, \hat{G_k} = g^{-1} \tilde{G}_k&amp;lt;/math&amp;gt;&lt;br /&gt;
** Apply gauge optimization, by minimizing:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;\hat{B}^* = argmin_{\hat{B}}\sum^{K+1}_{k=1}Tr\{(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})^T(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Final gate set is: &amp;lt;math&amp;gt;\hat{G}_k^{*} = \hat{B}^*\hat{G}_k(\hat{B}^*)^{-1}, |\hat{p}^*\rangle = \hat{B}^*|\hat{p}\rangle, \langle \hat{E}^*| = \langle \hat{E}|(\hat{B}^*)^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Maximum Likelihood Estimation:&lt;br /&gt;
** &amp;lt;math&amp;gt;\hat{p}_{ijk} = \langle \hat{E}(\vec{t})|\hat{F}_i(\vec{t})\hat{G}_k(\vec{t})\hat{F}_j(\vec{t})|\hat{\rho}(\vec{t})\rangle&amp;lt;/math&amp;gt; &lt;br /&gt;
**  Find the set of parameters &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt; is minimized.&lt;br /&gt;
           &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
               l(\hat{G}) = \sum_{ijk} (m_{ijk} - \hat{p}_{ijk}(\vec{t}))^2 / \sigma^2_{ijk}&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Minimize the above function with two different commonly used types of parameterisation of gates:&lt;br /&gt;
*** Pauli Process Matrix Optimization problem:&lt;br /&gt;
       &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \sum_{mnrstu}(\chi_{F_i})_{tu}  (\chi_{G_k})_{rs} (\chi_{F_j})_{mn} Tr\{EP_t P_r P_m \rho P_n P_s P_u\} )^2 / \sigma^2_{ijk}&lt;br /&gt;
      &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \sum_{mn}(\chi_G)_{mn}Tr\{P_mP_rP_n\} - \delta_{0r} = 0, (r = 1, .. , d^2), \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
*** Pauli Transfer Matrix Representation&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;   Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \langle \hat{E}(\vec{t})|\hat{R}_{F_i}(\vec{t})\hat{R}_{G_k}(\vec{t})\hat{R}_{F_j}(\vec{t})|\hat{\rho}(\vec{t})\rangle )^2 / \sigma^2_{ijk}&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \rho_G = \frac{1}{d^2} \sum_{i,j=1}^{d^2}(R_G)_{ij}P^T_G \otimes P_i \geqslant 0, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{0i} = \delta_{0i}, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{ij} \in [-1, 1], \forall G, i, j&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
              &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
==Related Papers== &lt;br /&gt;
* Daniel Greenbaum (2015) arXiv:1509.02921v1: Introduction to Quantum Gate Set Tomography&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4303</id>
		<title>Quantum Gate Set Tomography</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4303"/>
		<updated>2020-06-18T09:29:14Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quantum gate set tomography is a robust and powerful method for self-consistently characterizing an entire set of quantum logic gates on a black-box quantum device.  This method arose from the observation that [[Full Quantum Process Tomography with Linear inversion]] is inaccurate in the presence of state preparation and measurement errors. This procedure estimates the complete process matrices of Pauli transfer matrices for the gate set based on experimental data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Tomography]], [[Quantum process density matrix reconstruction]], [[Maximum Likelihood estimation]], [[Linear Inversion]], [[Gate set]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The selected measurement basis should be tomographically complete. &lt;br /&gt;
* For the calculation of the likelihood function we assume that the noise on the coincidence measurements has a Gaussian probability distribution. We also assume that each of our measurements is taken for the same amount of time.&lt;br /&gt;
* The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements.&lt;br /&gt;
* In the gate set, the first gate is always selected to be the null gate.&lt;br /&gt;
* We assume no knowledge about the gate set.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
[[Quantum state tomography]] and [[Quantum process tomography]] assume that the initial states and measurements are known. But if the [[state preparation and measurement]] (SPAM) gates are faulty then the estimates provided using these techniques are faulty as well. Quantum gate set tomography solves this problem by including the SPAM gates self-consistently in the gate set to be estimated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The goal of this method is to completely characterize a gate set, which includes an unknown set of gates and an initial state and 2-outcome [[POVM]]. For self-consistency, the SPAM gates are treated on the same footing as the original gates. The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements. When these gates are applied to our unknown fixed state and measurement, a complete set of initial states and final state is produced. The experimental requirement for GST is the ability to measure the expectation values for the gate set.&lt;br /&gt;
&lt;br /&gt;
Two techniques are shown here, which are Linear inversion (LGST) and maximum likelihood estimation (MLE). The linear inversion protocol is fairly easy to implement numerically and is useful for providing quick diagnostics without resorting to more computationally intensive estimation via constrained optimization. The LGST estimate is not generally physical, the information obtained is somewhat qualitative, and hence MLE is preferred. LGST is a useful starting point for MLE. Since the starting point must be physical, while LGST is not, we should use the closest physical gate set to the LGST estimate. &lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* Initialize the qubit to a particular state. In most systems, the natural choice for this state is the ground state of the qubit.&lt;br /&gt;
* For a particular choice of SPAM gates and a gate from the Gate set, the corresponding gate sequence is applied to the qubit. As the SPAM gates are composed of the gates from the gate set, the sequence only contains the gates from the gate set.&lt;br /&gt;
* The 2-outcome POVM is measured. This POVM is required to be a positive semi-definite Hermitian operator. The natural choice for this POVM in most systems is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;. (Sometimes &amp;lt;math&amp;gt;|1\rangle\langle 1|&amp;lt;/math&amp;gt; is used)&lt;br /&gt;
* The above 1-3 steps are repeated a large number of times (10000 to 100000). For every repetition, the measurement is success (i.e., the measured state is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 1 and the measurement failure  (i.e., the measured state is not &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 0.&lt;br /&gt;
* The measurement results in the step above are averaged over the number of times the measurement was repeated and the expectation value is calculated.&lt;br /&gt;
* The above 1-5 steps are repeated for every SPAM gates and every gate in the gate set. This gives us the probability of all the possible gate set and SPAM gate combinations.&lt;br /&gt;
* Repeat steps 1-5 to measure the expectation values of only the SPAM gates. This is used to form a matrix known as the Gram matrix. If the first gate of the gate set is a null gate, then this step is not needed as this data already exists due to the step performed above.&lt;br /&gt;
* To find the gate set estimate from the measurement data, there are two techniques:&lt;br /&gt;
** Linear inversion method (LGST): &lt;br /&gt;
*** We should check that the gram matrix is invertible and after certain calculations with the inverted gram matrix, the gate set can be estimated. The LGST estimate is not generally physical, the information obtained is somewhat qualitative.&lt;br /&gt;
*** The gate set estimated in this way is in a different gauge from the actual gate set.  To compensate, we transform to a more useful gauge. Since we do not know the actual gate set, only the target one, the most useful gauge is the one that brings the estimated gate set as close as possible based, on some distance metric, to the target. The gauge transformation is found by solving an optimization problem and the resulting gauge matrix is then applied to the gate set found in the step above.&lt;br /&gt;
** Maximum likelihood estimation (MLE): LGST is a useful starting point for MLE. The goal in this method is to find the true probabilities corresponding to the measurements, subject to physical constraints. In this method, the best estimate is found by fitting to experimental data a theoretical model of the probability of obtaining that data.&lt;br /&gt;
*** This method begins by parameterizing the estimate, state and measurement matrices in terms of a vector of parameters. A number of constraints reduce the total number of independent parameters.&lt;br /&gt;
*** Putting everything together, the probability estimates are written in terms of the parameter vector and Depending on the parameterization choice each of the gates and states is either a linear or quadratic function of its parameters. Each of the gates and states is either a linear or quadratic function of its parameters. The estimator is, therefore, a homogeneous function of order 5 (linear parameterization) or 10 (quadratic parameterization).&lt;br /&gt;
*** MLE proceeds by finding the set of parameters that minimizes an objective function. The objective, or likelihood function, is the probability distribution we assume produced the data.&lt;br /&gt;
*** There are two kinds of parameterizations for gates that are commonly used:  The Pauli Process Matrix representation and The Pauli transfer Matrix Representation.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;: Gate set. &amp;lt;math&amp;gt;G = \{G_0, G_1, .. G_K\}&amp;lt;/math&amp;gt;. Generally &amp;lt;math&amp;gt;G_0 = {}&amp;lt;/math&amp;gt; null gate.  &lt;br /&gt;
* &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt;: SPAM gate set. &amp;lt;math&amp;gt;F = \{F_0, ... , F_N\}&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is composed of gates in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;: Initial quantum state. Generally the natural choice for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;: 2-outcome POVM.&lt;br /&gt;
* &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;: Number of times the measurement is repeated.&lt;br /&gt;
* &amp;lt;math&amp;gt;n_r&amp;lt;/math&amp;gt;: Result of &amp;lt;math&amp;gt;r^{th}&amp;lt;/math&amp;gt; measurement.&lt;br /&gt;
* &amp;lt;math&amp;gt;m_{ijk}&amp;lt;/math&amp;gt;: measurement of the expectation value &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;: Expectation value. &amp;lt;math&amp;gt;p_{ijk} = \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt;: Gram matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;B_{ij}&amp;lt;/math&amp;gt;: Gauge matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt;: Parameter vector&lt;br /&gt;
* &amp;lt;math&amp;gt;\hat{G}(\vec{t})&amp;lt;/math&amp;gt;: Parameterised estimate matrix. This has &amp;lt;math&amp;gt;d^4&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\hat{p}(\vec{t})\rangle&amp;lt;/math&amp;gt;: Parameterised state matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;\langle \hat{E}(\vec{t})|&amp;lt;/math&amp;gt;: Parameterised measurement matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt;: likelihood function.&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_{ijk}&amp;lt;/math&amp;gt;: The sampling variance in the measurement &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\sigma^2 = p(1-p)/n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi_G&amp;lt;/math&amp;gt;: Process matrix for gate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is defined in terms of the gate’s action on an arbitrary state &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; to produce a new state &amp;lt;math&amp;gt;G(p)&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G(p) = \sum_{i,j=1}^{d^2}(\chi_G)_{ij}P_i\rho P_j&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; is a  Hermitian positive semidefinite matrix, written in terms of &amp;lt;math&amp;gt;\chi = T^{\dagger}T&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;: a lower-diagonal complex matrix, &amp;lt;math&amp;gt;&lt;br /&gt;
         \hat{T}(t) = \begin{bmatrix}&lt;br /&gt;
             t_1 &amp;amp; 0 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             t_{2^n + 1} + it_{2^n+2} &amp;amp; t_2 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             ... &amp;amp; ... &amp;amp; ... &amp;amp; 0 \\ &lt;br /&gt;
             t_{4^n -1} + it_{4^n} &amp;amp;  t_{4^n -3} + it_{4^n - 2} &amp;amp;  t_{4^n - 5} + it_{4^n - 4} &amp;amp;  t_{2^n}&lt;br /&gt;
           \end{bmatrix}&lt;br /&gt;
     &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;P_i&amp;lt;/math&amp;gt;: Pauli operator &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; acting on the state&lt;br /&gt;
* &amp;lt;math&amp;gt;R_G&amp;lt;/math&amp;gt;: Pauli tranfer matrix for a gate G is defined in terms of the gate’s action on Pauli matrices. &amp;lt;math&amp;gt;(R_G)_{ij} = Tr\{P_iG(P_j)\}. |G(\rho)\rangle = R_G|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* Figure of merit: Gate set&lt;br /&gt;
* Multiple copies of the quantum state are required in this method.&lt;br /&gt;
* &amp;lt;math&amp;gt;E_j&amp;lt;/math&amp;gt; should be tomographically complete.&lt;br /&gt;
* In contrast to QPT, it is not possible in GST to characterize one gate at a time. Instead, GST estimates every gate in the gate set simultaneously.&lt;br /&gt;
* SPAM gates are included in the gate set for self-consistency.&lt;br /&gt;
* The limitation of linear-inversion GST (or LGST) is that it does not constrain the estimates to be physical. However, LGST provides a convenient method for diagnosing gate errors and also gives a good starting point for the constrained maximum likelihood estimation.&lt;br /&gt;
* In the gate set, the first gate is generally selected to be the null gate.&lt;br /&gt;
* The simulated errors are of three different types, representing coherent and incoherent gate errors as well as intrinsic SPAM errors.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Gate set, &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize system to &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., K&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** For &amp;lt;math&amp;gt;r = 1, 2, ..., n&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Apply gate sequence &amp;lt;math&amp;gt;F_i \circ G_k \circ F_j&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Measure with POVM &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;, get &amp;lt;math&amp;gt;n_r = 1&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;n_r = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;m_{ijk} = \sum_{r=1}^{n} \frac{n_r}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;(\tilde{G}_k)_{ij} = p_{ijk} = m_{ijk} =  \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
**** if &amp;lt;math&amp;gt;k==0&amp;lt;/math&amp;gt; (null gate), &amp;lt;math&amp;gt;g_{ij} = \langle E|F_iF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;|\tilde{\rho}\rangle_i = \langle E|F_i|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_{ij} = \langle i |F_j |\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Linear inversion:&lt;br /&gt;
** Check that the Gram matrix &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt; is non singular, so that it may be inverted&lt;br /&gt;
** For the gate set, the estimate is &amp;lt;math&amp;gt;|\hat{\rho}\rangle = g^{-1}|\tilde{\rho}\rangle, \langle \hat{E}| = \langle \tilde{E} |, \hat{G_k} = g^{-1} \tilde{G}_k&amp;lt;/math&amp;gt;&lt;br /&gt;
** Apply gauge optimization, by minimizing:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;\hat{B}^* = argmin_{\hat{B}}\sum^{K+1}_{k=1}Tr\{(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})^T(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Final gate set is: &amp;lt;math&amp;gt;\hat{G}_k^{*} = \hat{B}^*\hat{G}_k(\hat{B}^*)^{-1}, |\hat{p}^*\rangle = \hat{B}^*|\hat{p}\rangle, \langle \hat{E}^*| = \langle \hat{E}|(\hat{B}^*)^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Maximum Likelihood Estimation:&lt;br /&gt;
** &amp;lt;math&amp;gt;\hat{p}_{ijk} = \langle \hat{E}(\vec{t})|\hat{F}_i(\vec{t})\hat{G}_k(\vec{t})\hat{F}_j(\vec{t})|\hat{\rho}(\vec{t})\rangle&amp;lt;/math&amp;gt; &lt;br /&gt;
**  Find the set of parameters &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt; is minimized.&lt;br /&gt;
           &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
               l(\hat{G}) = \sum_{ijk} (m_{ijk} - \hat{p}_{ijk}(\vec{t}))^2 / \sigma^2_{ijk}&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Minimize the above function with two different commonly used types of parameterisation of gates:&lt;br /&gt;
*** Pauli Process Matrix Optimization problem:&lt;br /&gt;
       &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \sum_{mnrstu}(\chi_{F_i})_{tu}  (\chi_{G_k})_{rs} (\chi_{F_j})_{mn} Tr\{EP_t P_r P_m \rho P_n P_s P_u\} )^2 / \sigma^2_{ijk}&lt;br /&gt;
      &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \sum_{mn}(\chi_G)_{mn}Tr\{P_mP_rP_n\} - \delta_{0r} = 0, (r = 1, .. , d^2), \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
*** Pauli Transfer Matrix Representation&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;   Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \langle \hat{E}(\vec{t})|\hat{R}_{F_i}(\vec{t})\hat{R}_{G_k}(\vec{t})\hat{R}_{F_j}(\vec{t})|\hat{\rho}(\vec{t})\rangle )^2 / \sigma^2_{ijk}&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \rho_G = \frac{1}{d^2} \sum_{i,j=1}^{d^2}(R_G)_{ij}P^T_G \otimes P_i \geqslant 0, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{0i} = \delta_{0i}, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{ij} \in [-1, 1], \forall G, i, j&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
              &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
==Related Papers== &lt;br /&gt;
* Daniel Greenbaum (2015) arXiv:1509.02921v1: Introduction to Quantum Gate Set Tomography&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4296</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4296"/>
		<updated>2020-05-31T08:04:05Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Functionality Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses [[Robust characterization of loss rates]], leakage [[Robust characterization of leakage errors]], addressibility [[Characterization of addressability by randomized benchmarking]] or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Characterization of addressability by randomized benchmarking]]&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
* [[Randomised Benchmarking with confidence]]&lt;br /&gt;
* [[Robust characterization of leakage errors]]&lt;br /&gt;
* [[Robust characterization of loss rates]]&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The figure of merits in different protocols are: average error rate, average fidelity of a noise quantum circuit, unitarity, measures for losses, leakage, addressibility and cross-talk.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4295</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4295"/>
		<updated>2020-05-31T08:02:58Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Protocols */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses [[Robust characterization of loss rates]], leakage [[Robust characterization of leakage errors]], addressibility [[	Characterization of addressability by randomized benchmarking]] or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Characterization of addressability by randomized benchmarking]]&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
* [[Randomised Benchmarking with confidence]]&lt;br /&gt;
* [[Robust characterization of leakage errors]]&lt;br /&gt;
* [[Robust characterization of loss rates]]&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The figure of merits in different protocols are: average error rate, average fidelity of a noise quantum circuit, unitarity, measures for losses, leakage, addressibility and cross-talk.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4294</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4294"/>
		<updated>2020-05-31T08:02:00Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Functionality Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses [[Robust characterization of loss rates]], leakage [[Robust characterization of leakage errors]], addressibility [[	Characterization of addressability by randomized benchmarking]] or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The figure of merits in different protocols are: average error rate, average fidelity of a noise quantum circuit, unitarity, measures for losses, leakage, addressibility and cross-talk.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4293</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4293"/>
		<updated>2020-05-31T08:01:14Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses, leakage, addressibility and cross-talk or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The figure of merits in different protocols are: average error rate, average fidelity of a noise quantum circuit, unitarity, measures for losses, leakage, addressibility and cross-talk.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4292</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4292"/>
		<updated>2020-05-31T07:57:50Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Building Trust]]||[[Self verification]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Cross-Platform verification of Intermediate Scale Quantum Devices]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Estimate average Fidelity of quantum gates]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for multi-partite entangled states]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Gaussian bosonic]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Ground States of local Hamiltonians]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Learning Techniques]]||[[Probably Approximately Correctly Learning (PAC)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust online Hamiltonian learning]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;7&amp;quot;|[[Randomised Benchmarking]]||[[Characterization of addressability by randomized benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Randomised Benchmarking with confidence]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust characterization of leakage errors]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust characterization of loss rates]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Many-body quantum state tomography with neural networks]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4291</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4291"/>
		<updated>2020-05-31T07:52:17Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Protocols */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses, leakage, addressibility and cross-talk or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The noise model is assumed to be IID.&lt;br /&gt;
* This method is insensitive to the SPAM errors&lt;br /&gt;
* The figure of merit is average error rate, average fidelity of a noise quantum circuit.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4290</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4290"/>
		<updated>2020-05-31T07:51:48Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Functionality Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified with the sequence length leading&lt;br /&gt;
&lt;br /&gt;
From a pragmatic point of view, RB protocols thereby define benchmarks that can be used to compare different digital quantum devices.In important instances ([[Standard Randomised Benchmarking]]), the benchmark can be related to the average gate fidelity, rendering RB protocols flexible certification tools. To this end, a group structure of the gate set is made use to achieve two goals: On the one hand, this is to control the theoretical prediction of error-free sequences. &lt;br /&gt;
&lt;br /&gt;
RB is most prominently considered for Clifford gates and has been extended to other finite groups. Assumptions on having identical noise levels per gate have been lessened ([[Standard Randomised Benchmarking]]) and [[Randomised Benchmarking with confidence]] introduced.  RB schemes have been generalized to other measures of quality, such as relative average gate fidelities ([[Interleaved Randomised Benchmarking]]), the unitarity [[Purity Benchmarking]], measures for losses, leakage, addressibility and cross-talk or even tomographic schemes that combine data from multiple RB experiment.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The noise model is assumed to be IID.&lt;br /&gt;
* This method is insensitive to the SPAM errors&lt;br /&gt;
* The figure of merit is average error rate, average fidelity of a noise quantum circuit.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4289</id>
		<title>Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Randomised_Benchmarking&amp;diff=4289"/>
		<updated>2020-05-30T19:23:45Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
Randomized benchmarking refers to a collection of methods that aim to reliably estimating the magnitude of an average error of a quantum gate set in a robust fashion against state preparation and measurement error. One key [[figure of merit]] here is average gate fidelity. It achieves this goal by applying sequences of feasible quantum gates of varying length, so that small errors are amplified leading to reliable estimation.&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Standard Randomised Benchmarking]]&lt;br /&gt;
* [[Interleaved Randomised Benchmarking]]&lt;br /&gt;
* [[Purity Benchmarking]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* The noise model is assumed to be IID.&lt;br /&gt;
* This method is insensitive to the SPAM errors&lt;br /&gt;
* The figure of merit is average error rate, average fidelity of a noise quantum circuit.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4288</id>
		<title>Cross-Platform verification of Intermediate Scale Quantum Devices</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4288"/>
		<updated>2020-05-30T19:18:57Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This [https://arxiv.org/abs/1909.01282 protocol] is used to perform cross-platform verification of quantum simulators and quantum computers. This is used to directly measure the overlap and purities of two quantum states prepared in two different physical platforms and thus used to measure the fidelity of two possibly mixed states. This protocol infers the cross-platform fidelity of two quantum states from statistical correlations between the randomized measurements performed on the two different devices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[Cross-Platform Fidelity]], [[Building Trust]], [[Two devices]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* There are no prior assumptions on the quantum states.&lt;br /&gt;
* The spin values for the two quantum devices are known.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The aim here to perform cross-platform verification by measuring the overlap of quantum states produced with two different experimental setups, potentially realized on very different physical platforms, without any  prior assumptions on the quantum states themselves. This can be used to&lt;br /&gt;
whether two quantum devices have prepared the same quantum state. Here, the cross-platform fidelity is inferred from the statistical correlations between randomized measurements performed on the first and second device. &lt;br /&gt;
&lt;br /&gt;
This protocol to measure the cross-platform fidelity of two quantum states requires only classical communication of random unitaries and measurement outcomes between the two platforms, with the experiments possibly taking place at very different points in time and space.&lt;br /&gt;
&lt;br /&gt;
This protocol consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* We start with two quantum devices which are based on different physical platforms, each consisting of two different spins. Two quantum operations are prepared in these quantum devices, which are each described by a density matrix.&lt;br /&gt;
* We find the reduced density matrices for the sub-systems of identical size for each device using partial trace operator over that sub-system. &lt;br /&gt;
* We apply a same random unitary is applied to the two quantum states. This random unitary is defined as the product of local random unitaries acting on all spins of the subsystem. Here, the local random unitaries are sampled independently from a [[unitary 2-design]] defined on the local Hilbert space and sent via classical communication to both devices.&lt;br /&gt;
* Now projective measurements in a computational basis are performed for both the systems.&lt;br /&gt;
* Repeating these measurements for the fixed random unitary provides us with the estimates of probability of measurement outcomes for the both the states.&lt;br /&gt;
* This entire procedure is then repeated for many different random unitaries.&lt;br /&gt;
* Finally we estimate the density matrix from the second order cross-correlations between the two platforms using the ensemble average of probabilities over random unitaries from the above procedure. &lt;br /&gt;
* The purities for the two sub systems are obtained as second-order auto-correlations of the probabilities.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;: Finite  number  of  projective  measurements  performed per  random  unitary&lt;br /&gt;
* &amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;: Finite  number of random unitaries used to infer overlap&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: Fixed value of statistical error&lt;br /&gt;
* &amp;lt;math&amp;gt;S_1, S_2&amp;lt;/math&amp;gt;: Two devices realised on different physical platforms&lt;br /&gt;
* &amp;lt;math&amp;gt;N_1, N_2&amp;lt;/math&amp;gt;: Spins consisted in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;U_1, U_2&amp;lt;/math&amp;gt;: Quantum operation prepared in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_1, \rho_2&amp;lt;/math&amp;gt;: Density matrices of &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt;: Reduced density matrices&lt;br /&gt;
* &amp;lt;math&amp;gt;A_i&amp;lt;/math&amp;gt;: Sub system of identical size &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;A_i \subseteq S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt;: Size of subset &amp;lt;math&amp;gt;A_i&amp;lt;/math&amp;gt;. Subsets &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A_2&amp;lt;/math&amp;gt; have the equal size &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;D_A&amp;lt;/math&amp;gt;: Associated Hilbert space dimension, &amp;lt;math&amp;gt;D_A = d^{N_A}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;U_A&amp;lt;/math&amp;gt;: Random unitary&lt;br /&gt;
* &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;: Local random unitaries acting on spins &amp;lt;math&amp;gt;k=1, .., N_A&amp;lt;/math&amp;gt;. Here, the &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; are sampled independently from a [[unitary 2-design]] defined on the local Hilbert space &amp;lt;math&amp;gt;C^d&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Spin&lt;br /&gt;
* &amp;lt;math&amp;gt;|s_A \rangle&amp;lt;/math&amp;gt;: This denotes a string of possible measurement outcomes for spins. &amp;lt;math&amp;gt;|s_A \rangle =|s_1, ..., S_{N_A} \rangle &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;P_U^{(i)}&amp;lt;/math&amp;gt;: Estimate of probabilities of measurement outcome for different spins.&lt;br /&gt;
* &amp;lt;math&amp;gt;\overline{P_U^{(i)}(s_A)}&amp;lt;/math&amp;gt;: The ensemble average over random unitaries of the form &amp;lt;math&amp;gt;U_A&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;D[s_A, s_A&#039;]&amp;lt;/math&amp;gt;:  Hamming distance between two strings &amp;lt;math&amp;gt;s_A, s_A&#039;&amp;lt;/math&amp;gt; is defined as the number of spins where &amp;lt;math&amp;gt;s_k \neq s_k&#039;&amp;lt;/math&amp;gt; i.e. &amp;lt;math&amp;gt;D[s_A,s_A&#039;] = |\{k \in \{ 1, .., N_A\}| s_k \neq s_k&#039;\}|&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{max}(\rho_1, \rho_2)&amp;lt;/math&amp;gt;: Cross platform fidelity between two quantum states&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Two quantum devices on two different physical platforms&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
* Classical communication channel&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Cross-platform fidelity of two quantum states&lt;br /&gt;
* We can estimate the density matrix overlap of two quantum states here as well as their purities.&lt;br /&gt;
* The present protocol scales, although exponentially, much more favorably with the (sub)system size, allowing practical cross-platform verification for (sub)systems involving tens of qubits on state-of-the-art quantum devices.&lt;br /&gt;
* This protocol can be used to perform fidelity estimation towards known target theoretical states, as an experiment-theory comparison.&lt;br /&gt;
* In practice, from a finite number of projective measurements performed per random unitary (&amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;), a statistical error of the estimated fidelity arises. With that, a finite number (&amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;) of random unitaries used to infer overlap and purities can also cause a  statistical error while estimating fidelity. Therefore, the scaling of the total number of experimental runs &amp;lt;math&amp;gt;N_MN_U&amp;lt;/math&amp;gt;, which are required to reduce this statistical error below a fixed value of &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
* In the regime &amp;lt;math&amp;gt;N_M \leq D_A&amp;lt;/math&amp;gt;  and &amp;lt;math&amp;gt;N_U \gg 1&amp;lt;/math&amp;gt;, the average statistical error &amp;lt;math&amp;gt;|[F_{max}(\rho_A, \rho_A)]_e - 1| ~ 1/(N_M \sqrt{N_U})&amp;lt;/math&amp;gt;. For unit target fidelity, the optimal allocation of the total measurement budget &amp;lt;math&amp;gt;N_U N_M&amp;lt;/math&amp;gt; is thus to keep &amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt; small and fixed.&lt;br /&gt;
* The fidelity estimation of PR (entangled) states is thus less prone to statistical errors which we attribute to the fact that fluctuations across random unitaries are reduced due to the mixedness of the subsystems.&lt;br /&gt;
* The optimal allocation of &amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt; vs. &amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt; for given &amp;lt;math&amp;gt;N_UN_M&amp;lt;/math&amp;gt; depends on the quantum states, in particular their fidelity and the allowed statistical error &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;,and is thus a priori not known&lt;br /&gt;
* In larger quantum systems, it gives access to the fidelities of all possible subsystems up to a given size – determined by the accepted statistical error and the measurement budget – and thus enables a fine-grained comparison of large quantum systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;S_1, S_2&amp;lt;/math&amp;gt; with spins &amp;lt;math&amp;gt;N_1, N_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cross platform fidelity &amp;lt;math&amp;gt;F_{max}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prepare &amp;lt;math&amp;gt;U_1, U_2&amp;lt;/math&amp;gt; with density matrices &amp;lt;math&amp;gt;\rho_1, \rho_2&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively. &lt;br /&gt;
* Denote &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;D_A&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;tr_{S_i / A_i} (\rho_i)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A_i \subseteq S_i (i = 1,2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, ...., N_u&amp;lt;/math&amp;gt;&lt;br /&gt;
** For spin &amp;lt;math&amp;gt;k= 1, ..., N_A&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** Sample &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; independently from a [[unitary 2-design]]&lt;br /&gt;
*** Send &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; classically to &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;i= 1,2&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** Apply &amp;lt;math&amp;gt;U_A = \bigotimes_{k=1}^{N_A}U_k&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;1, ..., N_M&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Perform projective measurements in a computational basis in &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Obtain &amp;lt;math&amp;gt;|s_A \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Get estimates of probabilities &amp;lt;math&amp;gt;P_U^{(i)}(s_A) = Tr_{A_i}[U_A \rho_{i,A_i}U^{\dagger}_A |s_A\rangle\langle s_A|]&amp;lt;/math&amp;gt;&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;\overline{P_U^{(i)}(s_A)}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{P_U^{(j)}(s_A)}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Define Tr&amp;lt;math&amp;gt;[\rho_{i, A_i}, \rho_{j, A_j}] = d^{N_A}\sum_{s_A,s_A&#039;} (-d)^{-D[s_A, s_A&#039;]}\overline{P_U^{(i)}(s_A)P_U^{(j)}(s_A&#039;)}&amp;lt;/math&amp;gt;&lt;br /&gt;
* For density matrix overlap:&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i = 1, j = 2&amp;lt;/math&amp;gt;, to get Tr&amp;lt;math&amp;gt;[\rho_{1, A_1}, \rho_{2, A_2}]&amp;lt;/math&amp;gt;&lt;br /&gt;
* For the purities of the quantum states:&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i =j = 1&amp;lt;/math&amp;gt; for Tr&amp;lt;math&amp;gt;\rho_{1, A_1}^2&amp;lt;/math&amp;gt;&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i =j = 2&amp;lt;/math&amp;gt; for Tr&amp;lt;math&amp;gt;\rho_{2, A_2}^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;F_{max}&amp;lt;/math&amp;gt; using: &amp;lt;math&amp;gt;F_{max} = \frac{Tr[\rho_{1, A_1}, \rho_{2, A_2}]}{max\{Tr\rho_{1, A_1}^2, Tr\rho_{2, A_2}^2\}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* In principle, the cross-platform fidelity can be determined from full quantum state tomography of the two quantum devices. However due to the exponential scaling with the (sub)system size, this approach is limited to only a few degrees of freedom, In contrast, as demonstrated below, the present protocol scales, although exponentially, much more favorably with the (sub)system size, allowing practical cross-platform verification for (sub)systems involving tens of qubits on state-of-the-art quantum devices.&lt;br /&gt;
* Significantly fewer measurements are required here than full quantum state tomography.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* A.Elben et al (2020) arXiv:1909.01282: Cross-Platform Verification of Intermediate Scale Quantum Devices&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4287</id>
		<title>Cross-Platform verification of Intermediate Scale Quantum Devices</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4287"/>
		<updated>2020-05-30T17:38:52Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This [https://arxiv.org/abs/1909.01282 protocol] is used to perform cross-platform verification of quantum simulators and quantum computers. This is used to directly measure the overlap and purities of two quantum states prepared in two different physical platforms and thus used to measure the fidelity of two possibly mixed states. This protocol infers the cross-platform fidelity of two quantum states from statistical correlations between the randomized measurements performed on the two different devices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[Cross-Platform Fidelity]], [[Building Trust]], [[Two devices]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* There are no prior assumptions on the quantum states.&lt;br /&gt;
* The spin values for the two quantum devices are known.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The aim here to perform cross-platform verification by measuring the overlap of quantum states produced with two different experimental setups, potentially realized on very different physical platforms, without any  prior assumptions on the quantum states themselves. This can be used to&lt;br /&gt;
whether two quantum devices have prepared the same quantum state. Here, the cross-platform fidelity is inferred from the statistical correlations between randomized measurements performed on the first and second device. &lt;br /&gt;
&lt;br /&gt;
This protocol to measure the cross-platform fidelity of two quantum states requires only classical communication of random unitaries and measurement outcomes between the two platforms, with the experiments possibly taking place at very different points in time and space.&lt;br /&gt;
&lt;br /&gt;
This protocol consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* We start with two quantum devices which are based on different physical platforms, each consisting of two different spins. Two quantum operations are prepared in these quantum devices, which are each described by a density matrix.&lt;br /&gt;
* We find the reduced density matrices for the sub-systems of identical size for each device using partial trace operator over that sub-system. &lt;br /&gt;
* We apply a same random unitary is applied to the two quantum states. This random unitary is defined as the product of local random unitaries acting on all spins of the subsystem. Here, the local random unitaries are sampled independently from a [[unitary 2-design]] defined on the local Hilbert space and sent via classical communication to both devices.&lt;br /&gt;
* Now projective measurements in a computational basis are performed for both the systems.&lt;br /&gt;
* Repeating these measurements for the fixed random unitary provides us with the estimates of probability of measurement outcomes for the both the states.&lt;br /&gt;
* This entire procedure is then repeated for many different random unitaries.&lt;br /&gt;
* Finally we estimate the density matrix from the second order cross-correlations between the two platforms using the ensemble average of probabilities over random unitaries from the above procedure. &lt;br /&gt;
* The purities for the two sub systems are obtained as second-order auto-correlations of the probabilities.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;: Finite  number  of  projective  measurements  performed per  random  unitary&lt;br /&gt;
* &amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;: Finite  number of random unitaries used to infer overlap&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: Fixed value of statistical error&lt;br /&gt;
* &amp;lt;math&amp;gt;S_1, S_2&amp;lt;/math&amp;gt;: Two devices realised on different physical platforms&lt;br /&gt;
* &amp;lt;math&amp;gt;N_1, N_2&amp;lt;/math&amp;gt;: Spins consisted in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;U_1, U_2&amp;lt;/math&amp;gt;: Quantum operation prepared in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_1, \rho_2&amp;lt;/math&amp;gt;: Density matrices of &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt;: Reduced density matrices&lt;br /&gt;
* &amp;lt;math&amp;gt;A_i&amp;lt;/math&amp;gt;: Sub system of identical size &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;A_i \subseteq S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt;: Size of subset &amp;lt;math&amp;gt;A_i&amp;lt;/math&amp;gt;. Subsets &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A_2&amp;lt;/math&amp;gt; have the equal size &amp;lt;math&amp;gt;N_{A}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;D_A&amp;lt;/math&amp;gt;: Associated Hilbert space dimension, &amp;lt;math&amp;gt;D_A = d^{N_A}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;U_A&amp;lt;/math&amp;gt;: Random unitary&lt;br /&gt;
* &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;: Local random unitaries acting on spins &amp;lt;math&amp;gt;k=1, .., N_A&amp;lt;/math&amp;gt;. Here, the &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; are sampled independently from a [[unitary 2-design]] defined on the local Hilbert space &amp;lt;math&amp;gt;C^d&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Spin&lt;br /&gt;
* &amp;lt;math&amp;gt;|s_A \rangle&amp;lt;/math&amp;gt;: This denotes a string of possible measurement outcomes for spins. &amp;lt;math&amp;gt;|s_A \rangle =|s_1, ..., S_{N_A} \rangle &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;P_U^{(i)}&amp;lt;/math&amp;gt;: Estimate of probabilities of measurement outcome for different spins.&lt;br /&gt;
* &amp;lt;math&amp;gt;\overline{P_U^{(i)}(s_A)}&amp;lt;/math&amp;gt;: The ensemble average over random unitaries of the form &amp;lt;math&amp;gt;U_A&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;D[s_A, s_A&#039;]&amp;lt;/math&amp;gt;:  Hamming distance between two strings &amp;lt;math&amp;gt;s_A, s_A&#039;&amp;lt;/math&amp;gt; is defined as the number of spins where &amp;lt;math&amp;gt;s_k \neq s_k&#039;&amp;lt;/math&amp;gt; i.e. &amp;lt;math&amp;gt;D[s_A,s_A&#039;] = |\{k \in \{ 1, .., N_A\}| s_k \neq s_k&#039;\}|&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{max}(\rho_1, \rho_2)&amp;lt;/math&amp;gt;: Cross platform fidelity between two quantum states&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Two quantum devices on two different physical platforms&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
* Classical communication channel&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Cross-platform fidelity of two quantum states&lt;br /&gt;
* We can estimate the density matrix overlap of two quantum states here as well as their purities.&lt;br /&gt;
* The present protocol scales, although exponentially, much more favorably with the (sub)system size, allowing practical cross-platform verification for (sub)systems involving tens of qubits on state-of-the-art quantum devices.&lt;br /&gt;
* This protocol can be used to perform fidelity estimation towards known target theoretical states, as an experiment-theory comparison.&lt;br /&gt;
* In practice, from a finite number of projective measurements performed per random unitary (&amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;), a statistical error of the estimated fidelity arises. With that, a finite number (&amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;) of random unitaries used to infer overlap and purities can also cause a  statistical error while estimating fidelity. Therefore, the scaling of the total number of experimental runs &amp;lt;math&amp;gt;N_MN_U&amp;lt;/math&amp;gt;, which are required to reduce this statistical error below a fixed value of &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;S_1, S_2&amp;lt;/math&amp;gt; with spins &amp;lt;math&amp;gt;N_1, N_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cross platform fidelity &amp;lt;math&amp;gt;F_{max}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Prepare &amp;lt;math&amp;gt;U_1, U_2&amp;lt;/math&amp;gt; with density matrices &amp;lt;math&amp;gt;\rho_1, \rho_2&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively. &lt;br /&gt;
* Denote &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;D_A&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;tr_{S_i / A_i} (\rho_i)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A_i \subseteq S_i (i = 1,2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, ...., N_u&amp;lt;/math&amp;gt;&lt;br /&gt;
** For spin &amp;lt;math&amp;gt;k= 1, ..., N_A&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** Sample &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; independently from a [[unitary 2-design]]&lt;br /&gt;
*** Send &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt; classically to &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;i= 1,2&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** Apply &amp;lt;math&amp;gt;U_A = \bigotimes_{k=1}^{N_A}U_k&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\rho_{i,A_i}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;1, ..., N_M&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Perform projective measurements in a computational basis in &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Obtain &amp;lt;math&amp;gt;|s_A \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Get estimates of probabilities &amp;lt;math&amp;gt;P_U^{(i)}(s_A) = Tr_{A_i}[U_A \rho_{i,A_i}U^{\dagger}_A |s_A\rangle\langle s_A|]&amp;lt;/math&amp;gt;&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;\overline{P_U^{(i)}(s_A)}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\overline{P_U^{(j)}(s_A)}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Define Tr&amp;lt;math&amp;gt;[\rho_{i, A_i}, \rho_{j, A_j}] = d^{N_A}\sum_{s_A,s_A&#039;} (-d)^{-D[s_A, s_A&#039;]}\overline{P_U^{(i)}(s_A)P_U^{(j)}(s_A&#039;)}&amp;lt;/math&amp;gt;&lt;br /&gt;
* For density matrix overlap:&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i = 1, j = 2&amp;lt;/math&amp;gt;, to get Tr&amp;lt;math&amp;gt;[\rho_{1, A_1}, \rho_{2, A_2}]&amp;lt;/math&amp;gt;&lt;br /&gt;
* For the purities of the quantum states:&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i =j = 1&amp;lt;/math&amp;gt; for Tr&amp;lt;math&amp;gt;\rho_{1, A_1}^2&amp;lt;/math&amp;gt;&lt;br /&gt;
** Substitute &amp;lt;math&amp;gt;i =j = 2&amp;lt;/math&amp;gt; for Tr&amp;lt;math&amp;gt;\rho_{2, A_2}^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;F_{max}&amp;lt;/math&amp;gt; using: &amp;lt;math&amp;gt;F_{max} = \frac{Tr[\rho_{1, A_1}, \rho_{2, A_2}]}{max\{Tr\rho_{1, A_1}^2, Tr\rho_{2, A_2}^2\}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* In principle, the cross-platform fidelity can be determined from full quantum state tomography of the two quantum devices. However due to the exponential scaling with the (sub)system size, this approach is limited to only a few degrees of freedom, In contrast, as demonstrated below, the present protocol scales, although exponentially, much more favorably with the (sub)system size, allowing practical cross-platform verification for (sub)systems involving tens of qubits on state-of-the-art quantum devices.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* A.Elben et al (2020) arXiv:1909.01282: Cross-Platform Verification of Intermediate Scale Quantum Devices&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4286</id>
		<title>Quantum Gate Set Tomography</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Gate_Set_Tomography&amp;diff=4286"/>
		<updated>2020-05-30T13:51:15Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quantum gate set tomography is a robust and powerful method for self-consistently characterizing an entire set of quantum logic gates on a black-box quantum device.  This method arose from the observation that [[Quantum Process tomography]] is inaccurate in the presence of state preparation and measurement errors. This procedure estimates the complete process matrices of Pauli transfer matrices for the gate set based on experimental data.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Tomography]], [[Quantum process density matrix reconstruction]], [[Maximum Likelihood estimation]], [[Linear Inversion]], [[Gate set]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The selected measurement basis should be tomographically complete. &lt;br /&gt;
* For the calculation of the likelihood function we assume that the noise on the coincidence measurements has a Gaussian probability distribution. We also assume that each of our measurements is taken for the same amount of time.&lt;br /&gt;
* The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements.&lt;br /&gt;
* In the gate set, the first gate is always selected to be the null gate.&lt;br /&gt;
* We assume no knowledge about the gate set.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
[[Quantum state tomography]] and [[Quantum process tomography]] assume that the initial states and measurements are known. But if the [[state preparation and measurement]] (SPAM) gates are faulty then the estimates provided using these techniques are faulty as well. Quantum gate set tomography solves this problem by including the SPAM gates self-consistently in the gate set to be estimated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The goal of this method is to completely characterize a gate set, which includes an unknown set of gates and an initial state and 2-outcome [[POVM]]. For self-consistency, the SPAM gates are treated on the same footing as the original gates. The SPAM gates are composed of gates in the gate set and therefore the minimal gate set must include sufficient gates to create a complete set of states and measurements. When these gates are applied to our unknown fixed state and measurement, a complete set of initial states and final state is produced. The experimental requirement for GST is the ability to measure the expectation values for the gate set.&lt;br /&gt;
&lt;br /&gt;
Two techniques are shown here, which are Linear inversion (LGST) and maximum likelihood estimation (MLE). The linear inversion protocol is fairly easy to implement numerically and is useful for providing quick diagnostics without resorting to more computationally intensive estimation via constrained optimization. The LGST estimate is not generally physical, the information obtained is somewhat qualitative, and hence MLE is preferred. LGST is a useful starting point for MLE. Since the starting point must be physical, while LGST is not, we should use the closest physical gate set to the LGST estimate. &lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* Initialize the qubit to a particular state. In most systems, the natural choice for this state is the ground state of the qubit.&lt;br /&gt;
* For a particular choice of SPAM gates and a gate from the Gate set, the corresponding gate sequence is applied to the qubit. As the SPAM gates are composed of the gates from the gate set, the sequence only contains the gates from the gate set.&lt;br /&gt;
* The 2-outcome POVM is measured. This POVM is required to be a positive semi-definite Hermitian operator. The natural choice for this POVM in most systems is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;. (Sometimes &amp;lt;math&amp;gt;|1\rangle\langle 1|&amp;lt;/math&amp;gt; is used)&lt;br /&gt;
* The above 1-3 steps are repeated a large number of times (10000 to 100000). For every repetition, the measurement is success (i.e., the measured state is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 1 and the measurement failure  (i.e., the measured state is not &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;) is recorded as 0.&lt;br /&gt;
* The measurement results in the step above are averaged over the number of times the measurement was repeated and the expectation value is calculated.&lt;br /&gt;
* The above 1-5 steps are repeated for every SPAM gates and every gate in the gate set. This gives us the probability of all the possible gate set and SPAM gate combinations.&lt;br /&gt;
* Repeat steps 1-5 to measure the expectation values of only the SPAM gates. This is used to form a matrix known as the Gram matrix. If the first gate of the gate set is a null gate, then this step is not needed as this data already exists due to the step performed above.&lt;br /&gt;
* To find the gate set estimate from the measurement data, there are two techniques:&lt;br /&gt;
** Linear inversion method (LGST): &lt;br /&gt;
*** We should check that the gram matrix is invertible and after certain calculations with the inverted gram matrix, the gate set can be estimated. The LGST estimate is not generally physical, the information obtained is somewhat qualitative.&lt;br /&gt;
*** The gate set estimated in this way is in a different gauge from the actual gate set.  To compensate, we transform to a more useful gauge. Since we do not know the actual gate set, only the target one, the most useful gauge is the one that brings the estimated gate set as close as possible based, on some distance metric, to the target. The gauge transformation is found by solving an optimization problem and the resulting gauge matrix is then applied to the gate set found in the step above.&lt;br /&gt;
** Maximum likelihood estimation (MLE): LGST is a useful starting point for MLE. The goal in this method is to find the true probabilities corresponding to the measurements, subject to physical constraints. In this method, the best estimate is found by fitting to experimental data a theoretical model of the probability of obtaining that data.&lt;br /&gt;
*** This method begins by parameterizing the estimate, state and measurement matrices in terms of a vector of parameters. A number of constraints reduce the total number of independent parameters.&lt;br /&gt;
*** Putting everything together, the probability estimates are written in terms of the parameter vector and Depending on the parameterization choice each of the gates and states is either a linear or quadratic function of its parameters. Each of the gates and states is either a linear or quadratic function of its parameters. The estimator is, therefore, a homogeneous function of order 5 (linear parameterization) or 10 (quadratic parameterization).&lt;br /&gt;
*** MLE proceeds by finding the set of parameters that minimizes an objective function. The objective, or likelihood function, is the probability distribution we assume produced the data.&lt;br /&gt;
*** There are two kinds of parameterizations for gates that are commonly used:  The Pauli Process Matrix representation and The Pauli transfer Matrix Representation.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;: Gate set. &amp;lt;math&amp;gt;G = \{G_0, G_1, .. G_K\}&amp;lt;/math&amp;gt;. Generally &amp;lt;math&amp;gt;G_0 = {}&amp;lt;/math&amp;gt; null gate.  &lt;br /&gt;
* &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt;: SPAM gate set. &amp;lt;math&amp;gt;F = \{F_0, ... , F_N\}&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is composed of gates in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;: Initial quantum state. Generally the natural choice for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;|0\rangle\langle 0|&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;: 2-outcome POVM.&lt;br /&gt;
* &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;: Number of times the measurement is repeated.&lt;br /&gt;
* &amp;lt;math&amp;gt;n_r&amp;lt;/math&amp;gt;: Result of &amp;lt;math&amp;gt;r^{th}&amp;lt;/math&amp;gt; measurement.&lt;br /&gt;
* &amp;lt;math&amp;gt;m_{ijk}&amp;lt;/math&amp;gt;: measurement of the expectation value &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{ijk}&amp;lt;/math&amp;gt;: Expectation value. &amp;lt;math&amp;gt;p_{ijk} = \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt;: Gram matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;B_{ij}&amp;lt;/math&amp;gt;: Gauge matrix&lt;br /&gt;
* &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt;: Parameter vector&lt;br /&gt;
* &amp;lt;math&amp;gt;\hat{G}(\vec{t})&amp;lt;/math&amp;gt;: Parameterised estimate matrix. This has &amp;lt;math&amp;gt;d^4&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\hat{p}(\vec{t})\rangle&amp;lt;/math&amp;gt;: Parameterised state matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;\langle \hat{E}(\vec{t})|&amp;lt;/math&amp;gt;: Parameterised measurement matrix. This has &amp;lt;math&amp;gt;d^2&amp;lt;/math&amp;gt; parameters.&lt;br /&gt;
* &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt;: likelihood function.&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_{ijk}&amp;lt;/math&amp;gt;: The sampling variance in the measurement &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\sigma^2 = p(1-p)/n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi_G&amp;lt;/math&amp;gt;: Process matrix for gate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is defined in terms of the gate’s action on an arbitrary state &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; to produce a new state &amp;lt;math&amp;gt;G(p)&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;G(p) = \sum_{i,j=1}^{d^2}(\chi_G)_{ij}P_i\rho P_j&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; is a  Hermitian positive semidefinite matrix, written in terms of &amp;lt;math&amp;gt;\chi = T^{\dagger}T&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;: a lower-diagonal complex matrix, &amp;lt;math&amp;gt;&lt;br /&gt;
         \hat{T}(t) = \begin{bmatrix}&lt;br /&gt;
             t_1 &amp;amp; 0 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             t_{2^n + 1} + it_{2^n+2} &amp;amp; t_2 &amp;amp; ... &amp;amp; 0 \\&lt;br /&gt;
             ... &amp;amp; ... &amp;amp; ... &amp;amp; 0 \\ &lt;br /&gt;
             t_{4^n -1} + it_{4^n} &amp;amp;  t_{4^n -3} + it_{4^n - 2} &amp;amp;  t_{4^n - 5} + it_{4^n - 4} &amp;amp;  t_{2^n}&lt;br /&gt;
           \end{bmatrix}&lt;br /&gt;
     &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;P_i&amp;lt;/math&amp;gt;: Pauli operator &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; acting on the state&lt;br /&gt;
* &amp;lt;math&amp;gt;R_G&amp;lt;/math&amp;gt;: Pauli tranfer matrix for a gate G is defined in terms of the gate’s action on Pauli matrices. &amp;lt;math&amp;gt;(R_G)_{ij} = Tr\{P_iG(P_j)\}. |G(\rho)\rangle = R_G|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* Figure of merit: Gate set&lt;br /&gt;
* Multiple copies of the quantum state are required in this method.&lt;br /&gt;
* &amp;lt;math&amp;gt;E_j&amp;lt;/math&amp;gt; should be tomographically complete.&lt;br /&gt;
* In contrast to QPT, it is not possible in GST to characterize one gate at a time. Instead, GST estimates every gate in the gate set simultaneously.&lt;br /&gt;
* SPAM gates are included in the gate set for self-consistency.&lt;br /&gt;
* The limitation of linear-inversion GST (or LGST) is that it does not constrain the estimates to be physical. However, LGST provides a convenient method for diagnosing gate errors and also gives a good starting point for the constrained maximum likelihood estimation.&lt;br /&gt;
* In the gate set, the first gate is generally selected to be the null gate.&lt;br /&gt;
* The simulated errors are of three different types, representing coherent and incoherent gate errors as well as intrinsic SPAM errors.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Gate set, &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Initialize system to &amp;lt;math&amp;gt;|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., N&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., K&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** For &amp;lt;math&amp;gt;r = 1, 2, ..., n&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Apply gate sequence &amp;lt;math&amp;gt;F_i \circ G_k \circ F_j&amp;lt;/math&amp;gt;&lt;br /&gt;
***** Measure with POVM &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;, get &amp;lt;math&amp;gt;n_r = 1&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;n_r = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;m_{ijk} = \sum_{r=1}^{n} \frac{n_r}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;(\tilde{G}_k)_{ij} = p_{ijk} = m_{ijk} =  \langle E|F_iG_kF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
**** if &amp;lt;math&amp;gt;k==0&amp;lt;/math&amp;gt; (null gate), &amp;lt;math&amp;gt;g_{ij} = \langle E|F_iF_j|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;|\tilde{\rho}\rangle_i = \langle E|F_i|\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_{ij} = \langle i |F_j |\rho\rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Linear inversion:&lt;br /&gt;
** Check that the Gram matrix &amp;lt;math&amp;gt;g_{ij}&amp;lt;/math&amp;gt; is non singular, so that it may be inverted&lt;br /&gt;
** For the gate set, the estimate is &amp;lt;math&amp;gt;|\hat{\rho}\rangle = g^{-1}|\tilde{\rho}\rangle, \langle \hat{E}| = \langle \tilde{E} |, \hat{G_k} = g^{-1} \tilde{G}_k&amp;lt;/math&amp;gt;&lt;br /&gt;
** Apply gauge optimization, by minimizing:&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;\hat{B}^* = argmin_{\hat{B}}\sum^{K+1}_{k=1}Tr\{(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})^T(\hat{G}_k - \hat{B}^{-1}T_k\hat{B})\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Final gate set is: &amp;lt;math&amp;gt;\hat{G}_k^{*} = \hat{B}^*\hat{G}_k(\hat{B}^*)^{-1}, |\hat{p}^*\rangle = \hat{B}^*|\hat{p}\rangle, \langle \hat{E}^*| = \langle \hat{E}|(\hat{B}^*)^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* For Maximum Likelihood Estimation:&lt;br /&gt;
** &amp;lt;math&amp;gt;\hat{p}_{ijk} = \langle \hat{E}(\vec{t})|\hat{F}_i(\vec{t})\hat{G}_k(\vec{t})\hat{F}_j(\vec{t})|\hat{\rho}(\vec{t})\rangle&amp;lt;/math&amp;gt; &lt;br /&gt;
**  Find the set of parameters &amp;lt;math&amp;gt;\vec{t}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;l(\hat{G})&amp;lt;/math&amp;gt; is minimized.&lt;br /&gt;
           &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
               l(\hat{G}) = \sum_{ijk} (m_{ijk} - \hat{p}_{ijk}(\vec{t}))^2 / \sigma^2_{ijk}&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Minimize the above function with two different commonly used types of parameterisation of gates:&lt;br /&gt;
*** Pauli Process Matrix Optimization problem:&lt;br /&gt;
       &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \sum_{mnrstu}(\chi_{F_i})_{tu}  (\chi_{G_k})_{rs} (\chi_{F_j})_{mn} Tr\{EP_t P_r P_m \rho P_n P_s P_u\} )^2 / \sigma^2_{ijk}&lt;br /&gt;
      &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \sum_{mn}(\chi_G)_{mn}Tr\{P_mP_rP_n\} - \delta_{0r} = 0, (r = 1, .. , d^2), \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
*** Pauli Transfer Matrix Representation&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;   Minimize: &amp;lt;math&amp;gt;&lt;br /&gt;
                 l(\hat{G}) = \sum_{ijk} (m_{ijk} - \langle \hat{E}(\vec{t})|\hat{R}_{F_i}(\vec{t})\hat{R}_{G_k}(\vec{t})\hat{R}_{F_j}(\vec{t})|\hat{\rho}(\vec{t})\rangle )^2 / \sigma^2_{ijk}&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;Subject to: &amp;lt;math&amp;gt;&lt;br /&gt;
                   \rho_G = \frac{1}{d^2} \sum_{i,j=1}^{d^2}(R_G)_{ij}P^T_G \otimes P_i \geqslant 0, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{0i} = \delta_{0i}, \forall G \in Gateset&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   (R_G)_{ij} \in [-1, 1], \forall G, i, j&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   Tr\{\rho\} = 1&lt;br /&gt;
              &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                   1 - E \geqslant 0&lt;br /&gt;
               &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
==Related Papers== &lt;br /&gt;
* Daniel Greenbaum (2015) arXiv:1509.02921v1: Introduction to Quantum Gate Set Tomography&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4285</id>
		<title>Cross-Platform verification of Intermediate Scale Quantum Devices</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Cross-Platform_verification_of_Intermediate_Scale_Quantum_Devices&amp;diff=4285"/>
		<updated>2020-05-30T11:57:25Z</updated>

		<summary type="html">&lt;p&gt;Rhea: Created page with &amp;quot;This [https://arxiv.org/abs/1909.01282 protocol] is used to perform cross-platform verification of quantum simulators and quantum computers. This is used to directly measure t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This [https://arxiv.org/abs/1909.01282 protocol] is used to perform cross-platform verification of quantum simulators and quantum computers. This is used to directly measure the overlap and purities of two quantum states prepared in two different physical platforms and thus used to measure the fidelity of two possibly mixed states. This protocol infers the cross-platform fidelity of two quantum states from statistical correlations between the randomized measurements performed on the two different devices.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[Cross-Platform Fidelity]], [[Building Trust]], [[Two devices]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* There are no prior assumptions on the quantum states.&lt;br /&gt;
* The spin values for the two quantum devices are known.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The aim here to perform cross-platform verification by measuring the overlap of quantum states produced with two different experimental setups, potentially realized on very different physical platforms, without any  prior assumptions on the quantum states themselves. This can be used to&lt;br /&gt;
whether two quantum devices have prepared the same quantum state. Here, the cross-platform fidelity is inferred from the statistical correlations between randomized measurements performed on the first and second device. &lt;br /&gt;
&lt;br /&gt;
This protocol to measure the cross-platform fidelity of two quantum states requires only classical communication of random unitaries and measurement outcomes between the two platforms, with the experiments possibly taking place at very different points in time and space.&lt;br /&gt;
&lt;br /&gt;
This protocol consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* We start with two quantum devices which are based on different physical platforms, each consisting of two different spins. Two quantum operations are prepared in these quantum devices, which are each described by a density matrix.&lt;br /&gt;
* We find the reduced density matrices for the sub-systems of identical size for each device using partial trace operator over that sub-system. &lt;br /&gt;
* We apply a same random unitary is applied to the two quantum states. This random unitary is defined as the product of local random unitaries acting on all spins of the subsystem. Here, the local random unitaries are sampled independently from a [[unitary 2-design]] defined on the local Hilbert space and sent via classical communication to both devices.&lt;br /&gt;
* Now projective measurements in a computational basis are performed for both the systems.&lt;br /&gt;
* Repeating these measurements for the fixed random unitary provides us with the estimates of probability of measurement outcomes for the both the states.&lt;br /&gt;
* This entire procedure is then repeated for many different random unitaries.&lt;br /&gt;
* Finally we estimate the density matrix from the second order cross-correlations between the two platforms using the ensemble average of probabilities over random unitaries from the above procedure. &lt;br /&gt;
* The purities for the two sub systems are obtained as second-order auto-correlations of the probabilities.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;: Finite  number  of  projective  measurements  performed per  random  unitary&lt;br /&gt;
* &amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;: Finite  number of random unitaries used to infer overlap&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: Fixed value of statistical error&lt;br /&gt;
* &amp;lt;math&amp;gt;S_1, S_2&amp;lt;/math&amp;gt;: Two devices realised on different physical platforms&lt;br /&gt;
* &amp;lt;math&amp;gt;N_1, N_2&amp;lt;/math&amp;gt;: Spins consisted in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;U_1, U_2&amp;lt;/math&amp;gt;: Quantum operation prepared in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
* &amp;lt;math&amp;gt;\rho_1, \rho_2&amp;lt;/math&amp;gt;: Density matrices of &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_2&amp;lt;/math&amp;gt; respectively&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Two quantum devices on two different physical platforms&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
* Classical communication channel&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Cross-platform fidelity of two quantum states&lt;br /&gt;
* We can estimate the density matrix overlap of two quantum states here as well as their purities.&lt;br /&gt;
* The present protocol scales, although exponentially, much more favorably with the (sub)system size, allowing practical cross-platform verification for (sub)systems involving tens of qubits on state-of-the-art quantum devices.&lt;br /&gt;
* This protocol can be used to perform fidelity estimation towards known target theoretical states, as an experiment-theory comparison.&lt;br /&gt;
* In practice, from a finite number of projective measurements performed per random unitary (&amp;lt;math&amp;gt;N_M&amp;lt;/math&amp;gt;), a statistical error of the estimated fidelity arises. With that, a finite number (&amp;lt;math&amp;gt;N_U&amp;lt;/math&amp;gt;) of random unitaries used to infer overlap and purities can also cause a  statistical error while estimating fidelity. Therefore, the scaling of the total number of experimental runs $N_MN_U$, which are required to reduce this statistical error below a fixed value of &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* A.Elben et al (2020) arXiv:1909.01282: Cross-Platform Verification of Intermediate Scale Quantum Devices&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4284</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4284"/>
		<updated>2020-05-29T17:46:24Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Building Trust]]||[[Self verification]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Cross-Platform verification of Intermediate Scale Quantum Devices]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Estimate average Fidelity of quantum gates]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for multi-partite entangled states]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Gaussian bosonic]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Ground States of local Hamiltonians]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Learning Techniques]]||[[Probably Approximately Correctly Learning (PAC)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust online Hamiltonian learning]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Many-body quantum state tomography with neural networks]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4283</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4283"/>
		<updated>2020-05-29T17:22:25Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Building Trust]]||[[Self verification]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Cross-Platform verification]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Estimate average Fidelity of quantum gates]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for multi-partite entangled states]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Gaussian bosonic]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Ground States of local Hamiltonians]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Learning Techniques]]||[[Probably Approximately Correctly Learning (PAC)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust online Hamiltonian learning]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Many-body quantum state tomography with neural networks]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4282</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4282"/>
		<updated>2020-05-29T16:55:44Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Estimate average Fidelity of quantum gates]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for multi-partite entangled states]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Gaussian bosonic]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Fidelity witnesses for Ground States of local Hamiltonians]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Learning Techniques]]||[[Probably Approximately Correctly Learning (PAC)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Robust online Hamiltonian learning]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Many-body quantum state tomography with neural networks]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4281</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4281"/>
		<updated>2020-05-29T16:15:27Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;7&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4280</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4280"/>
		<updated>2020-05-29T16:12:49Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Process Tomography]]||[[Compressed Quantum Process Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;7&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4274</id>
		<title>Interleaved Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4274"/>
		<updated>2020-03-28T12:52:41Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1203.4550 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computational gates. This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. This technique takes into account both state preparation and measurement errors and is scalable in the number of qubits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[Standard Randomised Benchmarking]] method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
The multi-qubit RB protocol described in Standard Randomised Benchmarking is restricted to benchmark only the full [[Clifford group]] on &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; qubits.  While this provides a significant step towards scalable benchmarking of a quantum information processor, it is desirable in many cases to benchmark individual gates in Clifford group rather than the entire set. Interleaving randomised benchmarking is a protocol which consists of interleaving random gates between the gate of interest, which is used to estimate the average error of individual quantum computational gates.&lt;br /&gt;
&lt;br /&gt;
To benchmark a specific Clifford element (an individual gate), the following steps are involved:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Implement [[Standard Randomised Benchmarking]] to get a model for the fidelity and to calculate the average error rate&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the depolarizing parameter and sequence fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Procedure to estimate the new sequence fidelity by including the Clifford element to be benchmarked in the sequence&lt;br /&gt;
&lt;br /&gt;
* Now, for a random fixed sequence length, choose a sequence where the first Clifford element is selected uniformly at random from the Clifford group and the second element is always chosen to be the specific Clifford element we want to benchmark.&lt;br /&gt;
* Final gate is chosen to be the inverse of the composition mentioned in the step above. The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length, to obtain a zeroth or first-order model of the new sequence fidelity, from which the new depolarizing parameter is estimated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Estimate the gate error of the selected Clifford element to be benchmarked&lt;br /&gt;
&lt;br /&gt;
* From the values obtained for the depolarizing parameter and the new depolarizing parameter, using the average gate fidelity, a point estimate is obtained for the gate error. The gate error would lie in a certain range of this estimate. One interpretation of this error is that it arises from imperfect random gates.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{\bar{C}}&amp;lt;/math&amp;gt;: New depolarizing parameter for the specific Clifford element to be benchmarked&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C: Selected Clifford element to be benchmarked&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;: Superoperator representing the sequence with alternating &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;: Associated noise operator of the Clifford element &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;: The gate error of &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;: Error range of &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_\bar{g}^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: New zeroth order averaged sequence fidelity for &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_\bar{g}^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: New first order Averaged sequence fidelity for &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average gate error &lt;br /&gt;
* This protocol is used to estimate the average error of individual quantum computational gate&lt;br /&gt;
* In the limits of either perfect random gates or that the average error of all gates is depolarizing, this protocol estimates the gate error perfectly&lt;br /&gt;
* In the completely general case where the random gates have arbitrary errors with small average variation, this protocol provides explicit bounds for the error of the gate. These bounds give direct information regarding the quality of computational gates and thus useful information about reaching thresholds for fault-tolerant quantum computation.&lt;br /&gt;
* This is a scalable protocol with the time complexity &amp;lt;math&amp;gt;O(n^4)&amp;lt;/math&amp;gt;&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates used to benchmark the specific Clifford gate are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Standard Randomised Benchmarking&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} \circ C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Estimate gate error of selected Clifford element C&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: C&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: gate error of &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else If &amp;lt;math&amp;gt;j%2==1&amp;lt;/math&amp;gt;, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
**** else, apply C&lt;br /&gt;
*** Thus &amp;lt;math&amp;gt;\gamma = \Lambda_{i_{m+1}} +&amp;lt;/math&amp;gt; C&amp;lt;math&amp;gt;_{i_{m+1}} (\bigotimes^{m+1}_{j=1}[C \circ \Lambda_C \circ \Lambda_{i_j} \circ C_{i_j}])&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure the survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}\gamma_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}\gamma_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;\gamma_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} \gamma_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models, to find &amp;lt;math&amp;gt;p_{\bar{C}}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_\bar{g}^{(0)}(m, |\psi\rangle) = A_0p_{\bar{C}}^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_\bar{g}^{(1)}(m, |\psi\rangle) = A_1p_{\bar{C}}^m + B_1 + C_1(m-1)(q-p_{\bar{C}}^2)p_{\bar{C}}^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Estimate &amp;lt;math&amp;gt;r^{est}_C = \frac{(d-1)(1-p_{\bar{C}}/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt; lies in the range &amp;lt;math&amp;gt;[r^{est}_C-E, r^{est}_C+E]&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;E = min (\frac{(d-1)[|p-p_{\bar{C}}/p| + (1-p)]}{d}, \frac{2(d^2-1)(1-p)}{pd^2} + \frac{4\sqrt{1-p}\sqrt{d^2-1}}{p})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4273</id>
		<title>Interleaved Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4273"/>
		<updated>2020-03-28T12:39:59Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1203.4550 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computational gates. This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. This technique takes into account both state preparation and measurement errors and is scalable in the number of qubits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[Standard Randomised Benchmarking]] method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
The multi-qubit RB protocol described in Standard Randomised Benchmarking is restricted to benchmark only the full [[Clifford group]] on &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; qubits.  While this provides a significant step towards scalable benchmarking of a quantum information processor, it is desirable in many cases to benchmark individual gates in Clifford group rather than the entire set. Interleaving randomised benchmarking is a protocol which consists of interleaving random gates between the gate of interest, which is used to estimate the average error of individual quantum computational gates.&lt;br /&gt;
&lt;br /&gt;
To benchmark a specific Clifford element (an individual gate), the following steps are involved:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Implement [[Standard Randomised Benchmarking]] to get a model for the fidelity and to calculate the average error rate&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the depolarizing parameter and sequence fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Procedure to estimate the new sequence fidelity by including the Clifford element to be benchmarked in the sequence&lt;br /&gt;
&lt;br /&gt;
* Now, for a random fixed sequence length, choose a sequence where the first Clifford element is selected uniformly at random from the Clifford group and the second element is always chosen to be the specific Clifford element we want to benchmark.&lt;br /&gt;
* Final gate is chosen to be the inverse of the composition mentioned in the step above. The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length, to obtain a zeroth or first-order model of the new sequence fidelity, from which the new depolarizing parameter is estimated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Estimate the gate error of the selected Clifford element to be benchmarked&lt;br /&gt;
&lt;br /&gt;
* From the values obtained for the depolarizing parameter and the new depolarizing parameter, using the average gate fidelity, a point estimate is obtained for the gate error. The gate error would lie in a certain range of this estimate. One interpretation of this error is that it arises from imperfect random gates.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{\bar{C}}&amp;lt;/math&amp;gt;: New depolarizing parameter for the specific Clifford element to be benchmarked&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C: Selected Clifford element to be benchmarked&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;: Superoperator representing the sequence with alternating &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;: Associated noise operator of the Clifford element &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;: The gate error of &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;: Error range of &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_\bar{g}^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: New zeroth order averaged sequence fidelity for &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_\bar{g}^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: New first order Averaged sequence fidelity for &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average gate error &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Standard Randomised Benchmarking&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} \circ C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Estimate gate error of selected Clifford element C&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: C&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: gate error of &amp;lt;math&amp;gt;\Lambda_{C}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else If &amp;lt;math&amp;gt;j%2==1&amp;lt;/math&amp;gt;, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
**** else, apply C&lt;br /&gt;
*** Thus &amp;lt;math&amp;gt;\gamma = \Lambda_{i_{m+1}} +&amp;lt;/math&amp;gt; C&amp;lt;math&amp;gt;_{i_{m+1}} (\bigotimes^{m+1}_{j=1}[C \circ \Lambda_C \circ \Lambda_{i_j} \circ C_{i_j}])&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure the survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}\gamma_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}\gamma_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;\gamma_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} \gamma_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models, to find &amp;lt;math&amp;gt;p_{\bar{C}}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_\bar{g}^{(0)}(m, |\psi\rangle) = A_0p_{\bar{C}}^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_\bar{g}^{(1)}(m, |\psi\rangle) = A_1p_{\bar{C}}^m + B_1 + C_1(m-1)(q-p_{\bar{C}}^2)p_{\bar{C}}^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Estimate &amp;lt;math&amp;gt;r^{est}_C = \frac{(d-1)(1-p_{\bar{C}}/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r^{est}_C&amp;lt;/math&amp;gt; lies in the range &amp;lt;math&amp;gt;[r^{est}_C-E, r^{est}_C+E]&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;E = min (\frac{(d-1)[|p-p_{\bar{C}}/p| + (1-p)]}{d}, \frac{2(d^2-1)(1-p)}{pd^2} + \frac{4\sqrt{1-p}\sqrt{d^2-1}}{p})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4272</id>
		<title>Interleaved Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4272"/>
		<updated>2020-03-28T10:18:01Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1203.4550 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computational gates. This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. This technique takes into account both state preparation and measurement errors and is scalable in the number of qubits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[Standard Randomised Benchmarking]] method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
The multi-qubit RB protocol described in Standard Randomised Benchmarking is restricted to benchmark only the full [[Clifford group]] on &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; qubits.  While this provides a significant step towards scalable benchmarking of a quantum information processor, it is desirable in many cases to benchmark individual gates in Clifford group rather than the entire set. Interleaving randomised benchmarking is a protocol which consists of interleaving random gates between the gate of interest, which is used to estimate the average error of individual quantum computational gates.&lt;br /&gt;
&lt;br /&gt;
To benchmark a specific Clifford element (an individual gate), the following steps are involved:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Implement [[Standard Randomised Benchmarking]] to get a model for the fidelity and to calculate the average error rate&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the depolarizing parameter and sequence fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Procedure to estimate the new sequence fidelity by including the Clifford element to be benchmarked in the sequence&lt;br /&gt;
&lt;br /&gt;
* Now, for a random fixed sequence length, choose a sequence where the first Clifford element is selected uniformly at random from the Clifford group and the second element is always chosen to be the specific Clifford element we want to benchmark.&lt;br /&gt;
* Final gate is chosen to be the inverse of the composition mentioned in the step above. The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length, to obtain a zeroth or first-order model of the new sequence fidelity, from which the new depolarizing parameter is estimated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Estimate the gate error of the selected Clifford element to be benchmarked&lt;br /&gt;
&lt;br /&gt;
* From the values obtained for the depolarizing parameter and the new depolarizing parameter, using the average gate fidelity, a point estimate is obtained for the gate error. The gate error would lie in a certain range of this estimate.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4271</id>
		<title>Interleaved Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4271"/>
		<updated>2020-03-27T21:14:33Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1203.4550 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computational gates. This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. This technique takes into account both state preparation and measurement errors and is scalable in the number of qubits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
[[Standard Randomised Benchmarking]] method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
The multi-qubit RB protocol described in Standard Randomised Benchmarking is restricted to benchmark only the full [[Clifford group]] on &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; qubits.  While this provides a significant step towards scalable benchmarking of a quantum information processor, it is desirable in many cases to benchmark individual gates in Clifford group rather than the entire set. Interleaving randomised benchmarking is a protocol which consists of interleaving random gates between the gate of interest, which is used to estimate the average error of individual quantum computational gates.&lt;br /&gt;
&lt;br /&gt;
To benchmark a specific Clifford element (an individual gate), the following steps are involved:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Implement [[Standard Randomised Benchmarking]] to get a model for the fidelity and to calculate the average error rate&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the depolarizing parameter and sequence fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Procedure to estimate the new sequence fidelity by including the Clifford element to be benchmarked in the sequence&lt;br /&gt;
&lt;br /&gt;
* Now, for a random fixed sequence length, choose a sequence where the first Clifford element is selected uniformly at random from the Clifford group and the second element is always chosen to be the specific Clifford element we want to benchmark.&lt;br /&gt;
* Final gate is chosen to be the inverse of the composition mentioned in the step above. The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length, to obtain a zeroth or first-order model of the new sequence fidelity, from which the new depolarizing parameter is estimated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4270</id>
		<title>Interleaved Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Interleaved_Randomised_Benchmarking&amp;diff=4270"/>
		<updated>2020-03-27T13:57:28Z</updated>

		<summary type="html">&lt;p&gt;Rhea: Created page with &amp;quot;[https://arxiv.org/abs/1109.6887v2 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computationa...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Interleaved Randomized benchmarking] is a scalable experimental protocol for estimating the average error of individual quantum computational gates. This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. This technique takes into account both state preparation and measurement errors and is scalable in the number of qubits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4269</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4269"/>
		<updated>2020-03-27T13:55:53Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected at random. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is then used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4268</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4268"/>
		<updated>2020-03-27T13:47:43Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Outline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different randomly selected sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4267</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4267"/>
		<updated>2020-03-27T13:37:58Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Procedure Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4266</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4266"/>
		<updated>2020-03-27T13:37:44Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Procedure Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Pick random sequence length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4265</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4265"/>
		<updated>2020-03-27T13:37:08Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Notation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Number of different data points to get the error model&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4264</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4264"/>
		<updated>2020-03-27T13:33:24Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Procedure Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Maximum sequence length of applying Clifford group Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j=1} (\Lambda_{(i_j, j)} C_{i_j})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4263</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4263"/>
		<updated>2020-03-24T10:52:49Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Maximum sequence length of applying Clifford group Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group.&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j+1} (\Lambda_{(i_j, j)} C_i)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4262</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4262"/>
		<updated>2020-03-24T10:50:35Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], [[Randomised Benchmarking]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Maximum sequence length of applying Clifford group Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group. However in the case of [[interleaved randomized benchmarking]]&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j+1} (\Lambda_{(i_j, j)} C_i)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4261</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4261"/>
		<updated>2020-03-24T10:20:59Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Further Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Maximum sequence length of applying Clifford group Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group. However in the case of [[interleaved randomized benchmarking]]&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j+1} (\Lambda_{(i_j, j)} C_i)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4260</id>
		<title>Standard Randomised Benchmarking</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Standard_Randomised_Benchmarking&amp;diff=4260"/>
		<updated>2020-03-24T10:20:20Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://arxiv.org/abs/1109.6887v2 Randomized benchmarking] is a protocol that yields estimates of the computationally relevant errors without relying on accurate quantum state preparation and measurement. This is used to determine the error probability per gate in computational context and also gives an overall [[average fidelity]] for the noise in the gates.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[:Category: Certification protocol|Certification Protocol]], [[:Category: Average gate fidelity|Average gate fidelity]], Clifford group&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
* The measurements performed are trusted.&lt;br /&gt;
* Noise model can be assumed to be gate and time-dependent or gate and time-independent.&lt;br /&gt;
* The noise model is independent and identically distributed (IID).&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
Randomized benchmarking method involves applying many random sequences of gates of varying lengths to a standard initial state. Each sequence ends with a randomized measurement that determines whether the correct final state was obtained. The average computationally relevant error per gate is obtained from the increase in error probability of the final measurements as a function of sequence length. &lt;br /&gt;
&lt;br /&gt;
The random gates are taken from the [[Clifford group]]. The restriction to the Clifford group ensures that the measurements can be of one-qubit Pauli operators that yield at least one deterministic one-bit answer in the absence of errors.&lt;br /&gt;
&lt;br /&gt;
This method consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* A fixed sequence length is selected which is smaller than a predefined maximum sequence length. A random sequence of this length is chosen from the Clifford group.&lt;br /&gt;
* The operations are applied to the initial state corresponding to the selected sequence and then a final operator is applied which inverts all the previous operations.&lt;br /&gt;
* The final state is then measured to check if it matches the initial state. This process is performed several times with the same sequence to estimate the survival probability (the probability that the final state which returns to its initial state).&lt;br /&gt;
* Other random sequences of the same fixed sequence length are picked and the above-mentioned process is repeated to calculate the corresponding survival probability. This is used to calculate the average survival probability for the sequence length.&lt;br /&gt;
* The same procedure is repeated for multiple different sequence lengths.&lt;br /&gt;
* The observed survival probabilities are then plotted against the sequence length and then this is fit to an exponential decay curve, which is used to estimate the fidelity and also to calculate the average error rate which is the metric for randomized benchmarking.&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
* Quantum computational resources to perform Clifford gates.&lt;br /&gt;
* Trusted Measurement device.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;: Depolarizing parameter&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: Dimension of Hilbert space&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}&amp;lt;/math&amp;gt;: Average fidelity, &amp;lt;math&amp;gt;F_{avg} = p + \frac{1-p}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Average error rate, &amp;lt;math&amp;gt;r = 1- F_{avg}, r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: Selected sequence length&lt;br /&gt;
* &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt;: Total randomly selected sequence of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; sequence length&lt;br /&gt;
* Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;: Clifford group&lt;br /&gt;
* C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;: Random element of Clifford group&lt;br /&gt;
* &amp;lt;math&amp;gt;S_{(i_1, ...,i_m)}&amp;lt;/math&amp;gt; = &amp;lt;math&amp;gt;S_{\mathbf{i_m}}&amp;lt;/math&amp;gt;: Random sequence of operations of length &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Maximum sequence length of applying Clifford group Clif&amp;lt;math&amp;gt;_n&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Lambda_{i,j}&amp;lt;/math&amp;gt;: Implementation of C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt; at time j (1 &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; j &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt; M) results in this error map. &amp;lt;math&amp;gt;\Lambda_{i,1}, ..., \Lambda_{i,M}&amp;lt;/math&amp;gt; are the different time-dependent noise operators affecting C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi\rangle&amp;lt;/math&amp;gt;: initial state&lt;br /&gt;
* &amp;lt;math&amp;gt;E_{\psi}&amp;lt;/math&amp;gt;: POVM element which takes into account the measurement error.&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{seq}(m, \psi) = Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;: Survival probability of a sequence. &amp;lt;math&amp;gt;\rho_\psi&amp;lt;/math&amp;gt;  is a quantum state that takes into account errors in preparing &amp;lt;math&amp;gt;\langle \psi |\psi \rangle&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle)&amp;lt;/math&amp;gt;: Averaged sequence fidelity for gate and time dependent error model. In this model, the parameter &amp;lt;math&amp;gt;(q-p^2)&amp;lt;/math&amp;gt; is a measure of the degree of gate-dependence in the error.&lt;br /&gt;
* &amp;lt;math&amp;gt;A_0, B_0&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time independent error model&lt;br /&gt;
* &amp;lt;math&amp;gt;A_1, B_1, C_1&amp;lt;/math&amp;gt;:  Coefficients that absorb the state preparation and measurement errors as well as the error on the final gate for gate and time dependent error model.&lt;br /&gt;
* &amp;lt;math&amp;gt;R_{m+1}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;\frac{1}{|Clif_n|}\sum_i\Lambda_{i, m+1} \otimes (C_i \otimes \Lambda \otimes C_i^{\dagger})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: average error rate, average gate fidelity&lt;br /&gt;
* The errors which are considered here are State preparation and measurement errors, error on the final gate, which are gate and time-independent errors. Gate and time-dependent errors can also be taken into consideration. This method is insensitive to SPAM error.&lt;br /&gt;
* The random gates are picked from the Clifford group. However in the case of [[interleaved randomized benchmarking]]&lt;br /&gt;
* For noise estimation, the uniform probability distribution over Clifford group comprises a [[unitary 2-design]].&lt;br /&gt;
* This protocol provides a scalable method for benchmarking the set of Clifford gates.&lt;br /&gt;
* To obtain a more accurate value for &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; one should always use the first order fitting model unless prior knowledge of the noise indicates that it is effectively gate-independent.&lt;br /&gt;
&lt;br /&gt;
==Procedure Description==&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;m = 1, 2, ..., M-1&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;k = 1, 2, ..., K_m&amp;lt;/math&amp;gt; sequences:&lt;br /&gt;
*** For &amp;lt;math&amp;gt;j = 1, 2 ..., m+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** If &amp;lt;math&amp;gt;j == m+1&amp;lt;/math&amp;gt;, apply inverse operator of previous operations&lt;br /&gt;
**** else, apply random operation C&amp;lt;math&amp;gt;_i&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Thus, &amp;lt;math&amp;gt;S_{\mathbf{i_m}} = \bigotimes^{m+1}_{j+1} (\Lambda_{(i_j, j)} C_i)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i_{m+1}&amp;lt;/math&amp;gt; is uniquely determined by &amp;lt;math&amp;gt;(i_1, ...,i_m)&amp;lt;/math&amp;gt;&lt;br /&gt;
*** Measure survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{i_m}}(\rho_\psi)]&amp;lt;/math&amp;gt;&lt;br /&gt;
** Estimate average survival probability &amp;lt;math&amp;gt;Tr[E_{\psi}S_{\mathbf{K_m}}(\rho_\psi)]&amp;lt;/math&amp;gt; over all &amp;lt;math&amp;gt;K_m&amp;lt;/math&amp;gt; sequences, where &amp;lt;math&amp;gt;S_{\mathbf{K_m}} = \frac{1}{K_m}\sum_{i_m} S_{i_m}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Fit the results for the averaged sequence fidelity for all &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; into the models:&lt;br /&gt;
** For gate and time independent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(0)}(m, |\psi\rangle) = A_0p^m + B_0&amp;lt;/math&amp;gt;&lt;br /&gt;
** For gate and time dependent error model:&lt;br /&gt;
*** &amp;lt;math&amp;gt;F_g^{(1)}(m, |\psi\rangle) = A_1p^m + B_1 + C_1(m-1)(q-p^2)p^{m-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is extracted from the model and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is estimated, &amp;lt;math&amp;gt;r = \frac{(d-1)(1-p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
* Fitting models are described and derived as seen in [https://arxiv.org/abs/1109.6887v2 E. Mageson et al]. The coefficients derived are:&lt;br /&gt;
** &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_0&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\frac{Q_1\rho_\psi}{p} - \rho_\psi + \frac{(p-1)\mathbb{1}}{pd})]&amp;lt;/math&amp;gt; + Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\rho_\psi}{p} - \frac{\mathbb{1}}{pd})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi R_{m+1}(\frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
** &amp;lt;math&amp;gt;C_1&amp;lt;/math&amp;gt; = Tr&amp;lt;math&amp;gt;[E_\psi \Lambda(\rho_\psi - \frac{\mathbb{1}}{d})]&amp;lt;/math&amp;gt;&lt;br /&gt;
* The case where Randomized benchmarking fails: Suppose the noise is time dependent and for each &amp;lt;math&amp;gt;i, \Lambda_i = C_i^{\dagger}&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;F_g(m, \psi) = 1&amp;lt;/math&amp;gt; for every &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; even though there is a substantial error on each &amp;lt;math&amp;gt;C_i&amp;lt;/math&amp;gt; and so benchmarking fails.&lt;br /&gt;
* [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.109.080505 Interleaved Randomized Benchmarking]: This protocol consists of interleaving random Clifford gates between the gate of interest and provides an estimate as well as theoretical bounds for the average error of the gate under test, so long as the average noise variation over all Clifford gates is small. Here the procedure followed is:&lt;br /&gt;
** Choose &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; sequences of Clifford elements where the first Clifford &amp;lt;math&amp;gt;C_{i_1}&amp;lt;/math&amp;gt; in each sequence is chosen uniformly at random from Clif$_n$, the second is always chosen to be &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;(gate of interest), and alternate between uniformly random Clifford elements and deterministic &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; up to the &amp;lt;math&amp;gt;m^{th}&amp;lt;/math&amp;gt; random gate.&lt;br /&gt;
** The &amp;lt;math&amp;gt;(m+1)^{th}&amp;lt;/math&amp;gt; gate is chosen to be the inverse of the composition of the first &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; random gates and interlaced &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; gates.&lt;br /&gt;
** The rest of the steps remain the same and finally after plotting the new average sequence fidelity with the sequence length and fitting it into either the gate and time dependent or the gate and time independent model, we receive the new depolarizing parameter obtained is &amp;lt;math&amp;gt;p_c&amp;lt;/math&amp;gt;, which replaces &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;.&lt;br /&gt;
** The new gate error is calculated as &amp;lt;math&amp;gt;r_c = \frac{(d-1)(1-p_c/p)}{d}&amp;lt;/math&amp;gt;&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015 [[Purity benchmarking]]: A unitarity can be estimated via purity benchmarking, which is an RB-like experiment that estimates a decay rate.&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* E.Knill et al (2007) arXiv:0707.0963: gate and time-independent noise model&lt;br /&gt;
* E. Mageson et al (2011)  arXiv:1009.3639:  multi-parameter model&lt;br /&gt;
* Magesan et al. PRL (2012): Interleaved Randomized Benchmarking&lt;br /&gt;
* Harper et al (2016) arXiv:1608.02943v2: Interleaved Randomised Benchmarking to estimate fidelity of T gates&lt;br /&gt;
* Wallman, Granade, Harper, F., NJP 2015: Purity benchmarking&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4259</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4259"/>
		<updated>2020-03-23T20:09:38Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;: Model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;: Implementation of the model circuit by the quantum transpiler&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: width of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: depth of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}(U, U&#039;)&amp;lt;/math&amp;gt;: Average fidelity between &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: approximation error&lt;br /&gt;
* &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt;: Achievable depth, which is the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;: Quantum Volume&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;: Set of heavy outputs for a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;: Outcome of executing &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;, which is a observable bit string, &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt;: Ideal output distribution for &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;p_U(x) = |\langle x|U|0\rangle|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}&amp;lt;/math&amp;gt;: median of the set of probabilities&lt;br /&gt;
* &amp;lt;math&amp;gt;n_c&amp;lt;/math&amp;gt;: Number of repetitions, &amp;lt;math&amp;gt;n_c&amp;gt;100&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;n_s&amp;lt;/math&amp;gt;: Number of repetitions&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Quantum Computing device with a gate set&lt;br /&gt;
* Measurement device&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes&lt;br /&gt;
* The protocol can be implemented with any universal programmable quantum computing device. Quantum volume is architecture-independent, and can be applied to any system that is capable of running quantum circuits.&lt;br /&gt;
* The method used to compute the heavy outputs from the ideal output distribution of the model circuit scales exponentially with the width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Ideally, the probability of observing a heavy output would be estimated using all of the qubits of a large device, but NISQ devices have appreciable error rates, so we begin with small model circuits and progress to larger ones.&lt;br /&gt;
* The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
* Given a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, a circuit-to-circuit transpiler finds an implementation &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt; for the target system such that &amp;lt;math&amp;gt;1- F_{avg}(U, U&#039;) \leq \epsilon \ll 1&amp;lt;/math&amp;gt;&lt;br /&gt;
* There are two possible paths for increasing the quantum volume, which is given by the numerical simulations for given connectivity. The first path is to prioritize improving the gate fidelity above other operations. This&lt;br /&gt;
sets the roadmap for device performance to focus on the errors that limit gate performance, such as coherence and&lt;br /&gt;
calibration errors. The second path stems from the observation that, for these devices and this metric, circuit&lt;br /&gt;
optimization is becoming important.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;U, m&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* Sort in ascending order &amp;lt;math&amp;gt;p_0 \leq p_1 ... \leq p_{2^m -1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}  = (p_{2^{m-1}} + p_{2^{m-1}-1})/2 &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U = \{x\in \{0,1\}^m&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;p_U(x) &amp;gt; p_{med}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeQuantumVolume&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: Quantum Volume, &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., m&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., d&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** &amp;lt;math&amp;gt;d(m) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** &amp;lt;math&amp;gt;n_h = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., n_c&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Pick random model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;H_U =&amp;lt;/math&amp;gt; ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Compile &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
**** For &amp;lt;math&amp;gt;l = 1, 2, ..., n_s&amp;lt;/math&amp;gt;:&lt;br /&gt;
***** Get output &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
***** If &amp;lt;math&amp;gt;x\in H_U&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;n_h = n_h + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
*** If &amp;lt;math&amp;gt;\frac{n_h-2\sqrt{n_h(n_s-n_h/n_c)}}{n_c n_S} &amp;gt; \frac{2}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;d(m) = &amp;lt;/math&amp;gt;max&amp;lt;math&amp;gt;(d(m), d)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Store data &amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt; from stored data, where log&amp;lt;math&amp;gt;_2 V_Q&amp;lt;/math&amp;gt; = argmax&amp;lt;math&amp;gt;_m&amp;lt;/math&amp;gt; min&amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
== Related Papers ==&lt;br /&gt;
* Andrew W. Cross et al (2011) arXiv:1811.12926v3: Validating quantum computers using randomized model circuits&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4258</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4258"/>
		<updated>2020-03-23T19:58:50Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;: Model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;: Implementation of the model circuit by the quantum transpiler&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: width of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: depth of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}(U, U&#039;)&amp;lt;/math&amp;gt;: Average fidelity between &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: approximation error&lt;br /&gt;
* &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt;: Achievable depth, which is the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;: Quantum Volume&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;: Set of heavy outputs for a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;: Outcome of executing &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;, which is a observable bit string, &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt;: Ideal output distribution for &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;p_U(x) = |\langle x|U|0\rangle|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}&amp;lt;/math&amp;gt;: median of the set of probabilities&lt;br /&gt;
* &amp;lt;math&amp;gt;n_c&amp;lt;/math&amp;gt;: Number of repetitions, &amp;lt;math&amp;gt;n_c&amp;gt;100&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;n_s&amp;lt;/math&amp;gt;: Number of repetitions&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Quantum Computing device with a gate set&lt;br /&gt;
* Measurement device&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes&lt;br /&gt;
* The protocol can be implemented with any universal programmable quantum computing device. Quantum volume is architecture-independent, and can be applied to any system that is capable of running quantum circuits.&lt;br /&gt;
* The method used to compute the heavy outputs from the ideal output distribution of the model circuit scales exponentially with the width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Ideally, the probability of observing a heavy output would be estimated using all of the qubits of a large device, but NISQ devices have appreciable error rates, so we begin with small model circuits and progress to larger ones.&lt;br /&gt;
* The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
* Given a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, a circuit-to-circuit transpiler finds an implementation &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt; for the target system such that &amp;lt;math&amp;gt;1- F_{avg}(U, U&#039;) \leq \epsilon \ll 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;U, m&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* Sort in ascending order &amp;lt;math&amp;gt;p_0 \leq p_1 ... \leq p_{2^m -1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}  = (p_{2^{m-1}} + p_{2^{m-1}-1})/2 &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U = \{x\in \{0,1\}^m&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;p_U(x) &amp;gt; p_{med}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeQuantumVolume&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: Quantum Volume, &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., m&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., d&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** &amp;lt;math&amp;gt;d(m) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** &amp;lt;math&amp;gt;n_h = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., n_c&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Pick random model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;H_U =&amp;lt;/math&amp;gt; ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Compile &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
**** For &amp;lt;math&amp;gt;l = 1, 2, ..., n_s&amp;lt;/math&amp;gt;:&lt;br /&gt;
***** Get output &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
***** If &amp;lt;math&amp;gt;x\in H_U&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;n_h = n_h + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
*** If &amp;lt;math&amp;gt;\frac{n_h-2\sqrt{n_h(n_s-n_h/n_c)}}{n_c n_S} &amp;gt; \frac{2}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;d(m) = &amp;lt;/math&amp;gt;max&amp;lt;math&amp;gt;(d(m), d)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Store data &amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt; from stored data, where log&amp;lt;math&amp;gt;_2 V_Q&amp;lt;/math&amp;gt; = argmax&amp;lt;math&amp;gt;_m&amp;lt;/math&amp;gt; min&amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
== Related Papers ==&lt;br /&gt;
* Andrew W. Cross et al (2011) arXiv:1811.12926v3: Validating quantum computers using randomized model circuits&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4257</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4257"/>
		<updated>2020-03-23T19:58:07Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;: Model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;: Implementation of the model circuit by the quantum transpiler&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: width of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: depth of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}(U, U&#039;)&amp;lt;/math&amp;gt;: Average fidelity between &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: approximation error&lt;br /&gt;
* &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt;: Achievable depth, which is the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;: Quantum Volume&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;: Set of heavy outputs for a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;: Outcome of executing &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;, which is a observable bit string, &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt;: Ideal output distribution for &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;p_U(x) = |\langle x|U|0\rangle|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}&amp;lt;/math&amp;gt;: median of the set of probabilities&lt;br /&gt;
* &amp;lt;math&amp;gt;n_c&amp;lt;/math&amp;gt;: Number of repetitions, &amp;lt;math&amp;gt;n_c&amp;gt;100&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;n_s&amp;lt;/math&amp;gt;: Number of repetitions&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Quantum Computing device with a gate set&lt;br /&gt;
* Measurement device&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes&lt;br /&gt;
* The protocol can be implemented with any universal programmable quantum computing device. Quantum volume is&lt;br /&gt;
architecture-independent, and can be applied to any system that is capable of running quantum circuits.&lt;br /&gt;
* The method used to compute the heavy outputs from the ideal output distribution of the model circuit scales exponentially with the width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Ideally, the probability of observing a heavy output would be estimated using all of the qubits of a large device, but NISQ devices have appreciable error rates, so we begin with small model circuits and progress to larger ones.&lt;br /&gt;
* The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
* Given a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, a circuit-to-circuit transpiler finds an implementation &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt; for the target system such that &amp;lt;math&amp;gt;1- F_{avg}(U, U&#039;) \leq \epsilon \ll 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;U, m&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* Sort in ascending order &amp;lt;math&amp;gt;p_0 \leq p_1 ... \leq p_{2^m -1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}  = (p_{2^{m-1}} + p_{2^{m-1}-1})/2 &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U = \{x\in \{0,1\}^m&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;p_U(x) &amp;gt; p_{med}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeQuantumVolume&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: Quantum Volume, &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., m&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., d&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** &amp;lt;math&amp;gt;d(m) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** &amp;lt;math&amp;gt;n_h = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., n_c&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Pick random model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;H_U =&amp;lt;/math&amp;gt; ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Compile &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
**** For &amp;lt;math&amp;gt;l = 1, 2, ..., n_s&amp;lt;/math&amp;gt;:&lt;br /&gt;
***** Get output &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
***** If &amp;lt;math&amp;gt;x\in H_U&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;n_h = n_h + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
*** If &amp;lt;math&amp;gt;\frac{n_h-2\sqrt{n_h(n_s-n_h/n_c)}}{n_c n_S} &amp;gt; \frac{2}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;d(m) = &amp;lt;/math&amp;gt;max&amp;lt;math&amp;gt;(d(m), d)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Store data &amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt; from stored data, where log&amp;lt;math&amp;gt;_2 V_Q&amp;lt;/math&amp;gt; = argmax&amp;lt;math&amp;gt;_m&amp;lt;/math&amp;gt; min&amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
== Related Papers ==&lt;br /&gt;
* Andrew W. Cross et al (2011) arXiv:1811.12926v3: Validating quantum computers using randomized model circuits&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4256</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4256"/>
		<updated>2020-03-23T19:48:31Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;: Model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;: Implementation of the model circuit by the quantum transpiler&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: width of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: depth of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}(U, U&#039;)&amp;lt;/math&amp;gt;: Average fidelity between &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: approximation error&lt;br /&gt;
* &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt;: Achievable depth, which is the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;: Quantum Volume&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;: Set of heavy outputs for a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;: Outcome of executing &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;, which is a observable bit string, &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt;: Ideal output distribution for &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;p_U(x) = |\langle x|U|0\rangle|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}&amp;lt;/math&amp;gt;: median of the set of probabilities&lt;br /&gt;
* &amp;lt;math&amp;gt;n_c&amp;lt;/math&amp;gt;: Number of repetitions, &amp;lt;math&amp;gt;n_c&amp;gt;100&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;n_s&amp;lt;/math&amp;gt;: Number of repetitions&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Quantum Computing device with a gate set&lt;br /&gt;
* Measurement device&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes&lt;br /&gt;
* The protocol can be implemented with any universal programmable quantum computing device&lt;br /&gt;
* The method used to compute the heavy outputs from the ideal output distribution of the model circuit scales exponentially with the width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Ideally, the probability of observing a heavy output would be estimated using all of the qubits of a large device, but NISQ devices have appreciable error rates, so we begin with small model circuits and progress to larger ones.&lt;br /&gt;
* The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
* Given a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, a circuit-to-circuit transpiler finds an implementation &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt; for the target system such that &amp;lt;math&amp;gt;1- F_{avg}(U, U&#039;) \leq \epsilon \ll 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input&#039;&#039;&#039;: &amp;lt;math&amp;gt;U, m&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Obtain &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* Sort in ascending order &amp;lt;math&amp;gt;p_0 \leq p_1 ... \leq p_{2^m -1}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}  = (p_{2^{m-1}} + p_{2^{m-1}-1})/2 &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U = \{x\in \{0,1\}^m&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;p_U(x) &amp;gt; p_{med}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Function&#039;&#039;&#039;: ComputeQuantumVolume&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Figure of merit: Quantum Volume, &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ..., m&amp;lt;/math&amp;gt;:&lt;br /&gt;
** For &amp;lt;math&amp;gt;j = 1, 2, ..., d&amp;lt;/math&amp;gt;:&lt;br /&gt;
*** &amp;lt;math&amp;gt;d(m) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** &amp;lt;math&amp;gt;n_h = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
*** For &amp;lt;math&amp;gt;k = 1, 2, ..., n_c&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Pick random model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;H_U =&amp;lt;/math&amp;gt; ComputeHeavyOutputs&amp;lt;math&amp;gt;(U, m)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Compile &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
**** For &amp;lt;math&amp;gt;l = 1, 2, ..., n_s&amp;lt;/math&amp;gt;:&lt;br /&gt;
***** Get output &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;&lt;br /&gt;
***** If &amp;lt;math&amp;gt;x\in H_U&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;n_h = n_h + 1&amp;lt;/math&amp;gt;&lt;br /&gt;
*** If &amp;lt;math&amp;gt;\frac{n_h-2\sqrt{n_h(n_s-n_h/n_c)}}{n_c n_S} &amp;gt; \frac{2}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
**** &amp;lt;math&amp;gt;d(m) = &amp;lt;/math&amp;gt;max&amp;lt;math&amp;gt;(d(m), d)&amp;lt;/math&amp;gt;&lt;br /&gt;
**** Store data &amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
* Calculate &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt; from stored data, where log&amp;lt;math&amp;gt;_2 V_Q&amp;lt;/math&amp;gt; = argmax&amp;lt;math&amp;gt;_m&amp;lt;/math&amp;gt; min&amp;lt;math&amp;gt;(m, d(m))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
== Related Papers ==&lt;br /&gt;
* Andrew W. Cross et al (2011) arXiv:1811.12926v3: Validating quantum computers using randomized model circuits&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Technique&amp;diff=4255</id>
		<title>Quantum Volume Technique</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Technique&amp;diff=4255"/>
		<updated>2020-03-23T19:40:58Z</updated>

		<summary type="html">&lt;p&gt;Rhea: Created page with &amp;quot;==Functionality Description== This process is used to estimate the Quantum Volume, which is a single-number metric that can be measured using a concrete protocol on near-term...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Functionality Description==&lt;br /&gt;
This process is used to estimate the Quantum Volume, which is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The [[figure of merit]] here is Quantum Volume&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Quantum Volume Estimation]]&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
* Figure of merit: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Related Papers==&lt;br /&gt;
* Andrew W. Cross et al (2011) arXiv:1811.12926v3: Validating quantum computers using randomized model circuits&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4254</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4254"/>
		<updated>2020-03-23T19:38:33Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Process Tomography]]||[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;7&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Technique]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4253</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4253"/>
		<updated>2020-03-23T19:35:39Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;: Model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;: Implementation of the model circuit by the quantum transpiler&lt;br /&gt;
* &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;: width of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;: depth of the model circuit&lt;br /&gt;
* &amp;lt;math&amp;gt;F_{avg}(U, U&#039;)&amp;lt;/math&amp;gt;: Average fidelity between &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;: approximation error&lt;br /&gt;
* &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt;: Achievable depth, which is the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;V_Q&amp;lt;/math&amp;gt;: Quantum Volume&lt;br /&gt;
* &amp;lt;math&amp;gt;H_U&amp;lt;/math&amp;gt;: Set of heavy outputs for a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;: Outcome of executing &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt;, which is a observable bit string, &amp;lt;math&amp;gt;x \in \{0,1\}^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_U(x)&amp;lt;/math&amp;gt;: Ideal output distribution for &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;p_U(x) = |\langle x|U|0\rangle|^2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p_{med}&amp;lt;/math&amp;gt;: median of the set of probabilities&lt;br /&gt;
* &amp;lt;math&amp;gt;n_c&amp;lt;/math&amp;gt;: Number of repetitions, &amp;lt;math&amp;gt;n_c&amp;gt;100&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;n_s&amp;lt;/math&amp;gt;: Number of repetitions&lt;br /&gt;
&lt;br /&gt;
==Hardware Requirements==&lt;br /&gt;
&lt;br /&gt;
* Quantum Computing device with a gate set&lt;br /&gt;
* Measurement device&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Figure of merit&#039;&#039;&#039;: Quantum Volume&lt;br /&gt;
* Quantum computing systems with high-fidelity operations, high connectivity, large calibrated gate sets, and circuit rewriting tool chains are expected to have higher quantum volumes&lt;br /&gt;
* The protocol can be implemented with any universal programmable quantum computing device&lt;br /&gt;
* The method used to compute the heavy outputs from the ideal output distribution of the model circuit scales exponentially with the width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Ideally, the probability of observing a heavy output would be estimated using all of the qubits of a large device, but NISQ devices have appreciable error rates, so we begin with small model circuits and progress to larger ones.&lt;br /&gt;
* The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;br /&gt;
* Given a model circuit &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, a circuit-to-circuit transpiler finds an implementation &amp;lt;math&amp;gt;U&#039;&amp;lt;/math&amp;gt; for the target system such that &amp;lt;math&amp;gt;1- F_{avg}(U, U&#039;) \leq \epsilon \ll 1&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4252</id>
		<title>Quantum Volume Estimation</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Volume_Estimation&amp;diff=4252"/>
		<updated>2020-03-23T15:58:16Z</updated>

		<summary type="html">&lt;p&gt;Rhea: Created page with &amp;quot;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term q...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://journals.aps.org/pra/abstract/10.1103/PhysRevA.100.032328 Quantum Volume (QV)] is a single-number metric that can be measured using a concrete protocol on near-term quantum computers of modest size. The QV method quantifies the largest random circuit of equal width and depth that the computer successfully implements. The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; [[Certification protocol]], [[Quantum Volume estimation protocol]]&lt;br /&gt;
&lt;br /&gt;
==Assumptions==&lt;br /&gt;
&lt;br /&gt;
* The transpiler is free to use all available tricks and hardware resources to implement the model circuit.&lt;br /&gt;
* The transpiler should make an honest attempt to implement the model circuit, and not merely choose a relatively simple operation far from the model circuit that nevertheless produces the heavy outputs for it.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
The quantum volume protocol is strongly related to gate error rate and is influenced by underlying qubit connectivity and gate parallelism. This protocol is based on the performance of random model circuits with a fixed but generic form. &lt;br /&gt;
&lt;br /&gt;
A model circuit is consists of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; layers of random permutations of the &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; different qubit labels, followed by random two-qubit gates. When the circuit width m is odd, one of the qubits is idle in each layer. Each two-qubit gate used in the previous step is sampled from the [[Haar measure on SU(4)]].&lt;br /&gt;
&lt;br /&gt;
Heavy output generation problem is used to define if the model circuit mentioned above is fully implemented in practice. From the outputs of all the implementations of the model circuit, we get an ideal output distribution. From this, we get the set of output probabilities and we can obtain the median of this set. The heavy outputs are the outputs for which the output probability will be greater than the median of the set of probabilities. The heavy output generation problem is to produce a&lt;br /&gt;
set of output strings such that more than two-thirds are&lt;br /&gt;
heavy.&lt;br /&gt;
&lt;br /&gt;
To evaluate heavy output generation, we implement model circuits using the gate set provided by the target system, using the available hardware. For this purpose, a quantum circuit-to-circuit transpiler is used, which finds an implementation of the model circuit, where the approximation error.&lt;br /&gt;
&lt;br /&gt;
This method to compute the quantum volume of a device consists of the following steps:&lt;br /&gt;
&lt;br /&gt;
* The Quantum transpiler tries to implement the model circuit such that the approximation error is limited. From here, we get the distribution for the implementation of the model circuit, which we use to calculate the probability of sampling a heavy output.&lt;br /&gt;
* The heavy outputs are also computed using the ideal output distribution of the model circuit.&lt;br /&gt;
* The probability of observing a heavy output by implementing a randomly selected depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; model circuit is also computed using the probability of sampling a heavy output computed in the step above.&lt;br /&gt;
* We define the achievable depth &amp;lt;math&amp;gt;d(m)&amp;lt;/math&amp;gt; to be the largest &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; such that we are confident that the probability of observing a heavy output is greater than &amp;lt;math&amp;gt;2/3&amp;lt;/math&amp;gt; (as the heavy output generation problem is to produce a set of output strings such that more than two-thirds are heavy.)&lt;br /&gt;
* The data of achievable depth is gathered by sweeping over values of width &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of the model circuit.&lt;br /&gt;
* Using all the data gathered, the quantum volume is computed. The quantum volume treats the width and depth of a model circuit with equal importance and measures the largest square shaped (i.e., &amp;lt;math&amp;gt;m = d&amp;lt;/math&amp;gt;) model circuit a quantum computer can implement successfully on average.&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4238</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4238"/>
		<updated>2020-02-05T18:16:08Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Protocol Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, Digital Signature Schemes, [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon an unconditionally secure digital signature scheme. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store the issuer&#039;s quantum state of the cheque if the protocol is not running in real-time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real-time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: A decided Digital Signature scheme, which could also be [[Quantum Digital Signature]] or any other classical digital signature scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;. Here &amp;lt;math&amp;gt;Gen&amp;lt;/math&amp;gt; is the digital signature generation funciton, &amp;lt;math&amp;gt;Sign&amp;lt;/math&amp;gt; is the signing function and &amp;lt;math&amp;gt;Vrfy&amp;lt;/math&amp;gt; is the function which verifies if the digital signature belongs to a party.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;{\rho^{(i)}_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \rho^{(i)}_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{\rho^{(i)}_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, \{\rho^{(i)}_{B}\}_{i=1:n})&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;\rho^{(i)}_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, \{\rho^{(i)}_{B}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;\rho^{(i)}_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4237</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4237"/>
		<updated>2020-02-05T18:14:38Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, Digital Signature Schemes, [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon an unconditionally secure digital signature scheme. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store the issuer&#039;s quantum state of the cheque if the protocol is not running in real-time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real-time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: A decided Digital Signature scheme, which could also be [[Quantum Digital Signature]] or any other classical digital signature scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;. Here &amp;lt;math&amp;gt;Gen&amp;lt;/math&amp;gt; is the digital signature generation funciton, &amp;lt;math&amp;gt;Sign&amp;lt;/math&amp;gt; is the signing function and &amp;lt;math&amp;gt;Vrfy&amp;lt;/math&amp;gt; is the function which verifies if the digital signature belongs to a party.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;{\rho^{(i)}_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \rho^{(i)}_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{\rho^{(i)}_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{\rho^{(i)}_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, \{\rho^{(i)}_{B}\}_{i=1:n})&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;\rho^{(i)}_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{\rho^{(i)}_{A_1}\rho^{(i)}_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\rho^{(i)}_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;\rho^{(i)}_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;\rho^{(i)}_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;\rho^{(i)}_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4236</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4236"/>
		<updated>2020-02-05T17:56:28Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, Digital Signature Schemes, [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon an unconditionally secure digital signature scheme. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store the issuer&#039;s quantum state of the cheque if the protocol is not running in real-time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real-time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: A decided Digital Signature scheme, which could also be [[Quantum Digital Signature]] or any other classical digital signature scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;. Here &amp;lt;math&amp;gt;Gen&amp;lt;/math&amp;gt; is the digital signature generation funciton, &amp;lt;math&amp;gt;Sign&amp;lt;/math&amp;gt; is the signing function and &amp;lt;math&amp;gt;Vrfy&amp;lt;/math&amp;gt; is the function which verifies if the digital signature belongs to a party.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;{\rho^{(i)}_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \rho^{(i)}_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{|\phi^{(i)}\rangle_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4235</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4235"/>
		<updated>2020-02-04T13:41:26Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Notation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, Digital Signature Schemes, [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon an unconditionally secure digital signature scheme. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store the issuer&#039;s quantum state of the cheque if the protocol is not running in real-time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real-time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: A decided Digital Signature scheme, which could also be [[Quantum Digital Signature]] or any other classical digital signature scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;. Here &amp;lt;math&amp;gt;Gen&amp;lt;/math&amp;gt; is the digital signature generation funciton, &amp;lt;math&amp;gt;Sign&amp;lt;/math&amp;gt; is the signing function and &amp;lt;math&amp;gt;Vrfy&amp;lt;/math&amp;gt; is the function which verifies if the digital signature belongs to a party.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{|\phi^{(i)}\rangle_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4234</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4234"/>
		<updated>2020-02-04T13:34:20Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, Digital Signature Schemes, [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon an unconditionally secure digital signature scheme. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store the issuer&#039;s quantum state of the cheque if the protocol is not running in real-time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real-time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: A decided Digital Signature scheme, which could also be [[Quantum Digital Signature]] or any other classical digital signature scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{|\phi^{(i)}\rangle_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4233</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4233"/>
		<updated>2020-02-04T13:14:04Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Assumptions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, [[Quantum Digital Signature]], [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme is a black box where any unconditionally secure digital signature scheme can be used which must satisfy the following security conditions of unforgeability and non-repudiation. [[Quantum Digital Signature]] is one of the examples of a digital signature scheme which can be used.&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon the [[Quantum Digital Signature]]. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store issuer&#039;s quantum state of the cheque if the protocol is not running in real time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: [[Quantum Digital Signature]] scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{|\phi^{(i)}\rangle_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4232</id>
		<title>Quantum Cheque</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Quantum_Cheque&amp;diff=4232"/>
		<updated>2020-01-28T13:37:17Z</updated>

		<summary type="html">&lt;p&gt;Rhea: /* Notation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://link.springer.com/article/10.1007/s11128-016-1273-4 Quantum Cheque] is a private-key quantum money scheme that allows trusted banks to issue perfectly secure and verifiable quantum cheque books to account holders and also enables them to undertake monetary transactions with other parties. The quantum cheque is secure against [[non-signalling]] adversaries and cannot be counterfeited.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tags:&#039;&#039;&#039; Private-Key Quantum Money, [[Quantum Digital Signature]], [[Quantum Key Distribution]], Quantum One-Way Function. &lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
* The protocol assumes the account holder and the bank, to be honest. The bank is a trusted party, however, the branches may or may not be trusted.&lt;br /&gt;
* This protocol assumes perfect state preparations, transmissions, and measurements.&lt;br /&gt;
* The protocol takes the assumption that the Quantum Digital Signature and the Quantum key distribution schemes are unconditionally secure.&lt;br /&gt;
* The digital signature scheme must satisfy the following security conditions of unforgeability and non-repudiation&lt;br /&gt;
&lt;br /&gt;
==Outline==&lt;br /&gt;
&lt;br /&gt;
This protocol allows a quantum cheque to be issued using quantum cheque books to the bank customers. The customers can then carry forward transactions in a perfectly secure manner and these cheques can be en-cashed after being verified by the trusted bank or its branches, that communicate with the main branch securely. The quantum cheque follows all the properties of a classical cheque - verifiable by a trusted bank, cannot be disavowed by the issuer and cannot be counterfeited by an adversary. &amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The entire bank transaction process can be divided into three stages, Gen, where the cheque book is generated for the account holder, Sign, where the account holder prepares a cheque and issues it to the third party and Verify, where the third party en-cashes the cheque depending upon its validity.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Gen&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the bank first creates a cheque book and a key for the account holder.&lt;br /&gt;
** Then, the bank and the account holder create a shared key using [[Quantum Key Distribution]]. Both parties agree upon the [[Quantum Digital Signature]]. The account holder stores his private key safely with himself and shares the public key with the bank. &lt;br /&gt;
** The bank then prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states (link to page) and stores only the third entangled qubit of every GHZ in the database, while handing over the first two qubits of every GHZ state to the account holder. Along with this, the bank also creates and shares a corresponding unique serial number for this cheque.&lt;br /&gt;
** Finally, the account holder has stored his identity, shared key, private key, public key, serial number and first two entangled qubits of every GHZ triplet state whereas the bank has stored each account holder&#039;s identity, shared key, public key, serial number and third entangled qubit of every GHZ triplet states in its database.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Sign&#039;&#039;&#039;&lt;br /&gt;
** In this stage, the issuer&#039;s key and amount to be signed is taken as input to produce a quantum state which acts like a cheque.&lt;br /&gt;
** Each account holder prepares &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states to issue a check worth some amount &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;. This quantum state is prepared by the quantum one-way function (Link to the page) which takes the shared key, identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; to be signed as the input. Every state from these &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; quantum states is individually encoded with one of the account holder&#039;s entangled qubit of the GHZ states using Quantum Secret Sharing: Splitting of quantum information (Link to the page). The account holder then signs the serial number with their digital signature.&lt;br /&gt;
** The quantum cheque thus produces by the account holder contains the information - the identity of the account holder, serial number, generated a random number, digital signature, amount of money signed and the other entangled qubit of the GHZ state.&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Verify&#039;&#039;&#039;&lt;br /&gt;
** In this method, the quantum cheque is verified by the trusted bank or its branches and the validity is checked.&lt;br /&gt;
** When the quantum cheque is produced at any valid branches of the bank by a third party, the information is securely communicated to the main branch. At the branch, an initial verification is carried by considering the identity of the issuer of the cheque, the serial number of the cheque and the digital signature of the issuer. If the cheque is valid, the verification process is continued, otherwise, the cheque is destroyed and the process is discontinued.&lt;br /&gt;
** The main branch performs a measurement on its copy of third entangled qubit of every GHZ triplet state which was stored in the database and securely communicates this result to the branch.&lt;br /&gt;
** The branch recovers the quantum state that was prepared by the account holder to issue the cheque, using the information received from the main branch. The branch also computes this same quantum states using the stored account holder&#039;s information like the shared key, the identity of the account holder, a random number and the amount of money &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; as input for verification. A swap test(Link to the page) is performed on both these states and if the cheque is only accepted if this test passes, else it is destroyed and aborted.&lt;br /&gt;
&lt;br /&gt;
This scheme is proven to be impossible to counterfeit and impossible to repudiate. The quantum cheque is a quantum state and thus it cannot be copied or stolen by any eavesdropper, ensuring that only one copy of the quantum cheque exists.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Secure quantum channel to connect the branches of the bank to the main branch.&lt;br /&gt;
* Secure quantum channel to connect the bank to the account holder and to connect any other third party to the bank.&lt;br /&gt;
* This protocol required quantum memory to store issuer&#039;s quantum state of the cheque if the protocol is not running in real time.&lt;br /&gt;
* Private database for both account holder and bank.&lt;br /&gt;
* Measurement devices for the account holder and the main branch of the bank.&lt;br /&gt;
&lt;br /&gt;
==Knowledge Graph==&lt;br /&gt;
&lt;br /&gt;
{{graph}}&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
* In the signing process, the quantum one-way function used to create the cheque for the account holder is assumed to take polynomial time to compute and is hard to invert.&lt;br /&gt;
* In the verification process, the bank sets a thresholding security parameter &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;. The swap test is passed if &amp;lt;math&amp;gt;\{ \langle\psi^{(i)}|\psi^{,(i)}\rangle \geq \kappa\}_{i=1:l}&amp;lt;/math&amp;gt;&lt;br /&gt;
* No quantum memory would be required for the account holder to store the quantum check if the transaction is occurring in real time.&lt;br /&gt;
* This protocol can be realized, efficiently, with few qubit systems, without compromising on the security&lt;br /&gt;
* Security: This protocol is impossible to counterfeit and non-repudiation by signatory is impossible here.&lt;br /&gt;
&lt;br /&gt;
==Notation==&lt;br /&gt;
* &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;: Shared key between account holder and bank where &amp;lt;math&amp;gt;k \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;: [[Quantum Digital Signature]] scheme, where &amp;lt;math&amp;gt;\Pi=(Gen, Sign, Vrfy)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;id&amp;lt;/math&amp;gt;: Account holder&#039;s identity.&lt;br /&gt;
* &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt;: Account holder&#039;s public key.&lt;br /&gt;
* &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;: Account holder&#039;s private key.&lt;br /&gt;
* &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;: Unique serial number where &amp;lt;math&amp;gt;s \in \{0,1\}^{l(n)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{GHZ}}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; GHZ triplet states where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ} = \frac{1}{\sqrt{2}}(|0^{(i)}\rangle_{A_1}|0^{(i)}\rangle_{A_2}|0^{(i)}\rangle_{B} + |1^{(i)}\rangle_{A_1}|1^{(i)}\rangle_{A_2}|1^{(i)}\rangle_{B})&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_1}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{A_2}}&amp;lt;/math&amp;gt;: Second entangled qubit from every GHZ triplet state which is given to account holder.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\phi^{(i)}\rangle_{B}}&amp;lt;/math&amp;gt;: First entangled qubit from every GHZ triplet state which stays with bank.&lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;: Generated random number where &amp;lt;math&amp;gt;r \in \{0,1\}^L&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;: Amount of money account holder signs on the cheque.&lt;br /&gt;
* &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;: Quantum one way function.&lt;br /&gt;
* &amp;lt;math&amp;gt;x\mid\mid&amp;lt;/math&amp;gt;y:  concatenation of two bit strings &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;{|\psi^{(i)}\rangle}&amp;lt;/math&amp;gt;: quantum state prepared by the account where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;. This quantum state is also denoted as &amp;lt;math&amp;gt;\alpha_i|0\rangle + \beta_i|1\rangle&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Phi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|00\rangle \pm |11\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|\Psi^\pm\rangle&amp;lt;/math&amp;gt;: Bell state &amp;lt;math&amp;gt;\frac{|10\rangle \pm |01\rangle}{\sqrt{2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;: In &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;, output of signing with &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;: Quantum cheque where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
        \chi = (id, s, r, \sigma, M, \{{|\phi^{(i)}\rangle_{A_1}}\}_{i=1:n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;: Threshold constant set as a security parameter by the bank in the swap test. &lt;br /&gt;
* &amp;lt;math&amp;gt;|\psi^{,(i)}\rangle&amp;lt;/math&amp;gt;: Quantum state prepared by the bank for verification.&lt;br /&gt;
&lt;br /&gt;
==Protocol Description==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 1&#039;&#039;&#039;: Gen&amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;:  Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt; and Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {\|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt; in their private databases.&lt;br /&gt;
&lt;br /&gt;
* Account holder and Bank create &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder and Bank agree on &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder submits &amp;lt;math&amp;gt;pk&amp;lt;/math&amp;gt; to Bank.&lt;br /&gt;
* Account holder secretly stores &amp;lt;math&amp;gt;sk&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank generates GHZ triple state &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
** Bank stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; in their private database.&lt;br /&gt;
** Bank gives &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to account holder.&lt;br /&gt;
* Bank prepares &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and shares it with the account holder.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder stores &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; privately.&lt;br /&gt;
* Account holder now holds &amp;lt;math&amp;gt;(id, pk, sk, k, s, \{|\phi^{(i)}\rangle_{A_1}|\phi^{(i)}\rangle_{A_2}\}_{i=1:n})&amp;lt;/math&amp;gt;&lt;br /&gt;
* Bank now holds &amp;lt;math&amp;gt;(id, pk, k, s, {|\phi^{(i)}\rangle_{B}\}_{i=1:n})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 2&#039;&#039;&#039;: Sign &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Account holder generates &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Account holder prepares &amp;lt;math&amp;gt;|\psi^{(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Account holder encodes &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{GHZ}&amp;lt;/math&amp;gt; by combining &amp;lt;math&amp;gt;|\psi^{(i)}\rangle&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt; and performing a bell measurement on the two.&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
                |\phi^{(i)}\rangle =  |\psi^{(i)}\rangle \otimes |\phi^{(i)}\rangle_{GHZ}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
** Based on the measurement, account holder performs the suitable error correction, by applying the corresponding Pauli matrix, on &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_1}&amp;lt;/math&amp;gt;:&lt;br /&gt;
         &amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
            |\Phi^{(+)}\rangle  \xrightarrow{} I,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_z,&lt;br /&gt;
            |\Psi^{(+)}\rangle  \xrightarrow{} \sigma_x,&lt;br /&gt;
            |\Phi^{(-)}\rangle  \xrightarrow{} \sigma_y,&lt;br /&gt;
           &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* Account holder signs the serial number &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; using &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;, as &amp;lt;math&amp;gt;\sigma \xleftarrow{} Sign_{sk}(s)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Account holder produces &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stage 3&#039;&#039;&#039;: Verify &amp;lt;/br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Output&#039;&#039;&#039;: Cheque gets accepted or the process is aborted and the cheque is destroyed.&lt;br /&gt;
&lt;br /&gt;
* Third party produces the &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt; at a valid branch of the bank.&lt;br /&gt;
* Branch communicates with main branch of the bank and checks validity of &amp;lt;math&amp;gt;(id, s)&amp;lt;/math&amp;gt; and runs &amp;lt;math&amp;gt;{Vrfy}_{pk}(\sigma, s)&amp;lt;/math&amp;gt;. &lt;br /&gt;
** If invalid:&lt;br /&gt;
*** Bank aborts the process and destroys the cheque.&lt;br /&gt;
** else:&lt;br /&gt;
*** Bank continues the verification process.&lt;br /&gt;
* Main branch of the bank performs the measurement in Hadamard basis on its copy of &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{B}&amp;lt;/math&amp;gt; and obtains outcome &amp;lt;math&amp;gt;|+\rangle&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;|-\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
* Main branch communicates this result with the local branch.&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Based on outcome, branch performs the corresponding Pauli matrix operation on  &amp;lt;math&amp;gt;|\phi^{(i)}\rangle_{A_2}&amp;lt;/math&amp;gt; to recover &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; : &amp;lt;math&amp;gt;|+\rangle \xrightarrow{} I, |-\rangle \xrightarrow{} \sigma_z&amp;lt;/math&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank computes &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle &amp;lt;/math&amp;gt;, where,&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center;&amp;quot;&amp;gt;&amp;lt;math&amp;gt;          &lt;br /&gt;
               |\Psi^{,(i)}\rangle = f(k \mid\mid id\mid\mid r\mid\mid M\mid\mid i)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* For &amp;lt;math&amp;gt;i = 1, 2, ...n&amp;lt;/math&amp;gt;:&lt;br /&gt;
** Bank performs swap test on &amp;lt;math&amp;gt;|\Psi^{(i)}\rangle&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;|\Psi^{,(i)}\rangle&amp;lt;/math&amp;gt;. &lt;br /&gt;
*** If &amp;lt;math&amp;gt;\langle\Psi^{(i)}|\Psi^{,(i)}\rangle \geq \kappa&amp;lt;/math&amp;gt;:&lt;br /&gt;
**** Bank aborts the process and destroys the cheque.&lt;br /&gt;
*** else:&lt;br /&gt;
**** Bank continues the verification process.&lt;br /&gt;
* Bank accepts the cheque.&lt;br /&gt;
&lt;br /&gt;
==Further information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&#039;text-align: right;&#039;&amp;gt;&#039;&#039;*contributed by Rhea Parekh&#039;&#039;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
	<entry>
		<id>https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4194</id>
		<title>Certification Library</title>
		<link rel="alternate" type="text/html" href="https://wiki.veriqloud.fr/index.php?title=Certification_Library&amp;diff=4194"/>
		<updated>2019-11-20T14:16:43Z</updated>

		<summary type="html">&lt;p&gt;Rhea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!width=&amp;quot;40%&amp;quot;|Technique&lt;br /&gt;
!width=&amp;quot;100%&amp;quot;|Protocols&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cross Entropy Benchmarking]]||[[Cross Entropy Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Cycle Benchmarking]]||[[Cycle Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Hamiltonian and Phase Estimation]]||[[Hamiltonian and Phase Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Estimation]]||[[Direct Fidelity Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Fidelity Witnessing]]||[[Fidelity witnesses for fermionic quantum simulations]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|[[Process Tomography]]||[[Full Quantum Process Tomography with Linear inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Quantum Gate Set Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|[[Randomised Benchmarking]]||[[Interleaved Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Purity Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Standard Randomised Benchmarking]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;7&amp;quot;|[[State Tomography]]||[[Compressed Sensing Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Linear Inversion]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Maximum Likelihood Estimation]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography with Bayesian mean estimation (BME)]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Full Quantum state tomography using confidence regions]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Matrix Product State tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|[[Tensor Network Tomography]]&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;1&amp;quot;|[[Quantum Volume Estimation]]||[[Quantum Volume Estimation]]&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Rhea</name></author>
	</entry>
</feed>