# Quantum Gate Set Tomography

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

## Contents

## Assumptions[edit]

- 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[edit]

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.

- Linear inversion method (LGST):

## Hardware Requirements[edit]

- Measurement device.

## Notation[edit]

- : 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[edit]

- 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.

## Procedure Description[edit]

**Output**: Gate set,

- Initialize system to
- For :
- For :
- For :
- For
- Apply gate sequence
- Measure with POVM , get or

- if (null gate),

- For

- For :

- For :
- 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 the above function with two different commonly used types of parameterisation of gates:
- Pauli Process Matrix Optimization problem:

- Minimize the above function with two different commonly used types of parameterisation of gates:

- Pauli Transfer Matrix Representation

## Further Information[edit]

## Related Papers[edit]

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