Quantum Gate Set Tomography: Difference between revisions

From Quantum Protocol Zoo
Jump to navigation Jump to search
(Created page with "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 meth...")
 
No edit summary
Line 1: Line 1:
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 [link here] is inaccurate in 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.
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.


'''Tags:''' [[Certification protocol]], [[Tomography]], [[Quantum process density matrix reconstruction]], [[Maximum Likelihood estimation]], [[Linear Inversion]], [[Gate set]]
'''Tags:''' [[Certification protocol]], [[Tomography]], [[Quantum process density matrix reconstruction]], [[Maximum Likelihood estimation]], [[Linear Inversion]], [[Gate set]]
Line 87: Line 87:
==Protocol Description==
==Protocol Description==


'''Output''': Gate set, $G$
'''Output''': Gate set, <math>G</math>


* Initialize system to $|\rho\rangle$
* Initialize system to <math>|\rho\rangle</math>
* For $i = 1, 2, ..., N$:
* For <math>i = 1, 2, ..., N</math>:
** For $j = 1, 2, ..., N$:
** For <math>j = 1, 2, ..., N</math>:
*** For $k = 1, 2, ..., K$:
*** For <math>k = 1, 2, ..., K</math>:
**** For $r = 1, 2, ..., n$
**** For <math>r = 1, 2, ..., n</math>
***** Apply gate sequence $F_i \circ G_k \circ F_j$
***** Apply gate sequence <math>F_i \circ G_k \circ F_j</math>
***** Measure with POVM $E$, get $n_r = 1$ or $n_r = 0$
***** Measure with POVM <math>E</math>, get <math>n_r = 1</math> or <math>n_r = 0</math>
**** $m_{ijk} = \sum_{r=1}^{n} \frac{n_r}{n}$
**** <math>m_{ijk} = \sum_{r=1}^{n} \frac{n_r}{n}</math>
**** $(\tilde{G}_k)_{ij} = p_{ijk} = m_{ijk} =  \langle E|F_iG_kF_j|\rho\rangle$
**** <math>(\tilde{G}_k)_{ij} = p_{ijk} = m_{ijk} =  \langle E|F_iG_kF_j|\rho\rangle</math>
**** if $k==0$ (null gate), $g_{ij} = \langle E|F_iF_j|\rho\rangle$
**** if <math>k==0</math> (null gate), <math>g_{ij} = \langle E|F_iF_j|\rho\rangle</math>
** $|\tilde{\rho}\rangle_i = \langle E|F_i|\rho\rangle$
** <math>|\tilde{\rho}\rangle_i = \langle E|F_i|\rho\rangle</math>
** $B_{ij} = \langle i |F_j |\rho\rangle$
** <math>B_{ij} = \langle i |F_j |\rho\rangle</math>
* For Linear inversion:
* For Linear inversion:
** Check that the Gram matrix $g_{ij}$ is non singular, so that it may be inverted
** Check that the Gram matrix <math>g_{ij}</math> is non singular, so that it may be inverted
** For the gate set, the estimate is $|\hat{\rho}\rangle = g^{-1}|\tilde{\rho}\rangle, \langle \hat{E}| = \langle \tilde{E} |, \hat{G_k} = g^{-1} \tilde{G}_k$
** For the gate set, the estimate is <math>|\hat{\rho}\rangle = g^{-1}|\tilde{\rho}\rangle, \langle \hat{E}| = \langle \tilde{E} |, \hat{G_k} = g^{-1} \tilde{G}_k</math>
** Apply gauge optimization, by minimizing:
** Apply gauge optimization, by minimizing:
          \begin{equation}
<div style="text-align: center;"><math>\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})\}
              \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})\}
</math></div>
          \end{equation}
** Final gate set is: <math>\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}</math>
          \item Final gate set is: $\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}$
* For Maximum Likelihood Estimation:
* For Maximum Likelihood Estimation:
** $\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$
** <math>\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</math>
**  Find the set of parameters $\vec{t}$ where $l(\hat{G})$ is minimized.
**  Find the set of parameters <math>\vec{t}</math> where <math>l(\hat{G})</math> is minimized.
           Minimize: \begin{equation}
           <div style="text-align: center;">Minimize: <math>
               l(\hat{G}) = \sum_{ijk} (m_{ijk} - \hat{p}_{ijk}(\vec{t}))^2 / \sigma^2_{ijk}
               l(\hat{G}) = \sum_{ijk} (m_{ijk} - \hat{p}_{ijk}(\vec{t}))^2 / \sigma^2_{ijk}
           \end{equation}
           </math></div>
          \item Minimize the above function with two different commonly used types of parameterisation of gates:
** Minimize the above function with two different commonly used types of parameterisation of gates:
          \begin{enumerate}
*** Pauli Process Matrix Optimization problem:
              \item Pauli Process Matrix Optimization problem:
      <div style="text-align: center;">Minimize: <math>
              Minimize: \begin{equation}
                 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}
                 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}
              \end{equation}
      </math></div>
              Subject to: \begin{equation}
      <div style="text-align: center;">Subject to: <math>
                   \sum_{mn}(\chi_G)_{mn}Tr\{P_mP_rP_n\} - \delta_{0r} = 0, (r = 1, .. , d^2), \forall G \in Gateset
                   \sum_{mn}(\chi_G)_{mn}Tr\{P_mP_rP_n\} - \delta_{0r} = 0, (r = 1, .. , d^2), \forall G \in Gateset
               \end{equation}
               </math></div>
              \begin{equation}
      <div style="text-align: center;"><math>
                   Tr\{\rho\} = 1
                   Tr\{\rho\} = 1
               \end{equation}
               </math></div>
              \begin{equation}
      <div style="text-align: center;"><math>
                   1 - E \geqslant 0
                   1 - E \geqslant 0
               \end{equation}
               </math></div>
              \item Pauli Transfer Matrix Representation
*** Pauli Transfer Matrix Representation
              Minimize: \begin{equation}
<div style="text-align: center;">  Minimize: <math>
                 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}
                 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}
               \end{equation}
               </math></div>
              Subject to: \begin{equation}
<div style="text-align: center;">Subject to: <math>
                   \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
                   \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
               \end{equation}
               </math></div>
              \begin{equation}
<div style="text-align: center;"><math>
                   (R_G)_{0i} = \delta_{0i}, \forall G \in Gateset
                   (R_G)_{0i} = \delta_{0i}, \forall G \in Gateset
               \end{equation}
               </math></div>
              \begin{equation}
<div style="text-align: center;"><math>
                   (R_G)_{ij} \in [-1, 1], \forall G, i, j
                   (R_G)_{ij} \in [-1, 1], \forall G, i, j
               \end{equation}
               </math></div>
              \begin{equation}
<div style="text-align: center;"><math>
                   Tr\{\rho\} = 1
                   Tr\{\rho\} = 1
              \end{equation}
              </math></div>
              \begin{equation}
<div style="text-align: center;"><math>
                   1 - E \geqslant 0
                   1 - E \geqslant 0
               \end{equation}
               </math></div>
          \end{enumerate}
==Further Information==
      \end{enumerate}
 
==Related Papers==
* Daniel Greenbaum (2015) arXiv:1509.02921v1: Introduction to Quantum Gate Set Tomography

Revision as of 14:29, 11 September 2019

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.

Tags: Certification protocol, Tomography, Quantum process density matrix reconstruction, Maximum Likelihood estimation, Linear Inversion, Gate set

Assumptions

  • The selected measurement basis should be tomographically complete.
  • 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.
  • 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.
  • In the gate set, the first gate is always selected to be the null gate.
  • We assume no knowledge about the gate set.

Outline

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.


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.

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.

This method consists of the following steps:

  • Initialize the qubit to a particular state. In most systems, the natural choice for this state is the ground state of the qubit.
  • 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.
  • 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 . (Sometimes is used)
  • 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 ) is recorded as 1 and the measurement failure (i.e., the measured state is not ) is recorded as 0.
  • The measurement results in the step above are averaged over the number of times the measurement was repeated and the expectation value is calculated.
  • 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.
  • 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.
  • To find the gate set estimate from the measurement data, there are two techniques:
    • Linear inversion method (LGST):
      • 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.
      • 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.
    • 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.
      • 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.
      • 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).
      • 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.
      • There are two kinds of parameterizations for gates that are commonly used: The Pauli Process Matrix representation and The Pauli transfer Matrix Representation.

Hardware Requirements

  • Measurement device.

Notation

  • : Dimension of Hilbert space
  • : Gate set. . Generally null gate.
  • : SPAM gate set. . is composed of gates in .
  • : Initial quantum state. Generally the natural choice for is
  • : 2-outcome POVM.
  • : Number of times the measurement is repeated.
  • : Result of measurement.
  • : measurement of the expectation value
  • : Expectation value.
  • : Gram matrix
  • : Gauge matrix
  • : Parameter vector
  • : Parameterised estimate matrix. This has parameters.
  • : Parameterised state matrix. This has parameters.
  • : Parameterised measurement matrix. This has parameters.
  • : likelihood function.
  • : The sampling variance in the measurement .
  • : Process matrix for gate is defined in terms of the gate’s action on an arbitrary state to produce a new state . . is a Hermitian positive semidefinite matrix, written in terms of
  • : a lower-diagonal complex matrix,
  • : Pauli operator acting on the state
  • : Pauli tranfer matrix for a gate G is defined in terms of the gate’s action on Pauli matrices.

Properties

  • Figure of merit: Gate set
  • Multiple copies of the quantum state are required in this method.
  • should be tomographically complete.
  • 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.
  • SPAM gates are included in the gate set for self-consistency.
  • 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.
  • In the gate set, the first gate is generally selected to be the null gate.
  • The simulated errors are of three different types, representing coherent and incoherent gate errors as well as intrinsic SPAM errors.

Protocol Description

Output: Gate set,

  • Initialize system to
  • For :
    • For :
      • For :
        • For
          • Apply gate sequence
          • Measure with POVM , get or
        • if (null gate),
  • For Linear inversion:
    • Check that the Gram matrix is non singular, so that it may be inverted
    • For the gate set, the estimate is
    • Apply gauge optimization, by minimizing:
    • Final gate set is:
  • For Maximum Likelihood Estimation:
    • Find the set of parameters where is minimized.
Minimize:
    • Minimize the above function with two different commonly used types of parameterisation of gates:
      • Pauli Process Matrix Optimization problem:
Minimize:
Subject to:
      • Pauli Transfer Matrix Representation
Minimize:
Subject to:

Further Information

Related Papers

  • Daniel Greenbaum (2015) arXiv:1509.02921v1: Introduction to Quantum Gate Set Tomography