Quantum state tomography (QST) aims at reconstructing the state of a quantum system. However, in conventional QST, the number of measurements scales exponentially with the number of qubits. Here, we propose a QST protocol, in which the introduction of a threshold allows one to drastically reduce the number of measurements required for the reconstruction of the state density matrix without compromising the result accuracy. In addition, one can also use the same approach to reconstruct an approximated density matrix tailoring the number of measurements on the available resources. We experimentally demonstrate this protocol by performing the tomography of states up to 7 qubits. We show that our approach can lead to results in agreement with those obtained by QST even when the number of measurements is reduced by more than two orders of magnitude.

In the past few years, the race for quantum technologies has favored the realization of large and complex quantum states in various platforms, including superconducting,1 atomic,2,3 and photonic systems.4–9 Such advances are an important resource for the implementation of useful quantum computers and an extraordinary opportunity for fundamental studies in quantum mechanics.

Ideally, one would like to know the complete state of a quantum system, for this is sufficient to compute the value of any other observable. However, as the dimension of the quantum system increases, this task is not trivial at all. For example, consider quantum state tomography (QST),10 which is arguably the most famous approach for quantum state reconstruction. The idea is to obtain the density matrix of the system from the measurements of a set of observables on a large enough ensemble of identical copies of the state. This method is general and does not make any a priori assumption on the state. However, a system composed of n qudits requires determining the expectation value of at least d2n observables, that is, the number of independent entries of the density matrix. Such an exponential growth of the number of measurements with the number of qudits can make the experimental implementation of QST unfeasible even for just three or four qudits, depending on the quantum system under investigation.

Over the years, strategies have been developed to decrease the number of required measurements, usually by leveraging certain assumptions about the state or the anticipated outcome. For example, the efficiency of compressed sensing QST depends on the rank of the density matrix, with the state characterization done via a certain number of random Pauli measurements.11 Further improvements in this approach have reduced the number of necessary measurement sets significantly.12,13 In QST via reduced density matrices, one necessitates the state to be uniquely determined by local reduced density matrices or the assumption that the global state is pure.14 In Bayesian QST, one defines conditional probabilities starting from measurement results and a suitable a priori distribution over the space of possible states.15,16 In self-guided QST, one addresses tomography through optimization rather than estimation, iteratively learning the quantum state by treating tomography as a projection measurement optimization problem.17–19 

Other strategies avoid the reconstruction of the density matrix by focusing only on some relevant information about the state. For instance, in shadow tomography, one can estimate the value of a large number of observables with a few copies of the unknown state.20–22 Finally, quantum witnesses are useful to verify some crucial properties of a quantum state, such as its degree of entanglement and the kind of quantum correlation.23 While these last two approaches are extremely useful and applicable to states of large dimensions, it is somewhat disappointing that, after all the efforts to implement a state, one cannot look at it as a whole.

In this work, we describe and analyze threshold Quantum State Tomography (tQST),24 a protocol that allows one to reconstruct the density matrix of a quantum state, even of large dimension, by allowing an efficient trade-off between the number of measurements and the accuracy of the state reconstruction through the presence of a threshold parameter. We show that tQST can drastically reduce the resources required for state reconstruction, but it can also be used to obtain an approximated density matrix by further reducing the number of measurements and the experimental efforts. The protocol can be applied to any quantum system and does not make any assumption about the state to be characterized. First, we outline the tQST procedure and discuss its implementations in the case of n-qubits. Second, we experimentally verify the protocol by performing tQST on systems up to 7 qubits with the IBMQ platform and compare the results with conventional QST. Finally, we draw our conclusions.

In conventional QST, the number of measurements required to reconstruct the density matrix is uniquely determined by its dimension.10 Specifically, a system of n qubits requires at least 4n measurements, that is, the number of independent parameters of the state density matrix. These measurements can be performed in an arbitrary sequence, and the results are finally combined to obtain the state density matrix through maximum likelihood estimation or other approaches.25–27 

Here, we begin by noting that a density matrix, denoted as ρ, is required to have a unit trace, be Hermitian, and positive semi-definite. Specifically, the latter property entails that any element ρij of a physical density matrix ρ must fulfill the condition |ρij|ρiiρjj. Thus, measuring the diagonal elements of the density matrix (i.e., projecting on the states of the computational basis) provides some information on the off-diagonal terms. Indeed, if ρii is found to be zero, then one can immediately set to zero all the elements of the ith row and column of ρ. Similarly, if ρii and ρjj are different from zero but small compared to the other diagonal elements, one knows that the modulus of ρij will be small too.

These considerations are at the basis of tQST, whose protocol is illustrated in Fig. 1. First, one measures the diagonal elements {ρii} of the density matrix, which are directly accessible by projecting on the chosen computational basis. Second, one chooses a threshold t and, by exploiting the information on {ρii}, identifies those ρij for which ρiiρjjt. Third, one constructs a proper set of observables associated with these ρij (see subsection n-qubit projectors) and performs only those measurements. Finally, one uses these results to reconstruct the density matrix, for example, using maximum-likelihood estimation. We stress that maximum likelihood estimation is not the only possible choice, and one can consider other approaches, such as linear inversion, Bayesian mean estimation,28 or linear regression estimation.29 

FIG. 1.

Pictorial representation of the tQST process. (1) Measurement of the diagonal terms ρii. (2) Choice of the threshold t. The choice of t resembles that of positioning the bar in a limbo competition. If the bar is very low (t ≪ 1), a successful performance will certainly be spectacular. However, if the bar is too low, the dance may be prohibitive even for a most skilled athlete. This is the situation of conventional QST when the number of measurements to be performed is unreasonable. On the contrary, for a sufficiently high bar, even a beginner may be able to dance, but the result may not be particularly noteworthy. (3) Construction and measurement of the observable associated with the off-diagonal terms. (4) Reconstruction of the density matrix; we plot the absolute values of the matrix elements colored by their phase as indicated by the color bar.

FIG. 1.

Pictorial representation of the tQST process. (1) Measurement of the diagonal terms ρii. (2) Choice of the threshold t. The choice of t resembles that of positioning the bar in a limbo competition. If the bar is very low (t ≪ 1), a successful performance will certainly be spectacular. However, if the bar is too low, the dance may be prohibitive even for a most skilled athlete. This is the situation of conventional QST when the number of measurements to be performed is unreasonable. On the contrary, for a sufficiently high bar, even a beginner may be able to dance, but the result may not be particularly noteworthy. (3) Construction and measurement of the observable associated with the off-diagonal terms. (4) Reconstruction of the density matrix; we plot the absolute values of the matrix elements colored by their phase as indicated by the color bar.

Close modal

In tQST, the information achieved by measuring the diagonal terms of ρ is immediately used to decide the subsequent measurements to be performed, by choosing to neglect the terms of ρ that in modulus are smaller than a certain threshold. Unlike conventional QST, the resources necessary to reconstruct the state are not uniquely determined by the dimension of the quantum system but can be controlled with the threshold t. For example, if one sets t = 0, all the elements of ρ are considered, and the protocol reduces to conventional QST. On the contrary, for t > 0, the protocol may require fewer measurements than those needed with conventional QST and, in any case, no more than them. Importantly, one does not make any a priori assumption on the state or the result of the characterization. It should be noted that unlike adaptive approaches,12,13 in which the necessary measurement sets cannot be known a priori, for each one is chosen based on the outcomes of the previous measurement set, in tQST, the projectors can all be determined once the system is measured in the chosen computational basis. In this respect, we hasten to emphasize that, once a threshold value is chosen, the protocol does not simply reduce to measuring a subspace of the Hilbert space of the whole system.

The threshold t determines the amount of information one is willing to trade in exchange for fewer measurements. This has several consequences. First, one may be able to reconstruct the entire density matrix of a large state by reducing the amount of measurements to a level compatible with the available experimental resources. Second, fewer measurements can give a significant advantage in terms of storing and handling experimental data. Third, one may be able to avoid useless measurements and increase the integration time for the remaining measurements, leading to an improvement in the signal-to-noise ratio. The amount of information obtainable in the characterization of a quantum state is always limited, for example by noise or the finite precision of the experimental setup. Such experimental constraints de facto bound the accuracy with which ρ can be determined, even for traditional QST. Thus, although one may naively expect that reducing the number of measurements will decrease the quality of the results, as we shall see in the following, a wise choice of t can still guarantee practically reaching the best achievable result while requiring fewer resources.

In Fig. 2, we show the simulated reconstruction of the density matrix via tQST with maximum likelihood estimation of several W states for different numbers of qubits ranging from 4 to 7.30 Even for the case of 7 qubits, in which traditional QST would have required 16 384 measurements, one can reconstruct ρ with a fidelity of about 99% with the target state by implementing only 170 measurements. We stress here that the dramatic reduction in the number of measurements is not simply given by the choice of a particular state, but rather by the employed computational basis, which affects the final state representation. As in compressed sensing tomography or similar approaches, sparse matrices are usually easier to reconstruct, because most of the information is contained in fewer elements of the density matrix. Yet, for sparse matrices, the advantage of tQST can be significantly larger than with other approaches. Take, for example, the 7-qubit state reconstructed in Ref. 31 via compressed sensing QST, in which the characterization required 16 256 projective measurements. While this number is significantly smaller than 6n, which is the number of observables of the typical tomographically overcomplete set, this is still 99% of the 4n observables that are strictly necessary.10 On the contrary, the very same state could be reconstructed via tQST by performing only 184 measurements, which is about 1% of those required by compressed sensing (see the supplementary material). We stress that tQST can also be applied to matrices that are not sparse, where the threshold t will determine both the number of measurements and the reliability of the reconstruction.

FIG. 2.

Reconstruction of the density matrix of a W state via tQST. We consider different numbers of qubits and threshold values: (a) 4 qubits, t = 0.1, (b) 5 qubits, t = 0.01, (c) 6 qubits, t = 0.001, and (d) 7 qubits, t = 0.0001. For each case, we indicate the number of measurements used and the fidelity with the corresponding target state.

FIG. 2.

Reconstruction of the density matrix of a W state via tQST. We consider different numbers of qubits and threshold values: (a) 4 qubits, t = 0.1, (b) 5 qubits, t = 0.01, (c) 6 qubits, t = 0.001, and (d) 7 qubits, t = 0.0001. For each case, we indicate the number of measurements used and the fidelity with the corresponding target state.

Close modal
As shown in Fig. 2, a notable feature of tQST is that a significant reduction in the number of measurements does not necessarily lead to large errors in the reconstruction of the density matrix. However, this feature is strongly dependent on the state representation. More in general, one may be interested in using tQST because the available resources are simply not enough to implement the traditional QST. In this case, it is important to have an estimate of the largest error that is associated with the threshold choice. Specifically, given the diagonal elements {ρii} and a corresponding threshold t, one can estimate a lower bound for the fidelity achievable through a tQST reconstruction (see Sec. IV C),
(1)
where Ct is the ensemble of the elements ρij that are below threshold (i.e., Ct={ij}ρiiρjj<t) and rρ̄ is the rank of the ideal density matrix. We stress that in some cases, this can be a quite conservative lower bound but still useful to verify whether a resulting low fidelity depends on the choice of an excessively high threshold, or rather a real dissimilarity between ρ and the target state.

Our approach can be extended to systems composed of n qudits (see the supplementary material). In the case of qubits, we developed a Python package, which implements tQST for an arbitrary number of qubits that are freely available to users on GitHub.32 

We experimentally demonstrate tQST by using the IBMQ processor lagos,33,34 which allows one to prepare states with up to 7 superconducting qubits. In our implementation, each time we program the system to generate a target quantum state by constructing the corresponding quantum circuit. We first reconstruct the state density matrix by performing conventional QST as implemented by IBMQ, which uses linear inversion on the outcomes of an overcomplete set of 6n observables. This process generally yields a non-positive reconstructed state, which is subsequently rescaled to be positive semi-definite.35 We then reconstruct the same state by using tQST, where the threshold t is chosen by considering the typical signal-to-noise ratio (SNR) of the system to avoid unnecessary measurements (Sec. IV B). In this case, we use a maximum likelihood estimation to obtain the (positive semi-definite) density matrix from the measured expectation values (Sec. IV D). To compare the results, we compute the fidelities between the target state and the reconstructed ones and also that between the two reconstructed states. This choice is motivated by the fact that while not exhaustive, fidelity remains a widely recognized metric.

In our analysis, we generated 300 random states for a number of qubits from 4 to 7 and sorted them according to the diagonal filling, i.e., the percentage of expected non-vanishing diagonal elements. In Fig. 3, we show representative results for filling percentages of 25% (a) and (d), 50% (b) and (e), and 75% (c) and (f) for the case of 4 and 7 qubits (other representative results for 5 and 6 qubits are shown in Fig. 1 of the supplementary material). Each panel of the figure shows the circuit to generate the state, the density matrix reconstructed with conventional QST, and the one obtained with tQST. In this last case, we also report the value of the threshold t and the corresponding number of measurements used in the reconstruction. Since we choose t according to the typical SNR of the system, such a number is also related to the sparsity of the state representation. For the cases of 4, 5, and 6 qubits, we observe up to a 100-fold reduction in the number of required measurements compared to IBMQ-QST. For the case of 7 qubits, such a reduction is 300 for the case of Fig. 3(d).

FIG. 3.

tQST on random circuits implemented in an IBMQ processor. (a)–(c) 4-qubit states generated from random circuits with a diagonal filling of 25%, 50%, and 75%, respectively. (d)–(f) Same as before for 7-qubit states. For more details, see Sec. I of the supplementary material.

FIG. 3.

tQST on random circuits implemented in an IBMQ processor. (a)–(c) 4-qubit states generated from random circuits with a diagonal filling of 25%, 50%, and 75%, respectively. (d)–(f) Same as before for 7-qubit states. For more details, see Sec. I of the supplementary material.

Close modal

As evident from the state representation, despite the significant difference in the number of measurements, the states reconstructed with IBMQ-QST and tQST are very similar. A more quantitative analysis is obtained by calculating the fidelity between the two reconstructed states, which in all cases is about 90% or above, as shown in Fig. 4. The same figure also reports the fidelity of the tQST-reconstructed state with the target one. Remarkably, this is always comparable (within errors) to the fidelity between the IBMQ-QST reconstructed state and the target one (see Table S1 of the supplementary material). Thus, no advantage is obtained with IBMQ-QST by performing more measurements than those set by the threshold in tQST. This suggests that when the threshold is determined by the SNR of the system, the tQST protocol can extract all the amount of information accessible with conventional QST, yet with a smaller number of measurements.

FIG. 4.

Quantitative comparison between the reconstructed QST and tQST density matrices of the random circuits illustrated in Fig. 1 of the supplementary material. (a) Comparison of QST and tQST density matrix fidelities. The red line represents the tQST fidelity bound corresponding to the specified circuit threshold. (b) Scaling of the required measurements with the number of qubits for both QST and tQST reconstructions.

FIG. 4.

Quantitative comparison between the reconstructed QST and tQST density matrices of the random circuits illustrated in Fig. 1 of the supplementary material. (a) Comparison of QST and tQST density matrix fidelities. The red line represents the tQST fidelity bound corresponding to the specified circuit threshold. (b) Scaling of the required measurements with the number of qubits for both QST and tQST reconstructions.

Close modal

The IBMQ processor lagos limits our analysis to 7 qubits. Yet, it is interesting to further investigate the performance of tQST by extrapolating the analysis to a larger number of qubits. In this analysis, we considered simulated data with a SNR analogous to that of the IBMQ system and followed the same strategy for the threshold choice. We considered the case of W states and increased the number of qubits up to 14, limited now only by our hardware. In Table I, we report the number of qubits, the threshold t, the number of measurements, and the fidelity with respect to the target state. In all the cases, we obtained fidelities exceeding 90%. We stress that in the cases of 14 qubits, the 16 556 measurements required by tQST make the reconstruction in principle experimentally accessible today. On the contrary, conventional QST would necessitate at least 414 = 268, 435, 456 measurements that, at the moment, appear as a prohibitive number.

TABLE I.

tQST reconstruction of a W state from synthetic data where an ad hoc noise similar to the one observed in Ref. 2 has been introduced. The number of the needed off-diagonal measures for the state reconstruction scales as n2n with the number of qubits, and, therefore, it is subdominant with respect to the number of diagonal measurements (2n) necessary for the determination of the threshold.

QubitsThreshold (t)MeasuresFidelity (%)
0.053 312 91.5 
0.047 584 91.9 
10 0.042 1114 91.2 
11 0.038 2158 91.4 
12 0.035 4228 91.4 
13 0.032 8348 91.3 
14 0.030 16 556 91.3 
QubitsThreshold (t)MeasuresFidelity (%)
0.053 312 91.5 
0.047 584 91.9 
10 0.042 1114 91.2 
11 0.038 2158 91.4 
12 0.035 4228 91.4 
13 0.032 8348 91.3 
14 0.030 16 556 91.3 

We have proposed and implemented a protocol for QST that allows one to reconstruct the density matrix of any quantum state with a number of measurements that can be considerably smaller than that required by conventional QST. Such an approach does not make any a priori assumptions on the state and employs a threshold t to control the amount of information used in the state reconstruction. The presence of such a threshold allows one to trade the minimum fidelity with which the state can be reconstructed with the amount of resources to perform the characterization, thus reducing the number of measurements significantly. In addition, the threshold can be set to take into account the experimental limitations that may lead to unnecessary measurements. Our protocol was implemented on the IBMQ system lagos to characterize random states up to 7 qubits. In all the considered cases, the fidelity achieved with tQST was compatible within the experimental uncertainty with that obtained by using conventional QST but with a smaller amount of measurements (in some cases 300 times smaller). This suggests that our protocol is able to efficiently access all the information that can be extracted from the system. Finally, by using synthetic data, we pushed the approach to our computational limit and performed the characterization of W states up to 14 qubits, reaching a fidelity larger than 90% with only 16 000 expectation values, four orders of magnitudes less than what would be required by conventional QST.

Our protocol is a flexible and practical approach for the full characterization of large quantum systems, including those based on atoms or photons. For example, the reconstruction of the 8-qubit state that was done in Ref. 2 took hours and required days to handle the outcomes of some 656 000 measurements, but our approach would require only 312 measurements, thus reducing the experimental efforts significantly. Similarly, in the case of photon-based systems4 for which the detection rate is often limited by loss, our tomographic approach is expected to allow for the full reconstruction of states exceeding 10 photons. For these reasons, we believe that tQST will be particularly useful to the whole quantum community.

The real (respectively, imaginary) part of an off-diagonal element of a density matrix ρ can be obtained from
(2)
where Oijre (respectively, Oijim) is an operator with: 1/2 (respectively, i/2) at the entry ij; 1/2 (respectively, −i/2) at the entry ji; and zero otherwise. How to experimentally conduct a series of measurements corresponding to these operators remains unknown. Instead, one can determine a set of 4n projectors, denoted as P = |ψ⟩⟨ψ|, where |ψ⟩ is separable: |ψ=k=1n|ϕk with |ϕk⟩ being an eigenstate of the Pauli matrices. The projectors associated with the real or imaginary part of the matrix element ij of the density matrix are then given by
(3)
where ‖◦‖2 represents the Frobenius norm.
A given set of projectors is said to be tomographically complete if there exists a unique set of scalars aKre,im (with K = {ij} a multi-index) such that the density matrix can be reconstructed, that is,
(4)
Equivalently, suppressing the “re” and “im” superindices, one gets
(5)
which means that the matrix MLK=trPLPK=|ψL|ψK|2 has to be invertible and the scalars aK are uniquely determined as aK=M1KLtrPLρ.10 Notice that, owing to the presence of equivalent minima in Eq. (3), it is not guaranteed that a complete set exists; however, if a complete set exists, then the matrix M is positive definite.
We found that in the case of an n-qubit system, a tomographically complete set of projectors associated with the elements of a n-qubit density matrix can be obtained from the eigenvectors of the Pauli matrices. In the conventional polarization notation, these eigenvectors are
(6)
In the 1-qubit case, one possibility is P11re=|H, P22re=|V, P12re=|D, and P12im=|R, or, in a more suggestive form,
(7)
This is a 2 × 2 table structured in such a way that the projector associated with measuring the real or imaginary component of the element ρij of the 1-qubit density matrix is given by the real or imaginary part of the entry (ij) in Eq. (7). For example, information on the imaginary part of ρ12 is encoded in the matrix element ⟨R|ρ|R⟩. Entries with a value of “0” (which, indeed, acts as the zero element for the recursive operations below) do not need to be explicitly determined, as the density matrix is Hermitian. Consequently, we will assume, without loss of generality, that ji whenever we aim to determine Pij. It should be noticed that the implementation of the projectors in Eq. (7) requires only local measurements on each qubit, as in traditional QST approaches such as that implemented by IBMQ or in Ref. 10.
A set of tomographically complete separable projectors for n > 1 can then be constructed through the following recursion relation:
(8)
where we have defined
(9)
and analogously for all n. So, in the 2-qubit case, Eq. (8) in conjunction with the results
(10a)
(10b)
(with X = H, V, D, R) yields
(11)
Information about, for example, the real (imaginary) part of ρ23 is then encoded in the matrix element ⟨RR|ρ|RR⟩ (⟨RD|ρ|RD⟩). The outlined procedure yields a total of 4n projectors, and we have numerically verified that up to n = 14, the corresponding matrix M is invertible. In Eq. (8), the notation |Hπ signifies a table where the entries result from the product of the ket |H⟩ and the kets contained in π. Therefore, πn is a table that has twice the number of rows and columns compared to πn−1.

The recursive structure outlined in Eq. (8) can be leveraged to reduce the necessity of generating the entire set of projectors upfront. Instead, we can generate projectors on-demand, specifically for elements of the density matrix that need to be measured to achieve faithful reconstruction given a certain threshold.

To this end, we divide πn into four quadrants, with “1” referring to the upper-left quadrant and “4” indicating the lower-right quadrant. Each of the quadrants 2 and 3 is further divided into an upper (“u”) and a lower (“l”) triangular part. The real part of the elements along the diagonal is assigned to the u portion, while the imaginary part is assigned to the l portion. This subdivision is pictorially represented in Fig. 5.

FIG. 5.

Example determination of the projectors associated with two density matrix elements of 3- and 4-qubit systems using the recursive procedure outlined in the main text. At each state, the density matrix is divided into 4 different quadrants: quadrant “1” is colored in violet, quadrant “2” is colored in blue, quadrant “3” is colored in green, and quadrant “4” is colored in golden yellow. Quadrants “2” and “3” are further subdivided into an upper (lighter) and a lower (darker) part. Each plane represents a successive iteration of the algorithm outlined in the main text, which proceeds from bottom to top. (a) The 3-qubit matrix element ρ3,5im is located in quadrants “2l3l4” and corresponds to the |RDV⟩ projector according to Table II. (b) 4-qubit matrix element ρ4,9re is located in quadrants “2l3u12u,” therefore corresponding to the projector |RRHD⟩ according to Table II.

FIG. 5.

Example determination of the projectors associated with two density matrix elements of 3- and 4-qubit systems using the recursive procedure outlined in the main text. At each state, the density matrix is divided into 4 different quadrants: quadrant “1” is colored in violet, quadrant “2” is colored in blue, quadrant “3” is colored in green, and quadrant “4” is colored in golden yellow. Quadrants “2” and “3” are further subdivided into an upper (lighter) and a lower (darker) part. Each plane represents a successive iteration of the algorithm outlined in the main text, which proceeds from bottom to top. (a) The 3-qubit matrix element ρ3,5im is located in quadrants “2l3l4” and corresponds to the |RDV⟩ projector according to Table II. (b) 4-qubit matrix element ρ4,9re is located in quadrants “2l3u12u,” therefore corresponding to the projector |RRHD⟩ according to Table II.

Close modal

To determine the projector corresponding to the density-matrix element ρi,j, we initially locate it within πn, which immediately determines the projector associated with the first qubit, that is, |H⟩, |D⟩, |R⟩, or |V⟩ according to its position: 1, 2u, 2l, or 4, respectively. We then continue splitting the quadrant where the element is found until we reach a resulting quadrant size of 2 × 2. At each splitting step, if the element falls into quadrant 1 or 4, the projector associated with the next qubit is |H⟩ (for 1) or |V⟩ (for 4). Conversely, if it falls into quadrant 2 or 3, the projector choice depends on its position in the previous splitting step. For an element in an upper quadrant, we select |D⟩; and, for an element in a lower quadrant, we select |R⟩ unless the previous quadrant was either 2l or 3l, in which case the choice is reversed. Table II summarizes these steps.

TABLE II.

Determining the choice of the 1-qubit projector at each recursive step in Eq. (8). In the first step, “previous quadrant” is always “any.” See the text and Fig. 5 for details on the procedure.

Previous quadrantNew quadrant1-Qubit projector
Any |H⟩ 
Any |V⟩ 
Any except 2l, 3l 2u, 3u |D⟩ 
Any except 2l, 3l 2l, 3l |R⟩ 
2l, 3l 2u, 3u |R⟩ 
2l, 3l 2l, 3l |D⟩ 
Previous quadrantNew quadrant1-Qubit projector
Any |H⟩ 
Any |V⟩ 
Any except 2l, 3l 2u, 3u |D⟩ 
Any except 2l, 3l 2l, 3l |R⟩ 
2l, 3l 2u, 3u |R⟩ 
2l, 3l 2l, 3l |D⟩ 

As an illustration, Fig. 5 shows the determination of two projectors for a 3- and a 4-qubit system. More specifically, in the 3-qubit case, we consider the matrix element ρ3,5im; its successive locations in π3 are described by the sequence “2l3l4,” which, according to Table II, corresponds to the local projector |RDV⟩. The projector associated with ρ4,9re in a 4-qubit system is instead determined by the locations in π4 described by the sequence “2l3u12u”; using Table II, one then finds |RRHD⟩.

The selection of an appropriate threshold value is dependent on the specific physical system used to implement the qubits (e.g., noise level), the amount of available resources (e.g., time requirements), and the desired quantum state to be generated.

In the case of IBMQ quantum processors considered here, it is possible to evaluate a convenient circuit-specific threshold using the IBMQ simulator available in the qiskit package. First, one simulates the unitary evolution of a ground-state initialized quantum register according to the circuit itself (we have used ns = 10, 000 shots). Measuring all qubits yields the expected diagonal counts in the absence of errors, which can be separated into zero and non-zero counts. Second, one uses the IBMQ simulator (which includes the effect of noise) to run the circuit a number of times (100 in our case) and record the maximum value of the counts among the expected zero elements of the diagonal, c0max, and the minimum value of the counts for the smallest expected non-zero diagonal element, c>0min. Third, one defines, in a conservative way the noise threshold as t0=c0max+nc0max and the signal threshold as t>0=c>0minnc>0min. The square root terms consider the variability of the counts c0max and c>0min each time the circuit is simulated; the n factor takes finally into account that, for the quantum processors considered, the noise increases with the number of qubits n. Then, we use as the circuit-specific (normalized) threshold the quantity
(12)
which discards those diagonal entries most affected by noise. For the depth 3 quantum circuits analyzed herein, we generally have t>0t0; tQST works best whenever t>0t0, whereas t>0t0 indicates an unfavorable signal-to-noise ratio.
Fixing a threshold t given a set of diagonal elements {ρii} establishes a lower bound on the fidelity achievable through a tQST reconstruction of ρ. Let Ct={{ij}ρiiρjj<t}, and consider the estimator matrix ρt={0{ij}Ct;ρiiρjjotherwise} (note that ρ = ρt if t = 0). Then, one has the inequalities36,37
(13a)
(13b)
with the fidelity defined according to F(ρ,ρt)=Trρρtρ, ‖◦‖1 being the trace distance, δt = ρρt, and rρ being the rank of the density matrix. As t increases, the state purity of ρt decreases so that r(ρ) ≤ r(ρt). Indeed, the estimator ρt is a density matrix with the off-diagonal elements below threshold set to zero. Physically, this corresponds to making the density matrix more mixed and increasing its rank with respect to ρ. In addition, δt2Ctρiiρjj. Thus, we obtain the lower bound
(14)
In our investigations, we noticed that the actual tQST fidelity can be significantly greater than the one established by Eq. (14).
After measuring the counts NK associated with the density matrix elements |ρK|≥ t using the corresponding projectors, the density matrix is reconstructed by minimizing the function
(15)
which is the negative log-likelihood function assuming that the noise on the counts has a Gaussian probability distribution.10 In order to minimize L, it is necessary to parameterize the density matrix ρ, in such a way that it fulfills the physical conditions of being Hermitian and positive semi-definite. A general approach is to write ρ = TT, where T is a triangular matrix. In this case, the number of parameters to be determined grows as 4n. If one has reasons to believe that ρ describes a high-purity state, then one can express it as ρ = VV with dim(V) = r(ρt) × 2n. In this case, the parameters needed for the reconstruction will scale more favorably with the system dimension.

The supplementary material contains a more detailed analysis of the states reconstructed on the IBM quantum processor, a comparison between tQST and the compressed sensing approach, and an outline on the extension of tQST to qudit systems.

We thank Professor Daniel F. V. James of the University of Toronto for useful discussions.

This work was supported by PNRR MUR, Project No. PE0000023-NQSTI.

The authors have no conflicts to disclose.

D. Binosi: Data curation (equal); Formal analysis (equal); Investigation (equal); Methodology (equal); Software (equal); Writing – original draft (equal); Writing – review & editing (equal). G. Garberoglio: Data curation (equal); Formal analysis (equal); Investigation (equal); Methodology (equal); Software (equal); Writing – original draft (equal); Writing – review & editing (equal). D. Maragnano: Conceptualization (equal); Data curation (equal); Formal analysis (equal); Investigation (equal); Methodology (equal); Software (supporting); Writing – original draft (equal); Writing – review & editing (equal). M. Dapor: Formal analysis (equal); Funding acquisition (equal); Investigation (equal); Methodology (equal); Project administration (equal); Writing – original draft (equal); Writing – review & editing (equal). M. Liscidini: Conceptualization (equal); Formal analysis (equal); Funding acquisition (equal); Investigation (equal); Methodology (equal); Project administration (equal); Writing – original draft (equal); Writing – review & editing (equal).

The data that support the findings of this study are available from the corresponding author upon reasonable request.

1.
S.
Cao
,
B.
Wu
,
F.
Chen
,
M.
Gong
,
Y.
Wu
,
Y.
Ye
,
C.
Zha
,
H.
Qian
,
C.
Ying
,
S.
Guo
et al, “
Generation of genuine entanglement up to 51 superconducting qubits
,”
Nature
619
,
738
742
(
2023
).
2.
H.
Häffner
,
W.
Hänsel
,
C.
Roos
,
J.
Benhelm
,
D.
Chek-al Kar
,
M.
Chwalla
,
T.
Körber
,
U.
Rapol
,
M.
Riebe
,
P.
Schmidt
et al, “
Scalable multiparticle entanglement of trapped ions
,”
Nature
438
,
643
646
(
2005
).
3.
T.
Monz
,
P.
Schindler
,
J. T.
Barreiro
,
M.
Chwalla
,
D.
Nigg
,
W. A.
Coish
,
M.
Harlander
,
W.
Hänsel
,
M.
Hennrich
, and
R.
Blatt
, “
14-qubit entanglement: Creation and coherence
,”
Phys. Rev. Lett.
106
,
130506
(
2011
).
4.
X.-L.
Wang
,
L.-K.
Chen
,
W.
Li
,
H.-L.
Huang
,
C.
Liu
,
C.
Chen
,
Y.-H.
Luo
,
Z.-E.
Su
,
D.
Wu
,
Z.-D.
Li
,
H.
Lu
,
Y.
Hu
,
X.
Jiang
,
C.-Z.
Peng
,
L.
Li
,
N.-L.
Liu
,
Y.-A.
Chen
,
C.-Y.
Lu
, and
J.-W.
Pan
, “
Experimental ten-photon entanglement
,”
Phys. Rev. Lett.
117
,
210502
(
2016
).
5.
M.
Zhang
,
L.-T.
Feng
,
Z.-Y.
Zhou
,
Y.
Chen
,
H.
Wu
,
M.
Li
,
S.-M.
Gao
,
G.-P.
Guo
,
G.-C.
Guo
,
D.-X.
Dai
, and
X. F.
Ren
, “
Generation of multiphoton quantum states on silicon
,”
Light: Sci. Appl.
8
,
41
(
2019
).
6.
W.-B.
Gao
,
C.-Y.
Lu
,
X.-C.
Yao
,
P.
Xu
,
O.
Gühne
,
A.
Goebel
,
Y.-A.
Chen
,
C.-Z.
Peng
,
Z.-B.
Chen
, and
J.-W.
Pan
, “
Experimental demonstration of a hyper-entangled ten-qubit Schrödinger cat state
,”
Nat. Phys.
6
,
331
335
(
2010
).
7.
M.
Agnew
,
J.
Leach
,
M.
McLaren
,
F. S.
Roux
, and
R. W.
Boyd
, “
Tomography of the quantum state of photons entangled in high dimensions
,”
Phys. Rev. A
84
,
062101
(
2011
).
8.
C.
Reimer
,
S.
Sciara
,
P.
Roztocki
,
M.
Islam
,
L.
Romero Cortés
,
Y.
Zhang
,
B.
Fischer
,
S.
Loranger
,
R.
Kashyap
,
A.
Cino
et al, “
High-dimensional one-way quantum processing implemented on d-level cluster states
,”
Nat. Phys.
15
,
148
153
(
2019
).
9.
L. S.
Madsen
,
F.
Laudenbach
,
M. F.
Askarani
,
F.
Rortais
,
T.
Vincent
,
J. F.
Bulmer
,
F. M.
Miatto
,
L.
Neuhaus
,
L. G.
Helt
,
M. J.
Collins
et al, “
Quantum computational advantage with a programmable photonic processor
,”
Nature
606
,
75
81
(
2022
).
10.
D. F. V.
James
,
P. G.
Kwiat
,
W. J.
Munro
, and
A. G.
White
, “
Measurement of qubits
,”
Phys. Rev. A
64
,
052312
(
2001
).
11.
D.
Gross
,
Y.-K.
Liu
,
S. T.
Flammia
,
S.
Becker
, and
J.
Eisert
, “
Quantum state tomography via compressed sensing
,”
Phys. Rev. Lett.
105
,
150401
(
2010
).
12.
D.
Ahn
,
Y. S.
Teo
,
H.
Jeong
,
F.
Bouchard
,
F.
Hufnagel
,
E.
Karimi
,
D.
Koutný
,
J.
Řeháček
,
Z.
Hradil
,
G.
Leuchs
, and
L. L.
Sánchez-Soto
, “
Adaptive compressive tomography with no a priori information
,”
Phys. Rev. Lett.
122
,
100404
(
2019
).
13.
D.
Ahn
,
Y. S.
Teo
,
H.
Jeong
,
D.
Koutný
,
J.
Řeháček
,
Z.
Hradil
,
G.
Leuchs
, and
L. L.
Sánchez-Soto
, “
Adaptive compressive tomography: A numerical study
,”
Phys. Rev. A
100
,
012346
(
2019
).
14.
T.
Xin
,
D.
Lu
,
J.
Klassen
,
N.
Yu
,
Z.
Ji
,
J.
Chen
,
X.
Ma
,
G.
Long
,
B.
Zeng
, and
R.
Laflamme
, “
Quantum state tomography via reduced density matrices
,”
Phys. Rev. Lett.
118
,
020401
(
2017
).
15.
R.
Derka
,
V.
Buzek
,
G.
Adam
, and
P.
Knight
, “
From quantum bayesian inference to quantum tomography
,” arXiv:quant-ph/9701029 (
1997
).
16.
H.-H.
Lu
,
K. V.
Myilswamy
,
R. S.
Bennink
,
S.
Seshadri
,
M. S.
Alshaykh
,
J.
Liu
,
T. J.
Kippenberg
,
D. E.
Leaird
,
A. M.
Weiner
, and
J. M.
Lukens
, “
Bayesian tomography of high-dimensional on-chip biphoton frequency combs with randomized measurements
,”
Nat. Commun.
13
,
4338
(
2022
).
17.
C.
Ferrie
, “
Self-guided quantum tomography
,”
Phys. Rev. Lett.
113
,
190404
(
2014
).
18.
R. J.
Chapman
,
C.
Ferrie
, and
A.
Peruzzo
, “
Experimental demonstration of self-guided quantum tomography
,”
Phys. Rev. Lett.
117
,
040402
(
2016
).
19.
M.
Rambach
,
M.
Qaryan
,
M.
Kewming
,
C.
Ferrie
,
A. G.
White
, and
J.
Romero
, “
Robust and efficient high-dimensional quantum state tomography
,”
Phys. Rev. Lett.
126
,
100402
(
2021
).
20.
S.
Aaronson
, “
Shadow tomography of quantum states
,” in
Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing
(
ACM Digital Library
,
2018
), pp.
325
338
.
21.
H.-Y.
Huang
,
R.
Kueng
, and
J.
Preskill
, “
Predicting many properties of a quantum system from very few measurements
,”
Nat. Phys.
16
,
1050
1057
(
2020
).
22.
G.
Struchalin
,
Y. A.
Zagorovskii
,
E.
Kovlakov
,
S.
Straupe
, and
S.
Kulik
, “
Experimental estimation of quantum state properties from classical shadows
,”
PRX Quantum
2
,
010307
(
2021
).
23.
H.
Zhu
,
Y. S.
Teo
, and
B.-G.
Englert
, “
Minimal tomography with entanglement witnesses
,”
Phys. Rev. A
81
,
052339
(
2010
).
24.
D.
Maragnano
,
D.
Binosi
,
G.
Garberoglio
,
C.
Cusano
,
M.
Dapor
, and
M.
Liscidini
, “
Threshold quantum state tomography
,” in
2023 23rd International Conference on Transparent Optical Networks (ICTON)
(
IEEE
,
2023
), pp.
1
4
.
25.
Z.
Hradil
, “
Quantum-state estimation
,”
Phys. Rev. A
55
,
R1561
R1564
(
1997
).
26.
M. S.
Kaznady
and
D. F. V.
James
, “
Numerical strategies for quantum tomography: Alternatives to full optimization
,”
Phys. Rev. A
79
,
022109
(
2009
).
27.
J. M.
Lukens
,
K. J. H.
Law
,
A.
Jasra
, and
P.
Lougovski
, “
A practical and efficient approach for bayesian quantum state estimation
,”
New J. Phys.
22
,
063038
(
2020
).
28.
R.
Blume-Kohout
, “
Optimal, reliable estimation of quantum states
,”
New J. Phys.
12
,
043034
(
2010
).
29.
B.
Qi
,
Z.
Hou
,
L.
Li
,
D.
Dong
,
G.
Xiang
, and
G.
Guo
, “
Quantum state tomography via linear regression estimation
,”
Sci. Rep.
3
,
3496
(
2013
).
30.
W.
Dür
,
G.
Vidal
, and
J. I.
Cirac
, “
Three qubits can be entangled in two inequivalent ways
,”
Phys. Rev. A
62
,
062314
(
2000
).
31.
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
,”
Nat. Commun.
8
,
15305
(
2017
).
32.
D.
Binosi
,
G.
Garberoglio
,
D.
Maragnano
,
M.
Dapor
, and
M.
Liscidini
,
tresholdqst: A Python library to implement threshold quantum state tomography for qubits
,
2024
.
33.
Qiskit contributors
,
Qiskit: An open-source framework for quantum computing
,
2023
.
34.
N.
Kanazawa
,
D. J.
Egger
,
Y.
Ben-Haim
,
H.
Zhang
,
W. E.
Shanks
,
G.
Aleksandrowicz
, and
C. J.
Wood
, “
Qiskit experiments: A Python package to characterize and calibrate quantum computers
,”
J. Open Source Softw.
8
,
5329
(
2023
).
35.
J. A.
Smolin
,
J. M.
Gambetta
, and
G.
Smith
, “
Efficient method for computing the maximum-likelihood quantum state from measurements with additive Gaussian noise
,”
Phys. Rev. Lett.
108
,
070502
(
2012
); arXiv:1106.5458 [quant-ph].
36.
C. A.
Fuchs
and
J.
Van De Graaf
, “
Cryptographic distinguishability measures for quantum-mechanical states
,”
IEEE Trans. Inf. Theory
45
,
1216
1227
(
1999
).
37.
J.
Haah
,
A. W.
Harrow
,
Z.
Ji
,
X.
Wu
, and
N.
Yu
, “
Sample-optimal tomography of quantum states
,” in
Proceedings of the forty-eighth Annual ACM Symposium on Theory of Computing
(
ACM Digital Library
,
2016
), pp.
913
925
.