# Compressed Sensing Tomography

In this example protocol quantum state tomography is performed using compressed sensing method. This method is specialized for quantum states that are fairly pure and they offer a significant performance improvement on large quantum systems. A low-density matrix can be estimated using fewer copies of the state and hence the sample complexity of the tomography decreases with the rank. Unknown low-rank states can also be reconstructed from an incomplete set of measurements using matrix completion techniques. This method is less resource expensive and more reliable recovery is possible based on the same type of randomly chosen measurements compared to full tomography.

**Tags:** Certification protocol, Tomography, Quantum State density matrix reconstruction, compressed sensing

## Contents

## Assumptions[edit]

- The scheme is robust to noise and continues to perform well when the measurements are imprecise or when the state is only close to a low-rank state.
- A binomial noise model is assumed in this method, but minor modifications could extend this result to other relevant noise models, such as multinomial, Gaussian, or Poissonian noise.
- Multiple copies of the final quantum state are available.

## Outline[edit]

This technique concentrates on the states that are well approximated by density matrices of rank less than the dimension. This approach can be applied to many realistic experimental situations, where the ideal state of the system is pure, and physical constraints ensure that the actual noisy state still has low entropy. Compressed sensing tomography involves two steps, measuring an incomplete set of observables and using trace minimization or regularization to reconstruct low-rank solutions. The goal of this method is to reconstruct a low-rank state using as few samples as possible.

There are two different methods used to determine the density matrix of the unknown quantum state. The first estimator is obtained by constrained trace minimisation and the second estimator is obtained by least-squares linear regression with trace-norm regularization.

The method describes the measurement procedure first and then the density matrix reconstruction process is described. This method consists of the following steps:

- Consider a system of qubits, with the dimension to be
- Form a set of Pauli operators using Pauli matrices.
- Choose a particular number of Pauli operators by sampling uniformly and independently at random from the set formed in the set above. (Alternatively, one can choose these Pauli operators randomly without replacement)
- For each of the Pauli operator selected in step 3, use a particular number of copies of the unknown quantum state, and for each of this quantum state measure the selected Pauli operator. Average the measurement outcomes over all copies of the unknown quantum state to obtain an estimate of the expectation value. The number of selected copies of the quantum state and the number of the selected Pauli operators from the set are dependent on the dimension and the rank of the density matrix. A sampling operator is defined here using the expectation value after normalising it.
- The output of the measurement procedure is then described as a linear vector which also takes the statistical noise due to the finite number of samples, or even due to an adversary into consideration.
- To estimate the density matrix of the quantum state, one of the two methods: constrained trace minimisation (a.k.a. the matrix Dantzig selector) or least-squares linear regression with trace-norm regularization (a.k.a. the matrix Lasso) can be used. Both of these methods are based on the intuition of finding the density matrix which fits the measurement data while minimizing the trace norm of that matrix, which serves as a surrogate for minimising the rank of that matrix.

## Hardware Requirements[edit]

- Trusted Measurement device.

## Notation[edit]

- : number of qubits in the system
- : Dimension of the Hilbert space.
- : Set of all Pauli operators.
- : Pauli operator in .
- : This belongs to the set of Pauli matrices
- : Selected number of Pauli operators.
- : unknown quantum state
- : total number of copies of . , is the unknown rank and is the accuracy in the trace distance
- : Sampling operator which is a linear map defined for all . Normalisation is chosen because
- : expectation value of a random variable
- : statistical noise due to the finite number of samples, or even due to an adversary
- : Vector to describe the measurement procedure
- : Matrix that fits data
- : Estimate for the matrix using matrix Dantzig selector
- : Parameter for trace minimisation which is set according to the noise in the data
- : Estimate for the matrix using matrix Lasso
- : regularization parameter which is set according to the noise level
- : fixed absolute constants
- : For any quantum state , we write where is the best rank-r approximation to and is the residual part.

## Properties[edit]

- Figure of merit: Density Matrix of the quantum state
- A random subset of log Pauli observables are used in this method. The sample complexity of compressed tomography is nearly independent of the number of measurement settings , so long as poly log .
- The accuracy of the compressed sensing estimates are fairly insensitive to the number of measurement settings So by choosing one still obtains accurate estimates, but with much faster classical post-processing, since the size of the data set scales like rather than
- This method uses log copies of the unknown quantum state.
- Compressed tomography provides better accuracy at a reduced computational cost compared to standard maximum-likelihood estimation
- This method works on the “universal” method for low-rank matrix recovery, which states that there exists a fixed set of poly log Pauli measurements, that has the ability to reconstruct every rank- × matrix. With a high probability, a random choice of Pauli measurements will achieve this.
- when the unknown matrix ρ is full rank, our method returns a (certifiable) rank-r approximation of ρ, that is almost as good as the best such approximation
- The information-theoretic lower bound for tomography of rank- states using adaptive sequences of single-copy Pauli measurements is at least log copies are needed to obtain an estimate with constant accuracy in the trace distance. The upper bound on the sample complexity of compressed tomography is nearly tight, and compressed tomography nearly achieves the optimal sample complexity among all possible methods using Pauli measurements.

## Procedure Description[edit]

**Input**: copies of unknown quantum state

**Output**: Density matrix of the quantum state,

- Consider system of qubits and dimension
- Define and select operators from
- Make copies of the unknown quantum state
- For :
- For :
- Measure on

- Average measurement results to get
- Define sampling operator

- For :
- Output of measurements is defined as the vector
- To estimate there are two methods:
- Using trace minimization:
- Choose such that , then
- argmin such that

- Using least-squares linear regression with trace-norm regularization:
- Choose such that , then
- argmin

- Using trace minimization:

## Further Information[edit]

- Direct Fidelity Estimation can be further generalised to work with low-rank states. Thus, one can use compressed sensing tomography to get an estimated density matrix and use Direct fidelity estimation to check whether this state agrees with the true state. This check is guaranteed to be sound, even if the true state is not approximately low rank. Hence this is used to certify the state.
- Compressed sensing tomography (as mentioned in Steven T. Flammia et al) can also be applied to Quantum Process tomography. This method would have an advantage when the unknown quantum process has a small Kraus rank (only be expressed with a few Kraus operators). This occurs, for example, when the unknown process consists of unitary evolution combined with local noise (acting on each qubit individually, or acting on small subsets of the qubits). The process here can be characterised in log settings

## Related Papers[edit]

- Steven T. Flammia et al arXiv:1205.2300: Quantum Tomography via Compressed Sensing: Error Bounds, Sample Complexity, and Efficient Estimators
- David Gross et al arXiv:0909.3304: Quantum state tomography via compressed sensing
- A. Kalev, R. L Kosut, and I. H Deutsch. Quantum tomography protocols with positivity are compressed sensing protocols. njp Quant. Inf., 1:15018, 2015.
- C. A. Riofrio, D. Gross, S. T. Flammia, T. Monz, D. Nigg, R. Blatt, and J. Eisert. Experimental quantum compressed sensing for a seven-qubit system. Nature Comm., 8:15305, 2017.

**contributed by Rhea Parekh*