Abstract
Entanglement is fundamental to quantum physics and information processing. In this work, we introduce the Few-Shot Randomized Measurement (FSRM) method, developing an unbiased estimator for mixed-state entanglement from just three experimental shot outcomes. By incorporating the Bell measurement (BM), we supplement the traditional computational-basis measurement to enhance the randomized measurement scheme, which is scalable to n-qubit systems via BMs on qubit pairs. Our approach enables direct estimation of entanglement through random unitary evolution in a photonic system. Compared to the classical shadow method, BM-enhanced FSRM requires no prior knowledge of the local unitaries, offering greater robustness against unitary imperfections. Additionally, we find that utilizing more versatile measurement settings with fewer repeats per setting is more efficient under fixed measurement resources. Our protocol and experimental demonstration represent a significant advancement in the efficient and practical characterization of quantum states.
Similar content being viewed by others
Introduction
Entanglement1, as the very nature of nonlocal correlation, plays a fundamental role in physics, from quantum foundations to quantum many-body physics2, and is also a central fuel for quantum information processing3. Characterization and quantification of entanglement is one of the core topics in the field and is challenging in general1,4,5. Methods like the entanglement witness4,5,6 need the prior knowledge of the state form, and the full tomography method not only needs extensive measurement resources but also may introduce biasedness in the entanglement calculation7.
The difficulties lie in the essence that the boundary between the entangled states and the separable states is very complicated8,9,10,11. In this way, entanglement measures used to quantify the amount of entanglement are thus highly nonlinear and complex1,8,12, and cannot be directly evaluated. One widely employed entanglement measure is the entanglement negativity \({\mathcal{N}}={\sum }_{\lambda < 0}| \lambda |\)13,14, with λ the eigenvalues of \({\rho }_{AB}^{{T}_{B}}\), which is obtained by the partial transpose (PT) operation TB on the joint density matrix ρAB. Such entanglement measures are inherently highly nonlinear and complex1,8, making their direct evaluation intractable in general.
To overcome this, recent work has focused on low-order approximations of entanglement negativity based on PT moments15,16. These are quantities of the form \({p}_{k}=Tr[{({\rho }_{AB}^{{T}_{B}})}^{k}]\)17,18, with ρAB as quantum state with two subsystems A and B, which can already detect entanglement at small k. For instance, the p3-PPT criterion19 uses \({{\mathcal{N}}}_{3}={p}_{2}^{2}-{p}_{3}\), where \({{\mathcal{N}}}_{3} > 0\) certifies entanglement in mixed states. Yet, conventional approaches to PT moments require access to k identical copies of the state simultaneously (e.g., k = 3 for p3), posing significant practical hurdles.
Recently, randomized measurement (RM) schemes20,21 have emerged as powerful tools for directly estimating nonlinear state functions without multi-copy control18,19,22,23,24,25,26,27,28. In a standard RM protocol, the measurement procedure consists of NU rounds. In the i-th round, a random unitary Ui is applied, followed by a fixed measurement \({\mathbb{M}}\), which effectively corresponds to measuring in the rotated basis \({U}_{i}^{\dagger }{\mathbb{M}}{U}_{i}\). In each round, it repeats NM times and generates NM n-bit binary shot outcomes (e.g., 010...1) for an n-qubit system. For sufficiently large NM, one can estimate the conditional probabilities (b∣U) for all bit strings b. By averaging statistical moments over the unitary ensemble, such as \({{\mathbb{E}}}_{U}[{(({\bf{b}}| U))}^{k}]\), it is then possible to estimate some k-th order nonlinear functions of the density matrix, \({{\mathcal{T}}}_{k}(\rho )=Tr({T}_{k}{\rho }^{\otimes k})\). These include, in particular, the PT moments pk. Specifically, the k-th order PT moment for subsystems A and B is given by \({p}_{k}=Tr[({W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}){\rho }^{\otimes k}]\), where W→/← are (anti-)clockwise cyclic permutation operators on subsystem A/B18,19. In this case, \({T}_{k}={W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}\). Importantly, RM exploits the statistical properties of random unitaries to access such observables without requiring explicit knowledge of the sampled unitaries29.
A related breakthrough is the classical shadow (CS) method30,31,32. Unlike RM, which estimates probabilities by collecting many outcomes per unitary, CS typically acquires only one shot outcome on each measurement round, i.e. NM = 1. While one shot outcome per unitary precludes direct probability estimation, with the knowledge of Ui, it enables construction of a classical shadow snapshot: \({\widehat{\rho }}_{i}={{\mathcal{M}}}^{-1}[{U}_{i}^{\dagger }\left|{{\bf{b}}}_{i}\right\rangle \left\langle {{\bf{b}}}_{i}\right|{U}_{i}]\), where \({{\bf{b}}}_{i}\in {{\mathbb{F}}}_{2}^{n}={\{0,1\}}^{n}\) is the observed n-bit shot outcome at the i-th round measurement for an n-qubit state. k independent shadows are needed to calculate an unbiased CS estimator for PT-moment as \(\widehat{{p}_{k}}=Tr[({W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}){\widehat{\rho }}_{{l}_{1}}\otimes \cdots \otimes {\widehat{\rho }}_{{l}_{k}}]\). Thus, the estimation becomes:
where \({\mathbb{E}}\) is the expectation over experiments with random unitaries, and with one-shot outcome collected for each unitary, i.e., by averaging over all pairs (i, j) (for p2) or triples (i, j, l) (for p3) of measurement rounds. This demonstrates that CS requires only two and three shot outcomes to calculate \(\widehat{{p}_{2}}\) and \(\widehat{{p}_{3}}\), respectively. Hence, CS intrinsically exhibits the few-shot property, which enhances the efficiency in probing the mixed-state entanglement19. However, the explicit dependence of \({\widehat{\rho }}_{i}\) on the specific Ui makes CS estimators vulnerable to unitary implementation errors, which can cause a mismatch between the assumed and actual unitaries and introduce bias and error into the estimates.
In this work, we introduce an efficient and robust way for the estimation denoted as few-shot randomized measurements (FSRM), a hybrid approach combining RM’s noise resilience with CS’s few-shot efficiency, as shown in Fig. 1a. FSRM, on the one hand, does not require the precise information of the random unitary transformation; on the other hand, it estimates p2 and p3 using 2 or 3 outcomes per unitary (Fig. 1b). The estimation of p2 and p3 in FSRM can be summarized as:
with bi,1, bi,2 and bi,3 are observed shot outcomes obtained from the experiment under same randomized unitary Ui at the i-th measurement round and the expectation \({\mathbb{E}}\) here is for the average over a certain FSRM experimental process. Unlike CS, we also allow FSRM to incorporate Bell-basis measurement (BM) to enhance the estimation of p3, thus called ‘BM-enhanced FSRM’, as shown in Fig. 1b.
The connected blue balls are for the n-qubit quantum state, and the boxes are for the random local unitary. The diagrams represent the order of operations. A Demonstration of few-shot randomized measurements (FSRM). In FSRM, the protocol consists of NU measurement rounds. In the i-th round, the measurement basis is rotated by a randomly chosen unitary, resulting in \({U}_{i}^{\dagger }{\mathbb{M}}{U}_{i}\), where \({\mathbb{M}}\) is a fixed measurement. Unlike standard RM or CS methods, only NM = k outcomes are collected per round, denoted by bi,1,...,bi,k, which are then used to get a real number O(bi,1,...,bi,k) from some function O. The average of the real numbers is the estimation of the target quantity \({{\mathcal{T}}}_{k}(\rho )\). In particular, choosing k = 2 or 3 allows estimation of the mixed-state entanglement moments p2 and p3. Importantly, FSRM does not require recording the applied unitaries, relying solely on the few collected outcomes to obtain an unbiased estimation. B Demonstration of BM-enhanced FSRM. We slice the state into pairs of qubits. After the random unitary rotation shown in (A), all pairs undergo a Bell-basis measurement (BM) or a computational-basis measurement (CM) with some probability, i.e., \({\mathbb{M}}\in \{{\rm{CM,\; BM}}\}\). For BM, we record bases with labels 0, 1, 2, 3, and for CM, we record bases with labels 00, 01, 10, 11 for post-processing. The overall measurement basis can be represented by an n-bit string \(\overrightarrow{s}\). These recorded bases, with the measurement shot outcomes, can give an unbiased estimation following the process in (A).
We experimentally validate both FSRM and CS in biphoton experiments for estimating mixed-state entanglement. Remarkably, due to the irrelevance feature of BM-enhanced FSRM to the information of random unitary, FSRM shows great robustness to the unitary noise compared with CS. That is, FSRM estimators achieve the convergence to the true value, but CS estimators do not, with the same measurement data collected in the experiment. Additionally, we explore improvements in the sampling efficiency by using more diverse measurement settings and reducing the number of shot outcomes per setting within the constraints of quantum resources. Our work enhances the RM scheme for characterizing photonic quantum states, particularly in entanglement quantification, and can potentially be extended to multipartite systems.
Results
BM-enhanced FSRM scheme
The CS scheme employs an effective random unitary channel and its inverse to generate the classical snapshots of a quantum state30, which are then used to calculate the target properties of the state. Alternatively, the random unitary channel can be leveraged differently—by exploiting its statistical properties23, a technique known as the randomized measurement (RM) scheme29.
Let us first recast the basics of such RM29, focusing on an n-qubit system. The experiment consists of NU measurement rounds, and for each round NM experimental outcomes are collected. In each round, the RM scheme samples a random unitary from some ensemble, e.g., local random unitaries \({U}_{i}={\otimes }_{j}{u}_{i}^{(j)}\), where u(j) is the single-qubit unitary on the j-th qubit, randomly chosen from Haar measure. For each Ui, NM shot outcomes (normally a big number) are collected to calculate the probabilities (b∣U) on the basis \({\bf{b}}\in {{\mathbb{F}}}_{2}^{n}\). In the experiment, RM needs complete measurement on all bases b If there exists a function \({O}_{k}({{\bf{b}}}_{1},..,{{\bf{b}}}_{k}):{{\mathbb{F}}}_{2}^{nk}\to {\mathbb{R}}\), with (b1,...bk) as k-bases pairs, and its corresponding operator \({O}_{k}={\sum }_{{{\bf{b}}}_{1},..,{{\bf{b}}}_{k}}{O}_{k}({{\bf{b}}}_{1},...{{\bf{b}}}_{k})\left|{{\bf{b}}}_{1}\ldots {{\bf{b}}}_{k}\right\rangle \left\langle {{\bf{b}}}_{1}\ldots {{\bf{b}}}_{k}\right|\) satisfies:
where \({{\mathcal{T}}}_{k}(\rho )=Tr({T}_{k}{\rho }^{\otimes k})\) for a k-th order property of one quantum state and \({{\mathbb{E}}}_{U}\) here is the expectation over all random unitary Ui. Then one can calculate the nonlinear property of \({{\mathcal{T}}}_{k}(\rho )\) by multiplication of conditional probabilities25,29,
Here, the left-hand shows the predetermined target \({{\mathcal{T}}}_{k}\), and the right-hand shows the corresponding experimental process to estimate the target. \(({{\bf{b}}}_{l}| {U}_{i})=\langle {{\bf{b}}}_{l}| {U}_{i}\rho {U}_{i}^{\dagger }| {{\bf{b}}}_{l}\rangle\) is the observed probability on each measurement round. By transversing all bases and averaging over random unitary, we get the estimation of the k-th order nonlinear property \({{\mathcal{T}}}_{k}(\rho )\) from Eq. (4) like p2. In practice, to obtain a reasonably accurate (bl∣Ui), we need to repeat the experiments with Ui many times, and a large NM is required, which seems to hinder RM in the few-shot scenario.
Inspired by the CS scheme, here we can construct an unbiased estimator of a k-th order function \({{\mathcal{T}}}_{k}\) within the RM framework using few shot outcomes18,33, and we denote such a modification of RM about the post-processing strategy as few-shot randomized measurements (FSRM). The key idea is that we replace the chosen k-bases pairs (b1,..,bk) (independent of Ui) in Eq. (4) into the observed shot outcomes (bi,1,..,bi,k) collected in the i-th measurement round with unitary Ui, i.e., let NM = k. At the time, we didn’t traverse all possible k-bases pairs but collected the exact k shot outcomes to form one k-shot-outcomes pair from the experiments. In this way, we could construct the unbiased estimator as Ok(bi,1,...,bi,k) with
where Ok is same with that in Eq. (4). The unbiasedness of this estimator is guaranteed by the construction of Ok in Eq.(3) and the statistical independence of the k shot outcomes, as derived in the Methods section. Here, \({{\mathbb{E}}}_{\{{\bf{b}}\}}\) is the expectation over repetitive experiments under same unitary Ui. These two expectations \({{\mathbb{E}}}_{U}\) and \({{\mathbb{E}}}_{\{{\bf{b}}\}}\) can be replaced by one \({\mathbb{E}}\), which is expectation over experiments with a certain FSRM process (see Methods). The whole process of FSRM is summarized in Fig. 1a, where we randomly chose NU unitaries and for each chosen unitary implemented before measurement, we collect k shot outcomes (NM = k), and these k shot outcomes help to calculate one estimation for k-th order nonlinear property \({{\mathcal{T}}}_{k}\) with proper O({bj}). Note that, unlike the estimation of linear observables, we give an unbiased estimation of \({{\mathcal{T}}}_{k}(\rho )\) from every k shot outcomes. For example, we need NM = 2 to estimate p2 and NM = 3 to estimate p3.
It is also worth mentioning that FSRM enjoys features and advantages like robustness and efficient post-processing from RM, and a few-shot property from CS. A brief comparison among CS, RM, and FSRM schemes is in Table 1, and we leave detailed explanations in the Supplementay Note 1.
CS, RM, and FSRM schemes would exhibit different performances in the presence of noise. Each protocol essentially consists of two parts: a physical setup for data collection and a classical computation step for processing the target quantity. Here, we assume that all errors originate from the physical setup, while the classical computation is free from additional noise. In practical applications, measurements are often subject to stochastic noise, which is typically modeled as Gaussian noise. Mathematically, this noise manifests through a modification of the unitary rotation in the i-th measurement round, expressed as \({U}_{i}\to {\widetilde{U}}_{i}={e}^{i\epsilon {H}_{i}}{U}_{i}\) with ϵ represents the noise strength, and Hi is a random Hermitian operator34. CS methods rely on the information encoded in the measurement basis, specifically the details of the unitary operation, i.e., Ui. Consequently, under such noise conditions, CS methods fail to provide accurate estimates. As illustrated in Fig. 2, the error in property estimation with CS, RM, and FSRM methods varies notably in the presence of Gaussian noise. The figure reveals that CS introduces a bias directly related to ϵ, limiting its effectiveness under stochastic noise. In contrast, FSRM methods exhibit robustness, consistently converging to the true value despite the noise. A more in-depth discussion of the effects of Gaussian noise on these measurement strategies is provided in Methods and Supplementary Note 3.
Here, RM-1/2/3 is for using the RM or the FSRM method in estimating the 1/2/3-th order target \({{\mathcal{T}}}_{1/2/3}\). Here, we consider the strength of the Gaussian noises is ϵ = 0.5. Because both RM and FSRM methods essentially utilize the average property of the unitary statistics (k-twirling channel) to extract the information, they share the same performance lines. The y-axis is the difference between the practical channel and the ideal channel, quantifying the error in the estimation. Details are left in Supplementary Note 3.
In the context of mixed-state entanglement evaluation, one needs to estimate the PT moments p2 and p3. For the 2-th moment, it can be expressed as \({p}_{2}=tr({\mathbb{S}}{\rho }_{AB}^{\otimes 2})\), with \({\mathbb{S}}\) being the swap operator on 2 copies. It is clear that p2 equals the purity of ρ and is thus independent of the specific partition A∣B19. We provide a short proof in methods. Suppose the local random unitary ensemble is applied in RM, one has
with h(bi,1, bi,2) being the Hamming distance between the two observed n-bit shot outcomes24,29. Here, the expectation is on both the random unitary choice and the measurement result.
For the 3-order one, we follow the post-processing given in ref. 18, which in general needs a global random unitary or BM between subsystems A and B after independent random unitary evolution on both of them. Indeed, as illustrated in Fig. 1b, for an n-qubit system, BMs on qubit pairs are sufficient to realize the estimation. Here we denote the outcome of BM on \((j,j{\prime} )\) qubit-pair as \({\beta }^{(j,j{\prime} )}=\{0,1,2,3\}\). The specific partition is labeled by an n-bit string \(\overrightarrow{a}\), with ai = 1(0) for qubit-i in A(B), respectively. Additionally, we use another n-bit string \(\overrightarrow{s}\) to indicate whether the qubit is involved in BM or not. Of course, \(\overrightarrow{s}\) should have even number of ‘1’s, and we randomly sample in total 2n−1 possible \(\overrightarrow{s}\) configurations with equal probability. In short, the corresponding estimator of p3 is
Here, f and g functions are for the BM and CM outcome of qubit-pair \((j,j{\prime} )\) and qubit j, determined by the measurement configuration vector \(\overrightarrow{s}\). Here, \({{\mathbb{E}}}_{\overrightarrow{s}}\) means expectation over randomly choose vector \(\overrightarrow{s}\) with same probability. And they show respectively
where wt() counts the number of same elements for β and b. More details are left in the Methods.
In the case of 2-qubit, with A and B containing each of them, i.e., \(\overrightarrow{a}=10\). The vector \(\overrightarrow{s}=\{00,11\}\), which indicates that one conducts CM and BM with equal probability on a 2-qubit system. By Eq. (7), the post-processing is just
In summary, the procedure for estimating p2 and p3 is as follows. We implement random local unitaries \({U}_{i}={\otimes }_{j}{u}_{i}^{(j)}\) on the state ρ and randomly select a measurement setting \(\overrightarrow{s}\). For each sampled unitary Ui and \(\overrightarrow{s}\), we repeat the process three times to collect measurement outcomes (bi,1, bi,2, bi,3), and finally calculate the function \({O}_{3}({{\bf{b}}}_{i,1},{{\bf{b}}}_{i,2},{{\bf{b}}}_{i,3}| \overrightarrow{s})\) in Eq. (7) as the estimation of p3. For p2, we only need the measurement setting all being CM, say \(\overrightarrow{s}=\overrightarrow{0}\), and two outcomes are sufficient to obtain O2(bi,1, bi,2) as an estimation. By repeating this process many times, we average the results to obtain the final estimations of p2 and p3. The post-processing here is straightforward and time-saving compared to the original RM scheme and CS scheme, which involve calculating multiple shadow snapshots and their multiplications.
Experimental results
In our experiments, states with polarization entanglement are produced through the parameter-down-conversion (PDC) process in the periodically poled potassium titanyl phosphate (ppKTP) crystal within a Sagnac interferometer35. Pure or mixed states could be easily produced by adjusting the pump laser. In the experiments, we produced both a mixed state and a maximally entangled pure state, as detailed in Methods. The produced photons are then sent into two uncharacterized single-mode fibers (SMF) before measurement. These uncharacterized SMFs induce unknown, drifting unitary rotations on the entangled state. Consequently, the actual measurement basis deviates from the intended. We utilize this discrepancy to experimentally simulate a scenario where the measurement basis is unknown and unstable.
The measurement setup is illustrated in Fig. 3, where two photons undergo local random unitaries using Quarter-Half-Quarter (Q-H-Q) waveplates36. Because a BM could be decomposed with a CNOT gate and a Hadamard gate before CM, we can streamline the process of random CM and BM by randomly inserting such gates between qubit pairs and finally conducting CM. In the experiment, two optical switches, each with one input and two outputs, made by motorized mirrors, control the ratio of photon pairs that go through the inner or outer path, ensuring a 50–50% ratio between CM (inner path) and BM (outer path). CM involves measuring horizontal and vertical polarizations in our experiments, resulting in a string of {0, 1}n. On the inner path, an additional all-optical CNOT gate consisting of three partially-polarized-beam-splitters (PPBSs)37,38,39, and a Hadamard gate on the control part were implemented.
Entangled biphoton states are transmitted to the measurement setup through uncharacterized fibers. Each photon within the setup undergoes a randomized unitary, selected from a Circular Unitary Ensemble (CUE) implemented using a set of quarter-half-quarter waveplates (depicted by the orange circle). Two optical switches, each featuring one input and two outputs, determine whether the pair of photons will be measured in computational basis (CM) along the outer path or in Bell basis (BM) along the inner path, with a probability of 1/2. Along the outer path, the CM setup consists of two polarizing beam splitters (PBSs). In contrast, the inner path includes an all-optical CNOT gate (depicted by the green circle), which consists of three Partial-Polarization-Beam-Splitter (PPBSs) with tH = 1 and tV = 1/3, following the setup in refs. 37,38,39. This setup, combined with an additional Hadamard gate (22.5circ half-wave plate) and CM, forms a complete BM. Finally, single-photon detectors (SPDs) register the pair of photons. Further details can be found in the Method.
In the experiment, we collect 3 shot outcomes for each measurement setting and unitary. For photon pairs through the outer path, i.e., CM, we select 2 shot outcomes to calculate O2(b1, b2) as the estimation of p2. By repeating this process numerous times, we accurately estimate p2. The results for p2 are depicted in Fig. 4a. Additionally, we select 1 shot from the shot outcomes using CM per unitary and combine the unitary information to calculate the classical shadow of the state \({\widehat{\rho }}_{i}{=\bigotimes }_{j}(3{u}_{i}^{(j)}|{{\bf{b}}}_{i}^{(j)}\rangle \langle {{\bf{b}}}_{i}^{(j)}|{u}_{i}^{(j)\dagger }-{{\mathbb{I}}}_{2})\)30, j is for the j-th qubit and the shot outcomes is \(\left|{{\bf{b}}}_{i}\right\rangle {=\bigotimes}_{j}|{{\bf{b}}}_{i}^{(j)}\rangle\), and i is for the i-th round experiment with unitary \({U}_{i}{=\bigotimes }_{j}{u}_{i}^{(j)}\) and \({u}_{i}^{(j)}\) is randomly chosen from Haar measure, which is used to estimate p2 and p3 from Eq.(1). Results for CS are presented in Fig. 4b, d.
The red dashed line indicates the true value, while the solid lines represent 10 independent experimental trials. The figures demonstrate how the estimates stabilize as more experimental data are incorporated, where N denotes the total number of collected photon pairs. A and B show the estimation of p2 using the BM-enhanced FSRM method, while panel C shows the estimation of p2 using the CS method. D and E depict the estimation of p3 using the BM-enhanced FSRM method, with F showing the estimation of p3 using the CS method. For the BM-enhanced FSRM method, p2 is estimated using 2-shot outcomes per unitary, such that N = NU × 2, where NU is the number of unitaries applied. p3 is estimated using 3 measurement outcomes per unitary (N = NU × 3). In the estimation of p3, an additional error mitigation technique is applied to correct errors induced by imperfect CNOT gate for the fixed Bell measurement. Each experiment is independently repeated ten times, represented by different lines. For CS, only one shot per unitary is required for prediction. By comparing the results, we observe that although both schemes utilize the same dataset from the experiment, BM-enhanced FSRM shows convergence to the true values, while the CS scheme exhibits bias in practice.
By employing 3 shot outcomes in both the outer and inner paths, we estimate p3 with the FSRM scheme by calculating \({O}_{3}({{\bf{b}}}_{1},{{\bf{b}}}_{2},{{\bf{b}}}_{3}| \overrightarrow{s})\) in Eq. (7). It is worth noting that randomized measurements correspond to measurement settings of the form \({U}_{i}{\mathbb{M}}{U}_{i}^{\dagger }\) with many different Ui. The FSRM method is naturally robust against noise in the random unitaries Ui, which is difficult to calibrate. Moreover, for imperfect fixed measurements \({\mathbb{M}}\), it remains compatible with error-mitigation techniques based on calibrating the fixed measurement. BM-enhanced FSRM, here, is likely to be affected by imperfect CZ gates. And we implement error mitigation techniques. The intuition comes from the fact that the randomized measurement provides a perfect equivalent permutation operator from noisy measurements by updating the post-processing. To mitigate measurement imperfections of BM, we utilize the information from measurement tomography40 to update the function \({O}_{3}({{\bf{b}}}_{1},{{\bf{b}}}_{2},{{\bf{b}}}_{3}| \overrightarrow{s})\) in Eq. (5) by replacing the corresponding Bell basis of bi with the real measurement Mi. Despite the practical fidelity of BM being less than 80%, we can make the updated inaccuracy negligible, being around 10−8, and proceed to estimate the true value of p3. Further details on error amendment can be found in Supplementary Note 2.
Results from 10 independent experiments for a mixed state are depicted in Fig. 4. The tomography results indicate the 2nd PT moment as p2 = 0.858 and its 3rd one as p3 = 0.3580. Utilizing the FSRM scheme and predicting from NU = 104 response numbers, we obtain experimental estimations of \(\widehat{{p}_{2}}=0.826\pm 0.009\) and \(\widehat{{p}_{3}}=0.344\pm 0.034\) (see Fig. 4a, b, d, e), converging to the true state values. Additionally, we estimate the mixed state entanglement as \({{\mathcal{N}}}_{3}={p}_{2}^{2}-{p}_{3}=0.338\pm 0.019\)19. The obtained entanglement value exceeds 0, affirming the existence of mixed-state entanglement. The uncertainties in the estimations stem from 10 independent experiments. However, employing (one-shot) CS scheme using the same dataset as the FSRM scheme, we estimate \(\widehat{{p}_{2}}=0.593\pm 0.008\) and \(\widehat{{p}_{3}}=0.229\pm 0.010\) (see Fig. 4c, f). The results in Fig. 4a, b, d, e validates our FSRM methods. And, the data in Fig. 4a–c comes from the same data without any mitigation, and the only difference is CS scheme (b) utilizes the information of unitary, while the FSRM method (a and b) does not. Our analysis shows that the derivation of predictions of the CS scheme may come from the need for the exact information of the applied random unitaries, and thus the unitary errors can affect much, whereas for the FSRM scheme, such kind of information is unnecessary. This discrepancy between CS and FSRM schemes aligns with our analysis regarding Gaussian noise in unitaries, as detailed in Supplementary Note 3. Consequently, FSRM proves to be more robust for noisy and practical devices.
Finally, we investigate the statistical error of the FSRM scheme by taking p2 of a two-photon state as an example. The total measurement time is N = NU × NM, i.e., the multiplication of rounds and shot number. The impact of NM and N on the convergence of the statistical error is illustrated in Fig. 5, in which each line represents the results of over 100 independent experiments. For FSRM, one can get an estimation of every 2-shot from NM-shot under the same unitary, and finally, the result is averaged for all NU unitaries. For RM, we utilize all NM-shots under the same unitary to compute the conditional probability (b∣U), which becomes equivalent to our FSRM scheme as NM tends to be large enough, as shown in Fig. 5 for NM = 200. Notably, if N is fixed, a smaller NM, i.e., more diversifying unitaries, yields better performance. Through linear regression, we ascertain \(\log {\rm{Err}}=-0.5\log N+0.4393\) as NM = 2, and for RM (NM = 200), \(\log {\rm{Err}}=-0.5\log N+0.8726\), which is labeled by a cross mark in Fig. 5. Consequently, utilizing FSRM results in a 4.3 dB improvement in estimation compared to the original RM.
N for the total measurement time, i.e., the number of photon-pairs consumed, and NM for the shot number, the number of photon-pairs per unitary.
Discussion
In this work, we advance the RM framework by integrating BM and a few-shot post-processing strategies. We demonstrate its effectiveness in estimating PT moments for challenging mixed-state entanglement quantification. The BM-enhanced FSRM exhibits robustness to imperfections and noise in random unitary realization, while its few-shot feature ensures efficient post-processing. In addition, we introduce an error mitigation technique for BM to enhance the practicality of the scheme even further. It is worth mentioning that for an n-qubit state, only the BM between two qubits is necessary, ensuring scalability for large-scale quantum systems. Additionally, we find that, under a fixed measurement resource, the method with more versatile measurement settings with fewer repeats per setting is more efficient, challenging the previous estimation protocol with fixed number measurement settings and many repeats per setting.
We expect that BM-enhanced FSRM can be further applied to other important scenarios in quantum information and physics, like quantum correlation characterization41,42,43, quantum error mitigation44,45,46,47, and quantum algorithm design48,49,50. Our research significantly enriches the scope of RM and advances it in real-world quantum experiments, especially in the characterization of photonic systems.
Methods
From RM to FSRM
Using the RM method to estimate properties of a quantum state is given by Eq. (4). Formally, to estimate a property \({{\mathcal{T}}}_{k}=Tr({T}_{k}{\rho }^{\otimes k})\), one must identify a function Ok that satisfies Eq.(3), i.e. \({{\mathbb{E}}}_{U}{U}^{\otimes k}{O}_{k}{U}^{\dagger \otimes k}={T}_{k}\). Here, we will show that, given the existence of such an Ok, all RM methods could be extended to the few-shot scenario.
There is a key observation that, with repetitive experiments, the expectation of any function of shot names satisfies:
Here, \({{\mathbb{E}}}_{\{{\bf{b}}\}}\) is the expectation over repetitive experiments, and bi,1,...,bi,k in the left-hand side of the equation are the shot outcomes at the i-th round measurement with random unitary Ui. The right-hand of the equation means transverse all k-bases pairs {b}.
It should be noted that such repetitive experiments are virtual, which means we don’t really need to do the repetitive experiments, but a few-shot outcomes are enough. At this time, by combining Eqs. (4) and (10), the higher order covariance of the probabilities occurs naturally from the experiments without any post-processing and with merely a few shot outcomes enough. Say:
Here, \({\mathbb{E}}\) is the expectation of experiments by randomly selecting unitaries and collecting k shot outcomes from the experiment for each setting.
Equations of estimating p2 and p3 with FSRM
In this section, we discuss the estimation of the second and third moments of mixed-state entanglement using FSRM. For the entanglement quantification of unknown mixed-state, an important criterion called p3-PPT, i.e., \({{\mathcal{N}}}_{3}={p}_{2}^{2}-{p}_{3}\)19, was proposed, with \({p}_{k}=Tr[{({\rho }_{AB}^{{T}_{B}})}^{k}]\) the k-th moment of the PT density matrix17,18. Importantly, such moments can be rewritten in the form \({p}_{k}=Tr[{W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}{\rho }^{\otimes k}]\), with W←/→ is (clock/anti-clockwise) circular permutation operator on k-copy Hilbert space17.
We focus on an n-qubit system, with subsystems A and B containing nA and nB = n − nA qubits. The second moment p2 shows \({p}_{2}=Tr[{W}_{(12)}{({\rho }_{AB}^{{T}_{B}})}^{\otimes 2}]=Tr[{W}_{(12)}^{{T}_{B}}{\rho }_{AB}^{\otimes 2}]=Tr[{W}_{(12)}{\rho }_{AB}^{\otimes 2}]=Tr[{\rho }_{AB}^{2}]\), with W(12) the swap operator on 2-copy. Because \({W}_{(12)}={W}_{(12)}^{A}\otimes {W}_{(12)}^{B}\) with \({W}_{(12)}^{A/B}\) as the swap operator on the subspace A/B, we have \({W}_{(12)}^{{T}_{B}}={W}_{(12)}^{A}\otimes {W}_{(21)}^{B}={W}_{(12)}^{A}\otimes {W}_{(12)}^{B}={W}_{(12)}\). It is clear that p2 also equals the purity of ρ and is thus independent of the partition.
Elben et al. proposed that with local random unitaries and computational-basis measurement, the purity can be expressed as follows24,29:
where bi,1 and bi,2 are a n-bit shot outcomes collected in the i-th measurement round with untiary Ui, and h(bi,1, bi,2) is the humming distance between these two strings. Consequently, for the FSRM, the estimator of p2 is directly
where bi,1, bi,2 are two sequential measurement outcomes under the same local random unitary \({U}_{i}{=\bigotimes }_{j=1}^{n}{u}_{i}^{(j)}\) with \({u}_{i}^{(j)}\) as local random unitary on the j-th qubit at i-th measurement round.
Actually, the post-processing function can be factorized into the product of single-qubit ones. For the 1-qubit case, it reads
Next, we discussed the third moment p3. The third moment reads \({p}_{3}=Tr[{({\rho }^{{T}_{A}})}^{3}]=Tr\left[({W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}){\rho }^{\otimes 3}\right]=Tr\left[({W}_{\leftarrow }^{A}\otimes {W}_{\to }^{B}){\rho }^{\otimes 3}\right]\), where we omit the subscript of ρAB for simplicity, and W→ and W← are cyclic permutation operators on the 3-copy Hilbert space. To be specific, the permutation operator \({W}_{\to }\left|{\psi }_{1}\right\rangle \left|{\psi }_{2}\right\rangle \left|{\psi }_{3}\right\rangle =\left|{\psi }_{3}\right\rangle \left|{\psi }_{1}\right\rangle \left|{\psi }_{2}\right\rangle\) and \({W}_{\leftarrow }\left|{\psi }_{1}\right\rangle \left|{\psi }_{2}\right\rangle \left|{\psi }_{3}\right\rangle =\left|{\psi }_{2}\right\rangle \left|{\psi }_{3}\right\rangle \left|{\psi }_{1}\right\rangle\). By defining \({M}_{neg}:=\frac{1}{2}({W}_{\to }^{A}\otimes {W}_{\leftarrow }^{B}+{W}_{\leftarrow }^{A}\otimes {W}_{\to }^{B})\), one further has\({p}_{3}=Tr[{({\rho }^{{T}_{A}})}^{3}]=Tr[{M}_{neg}{\rho }^{\otimes 3}]\).
By further defining M0 = W→ + W← and M1 = W→ − W←. Zhou et al. put forward that it can be expressed as
in which the first part can be estimated from the local random unitaries and computational-basis measurement, and the second part can be estimated from local random unitaries and Bell-basis measurement18. We use ‘s’ to denote the measurement setting type, s = 0 for computational-basis measurement (CM) and s = 1 for Bell-basis measurement (BM).
To estimate M0, only CM in the FRSM is required. First, considering a single-partite d-dimensional state \(\rho \in {{\mathcal{H}}}_{d}\), the measurement result bi = [0, 1 ⋯ d − 1]. By ref. 18 the estimation formula shows
where wt(bi,1, bi,2, bi,3) counts the same number among the inputs bi,1, bi,2, bi,3. For a single-qubit system, i.e., d = 2, the estimation formula becomes
Note that as the shot outcome bi is a 1-bit number, it is impossible to have the wt = 0 case. Moreover, for a bipartite system, \({\rho }_{AB}\in {{\mathcal{H}}}_{{d}_{A}}\otimes {{\mathcal{H}}}_{{d}_{B}}\), the measurement result is divided into two parts, b = bAbB, for subsystem A and B, and one has
On the other hand, to estimate \(Tr[({M}_{1}^{A}\otimes {M}_{1}^{B}){\rho }_{AB}^{\otimes 3}]\) for \({\rho }_{AB}\in {{\mathcal{H}}}_{{d}_{A}}\otimes {{\mathcal{H}}}_{{d}_{B}}\) with dA = dB = d, Zhou et al. proved that BM is required across A and B after the local random unitary evolution. We denote the three shot outcomes for BM result as βi,1, βi,2 and βi,3, represented by a d2-bit string βi = [0, 1,⋯ , d2 − 1]. To be specific, Eq. (52) in the Supplementary Material of ref. 18 provides the post-processing functions as follows. \(O({\rm{wt}}=3)={d}^{2}{({d}^{2}-1)}^{2}\), \(O({\rm{wt}}=2)=-3{d}^{2}{({d}^{2}-1)}^{2}\), and \(O({\rm{wt}}=1)=\frac{1}{2}{d}^{4}{({d}^{2}-1)}^{2}\) or \(-\frac{1}{2}{d}^{2}{({d}^{2}-1)}^{2}({d}^{2}-4)\), where wt(βi,1, βi,2, βi,3) still represents the number of the same elements. The coefficients provided by ref. 18 include the number of occurrences of different bases. By considering the number of all kinds of scenarios, #(wt = 3) = d, #(wt = 2) = d(d − 1), and #(wt = 1) = d(d − 1)(d − 2). The estimation formula used in our experiments is thus as follows
For wt = 1, the cases are complicated, and only some wt = 1 cases are applicable for this expression, with further details being found in ref. 18. However, for a two-qubit system, i.e., a 2 × 2 system, the estimation formula can be simplified to be
where βi,1/2/3 ∈ [0, 1, 2, 3], and the formula depends on the value of wt.
In a 2-qubit system, from Eqs. (18) and (20), it is clear that both b and β can be labeled by 2-bit, and in this way we can denote them with a single label as ci,1, ci,2, and ci,3 from the set 00, 01, 10, 11. Therefore, to estimate p3 of a 2 × 2 system by implementing CBM and BSM with a 50–50% distribution, one has
Finally, Eq. (21) can be extended to an n-qubit system by randomly implementing BMs between qubit pairs. We use an n-bit string \(\overrightarrow{a}\) to denote the partition, where ’0’ represents subsystem A, and ’1’ for B. We consider another n-bit string \(\overrightarrow{s}\) to denote the measurement setting with an even number of ’1’s. If two bits are both ’1’, we implement a BM between the corresponding qubits. The outcome of the BM on the \((j,j^{\prime} )\) qubit-pair is denoted as \({\beta }^{(j,j^{\prime} )}=0,1,2,3\). Note that for a given \(\overrightarrow{s}\), it may correspond to a few different measurement settings, and we just fix one setting. For instance \(\overrightarrow{s}=1111\) of 4-qubit system, say BM on qubit-pairs (12)(34) or (14)(23).
The operator in Eq. (15) can be further written into
where \(\wp (\overrightarrow{s})=0\) represents the parity of \(\overrightarrow{s}\) being zero, i.e., it contains an even number of “1"s, and \(\overrightarrow{a}\cdot \overrightarrow{s}\) denotes the dot product between \(\overrightarrow{a}\) and \(\overrightarrow{s}\). Here, sk represents the kth bit of the string \(\overrightarrow{s}\).
To estimate p3 = Tr[Mnegρ⊗3], we evolve the quantum state with local random unitary \(U{=\bigotimes }_{j=1}^{n}{u}^{(j)}\) and choose the final measurement based on \(\overrightarrow{s}\). We uniformly sample \(\overrightarrow{s}\) with \(\wp (\overrightarrow{s})=0\) and perform corresponding measurements. There are 2n−1 of \(\overrightarrow{s}\) that have an even number of ’1’s. Therefore, the probability is 1/2n−1. We need to collect three sequential shot outcomes from the experiments to return a basic estimation. Note that, in each shot, the random unitary U and the measurement setting \(\overrightarrow{s}\) should be kept the same.
The final estimator of p3 reads \({O}_{3}({{\bf{b}}}_{1},{{\bf{b}}}_{2},{{\bf{b}}}_{3})={\sum }_{\overrightarrow{s}}\,\Pr \,(\overrightarrow{s}){O}_{3}({{\bf{b}}}_{1},{{\bf{b}}}_{2},{{\bf{b}}}_{3}| \overrightarrow{s})\) with \({\rm{g}}(\mu )={f}_{1}({{\rm{x}}}_{1})+{f}_{2}({{\rm{x}}}_{2})+\cdots +{f}_{{\rm{n}}}({{\rm{x}}}_{{\rm{n}}})\,+\varepsilon\) with
Here f and g functions are for the BM and CM outcome of qubit-pair \((j,j{\prime} )\) and qubit j, determined by the vector \(\overrightarrow{s}\), and they show
where wt() counts the number of same elements for β and b, respectively. In the case of a 2-qubit system, with A and B containing one qubit each, i.e., \(\overrightarrow{a}=10\). The vector \(\overrightarrow{s}=00,11\), which indicates that one conducts CM and BM with equal probability on the 2-qubit system. By Eq. (7), the post-processing is reads
which is consistent with Eq. (21).
CS and FSRM methods under noise
In this part, we discuss the robustness of both the classical Shadow (CS) and Randomized Measurement (RM) schemes, using a simple Gaussian noise model as a case study. It shows that the RM and FSRM schemes are more robust than the CS scheme, considering the noise in the random unitary.
The CS scheme and FSRM scheme both use the projective measurement result from the random unitary evolution on the sequentially prepared unknown quantum state, but they mainly diverge in the post-processing of these data. Mathematically, the effective quantum channel involved in the post-processing is quite different. For the CS scheme, the channel is a measurement and preparation channel in the form
with the (conditional) probability \(\Pr ({\bf{b}}| U)=\left\langle {\bf{b}}\right|U\rho {U}^{\dagger }\left|{\bf{b}}\right\rangle\) by Born’s rule. Suppose the measurement is tomographic (over)complete, the inverse of the channel \({\mathcal{M}}\) then exists, and thus the unbiased estimation of ρ then returns as \(\widehat{\rho }={{\mathcal{M}}}^{-1}(\left|{\bf{b}}\right\rangle \left\langle {\bf{b}}\right|)\). The CS scheme serves as a universal estimator for linear and nonlinear tasks. In particular, for nonlinear functions like \({{\mathcal{T}}}_{k}\), one can construct the estimator \(Tr[{T}_{k}{\widehat{\rho }}^{({i}_{1})}\otimes \cdots \otimes {\widehat{\rho }}^{({i}_{k})}]\) from k distinct classical snapshots. On the other hand, as mentioned in Supplementary Note 1, the RM scheme specializes in some nonlinear properties, like purity. The effective channel is the k-fold twirling channel as \({\Phi }^{(k)}(\rho )={{\mathbb{E}}}_{U}[{U}^{\otimes k}{\rho }^{\otimes k}{U}^{\dagger \otimes k}]\). In particular, the FSRM scheme is good at predicting properties that are invariant under this twirling channel.
These two channels react differently when faced with errors or noise introduced alongside the random unitaries. For example, ref. 51 discusses CS in the context of various types of noise, such as the depolarizing channel and phase-damping channel. In these cases, the conditional probability Pr(b∣U) in CS changes
with ξ for the noise channel. If the experimenter is unaware of this change, the classical preparation remains unchanged. The overall measurement and preparation channel is changed to
and there is a mismatch between the measurement and preparation. As a result, if one keeps the original inverse \({{\mathcal{M}}}^{-1}\), the estimator \({{\mathcal{M}}}^{-1}({U}^{\dagger }\left|{\bf{b}}\right\rangle \left\langle {\bf{b}}\right|U)\) should be biased, and introduces systemic error in the estimation which makes CS not robust. Note that ref. 52 tactfully introduces a unified method to calibrate and mitigate such kinds of noises. In particular, it identifies the updated channel \(\widetilde{{\mathcal{M}}}\), with the assumptions that the state \(\left|{\bf{0}}\right\rangle\) is perfect and the noisy channel ξ is gate-independent and Markovian.
In summary, such an error issue in CS lies in the fact that one needs to have the exact information of the executed random unitary U. On the other hand, in the RM scheme, the k-fold twirling channel Φ(k) can suffer some noise by itself since one does not need to know the exact information of each realization of U, but just keeps the unitary random enough. In particular, it is robust to some coherent errors.
Experimental setup
The experimental setup is illustrated in Fig. 6A. The left part is the polarization-entangled state generation setup, which is the same as the setup in ref. 35. A continuous-wave laser operating at 404 nm generates photons with initial polarization state ρ0. These violet photons are coupled into a Sagnac interferometer where horizontally polarized (\(\left|H\right\rangle\)) photons propagate clockwise while vertically polarized (\(\left|V\right\rangle\)) photons propagate counterclockwise. A dichroic half-waveplate (Di-HWP) converts the counter-propagating \(\left|V\right\rangle\) violet photons to \(\left|H\right\rangle\) polarization before they pump a periodically poled potassium titanyl phosphate (PPKTP) crystal from both directions. Through parametric down-conversion (PDC), each \(\left|H\right\rangle\) pump photon generates \(\left|H\right\rangle\) and \(\left|V\right\rangle\) photon pairs at 808 nm. The Sagnac interferometer then separates these photons into distinct output ports based on their propagation directions, generating polarization-entangled photon pairs.
A Full setup. Compared to Fig. 3, the left part of the schematic has been added to illustrate the generation of polarization-entangled photon pairs. A continuous-wave laser with a central wavelength of 404 nm pumps a Sagnac-type interferometer containing a periodically poled potassium titanyl phosphate (PPKTP) crystal. Inside the crystal, a type-II spontaneous parametric down-conversion (SPDC) process generates correlated photon pairs at 808 nm with orthogonal polarizations (H and V). The Sagnac interference, combined with a dichroic half-waveplate (Di-HWP), a dichroic polarization beam splitter (Di-PBS), a low-pass filter (LPF), and a band-pass filter (BPF), ensures efficient separation and collection of the entangled photon pairs. By adjusting the polarization of the 404-nm laser, we could generate a maximum-entangled state and a partial-entangled state. B Tomography for the pure maximum-entangled pure state with the fidelity of 97.679%. C Tomography for the one mixed state with eigenvalues of 0, 0, 0.077, and 0.923.
When the initial violet photon is prepared in the \(\frac{1}{\sqrt{2}}(\left|H\right\rangle +\left|V\right\rangle )\), the output state ideally forms a maximally entangled Bell state, \(\frac{1}{2}(\left|HV\right\rangle +\left|VH\right\rangle )\). By carefully adjusting the initial pump polarization ρ0 and introducing a mismatch of the clockwise and counter-clockwise paths to the Sagnac interferometer, we can introduce mixedness to produce various entangled mixed states.
To verify the state quality, we perform quantum state tomography on both the maximally entangled and mixed states using Pauli measurements implemented in the outer section of the setup (Fig. 6A). The tomographic reconstruction via maximum likelihood estimation (MLE) yields a fidelity of 97.68% for the Bell state (Fig. 6B), confirming successful generation of high-quality entanglement. For the mixed state (Fig. 6c), the reconstructed density matrix exhibits eigenvalues of 0, 0, 0.077, and 0.923, demonstrating preparation of a non-maximally entangled mixed state.
In theory, we intended to implement a complete Bell basis measurement. However, achieving this goal proved impossible without resorting to post-selection. Following the protocol53, we opted to implement an optical CZ gate and some Hadamard gates (\(\widehat{H}\)) before a ZZ measurement to form a complete Bell measurement. That is, the gates \((I\otimes \widehat{H})CZ(\widehat{H}\otimes \widehat{H})\) could turn the four Bell state (\(\frac{1}{\sqrt{2}}(\left|00\right\rangle \pm \left|11\right\rangle )\) and \(\frac{1}{\sqrt{2}}(\left|01\right\rangle \pm \left|10\right\rangle )\)) into the four \(\left|00\right\rangle ,\left|01\right\rangle ,\left|10\right\rangle\) and \(\left|11\right\rangle\). And the optical CZ gate in our experiment follows the setup in refs. 37,38,39.
The composition of the CZ gate involves three partial-polarization-beam-splitters (PPBSs) with horizontal polarization transmission of tH = 1 and vertical polarization transmission and reflection values of tV = 1/3 and rV = 2/3, respectively. That turns the \({a}_{V,1}^{\dagger }\to \sqrt{\frac{1}{3}}{a}_{V,1}^{\dagger }+i\sqrt{\frac{2}{3}}{a}_{V,2}^{\dagger }\) and \({a}_{V,2}^{\dagger }\to -i\sqrt{\frac{2}{3}}{a}_{V,1}^{\dagger }+\sqrt{\frac{1}{3}}{a}_{V,2}^{\dagger }\), and polarization-H photon unchanged. The two photons undergo interference on the first PPBS, with subsequent PPBS units on the two arms attenuating horizontal polarization to 1/3. In this setup, Hong-Ou-Mandel (HOM) interference occurs only when the input state is \(\left|VV\right\rangle\). This leads to a reduction in coincidence from 5/9 to 1/9, resulting in a success rate of 1/9 for the optical CZ gate. The HOM interference between two vertically polarized photons is illustrated in Fig. 7.
The x-axis denotes the path difference between the two branches of the first PPBS, and the y-axis shows the corresponding photon counts. The blue dots and curve correspond to the input polarization state \(\left|V\right\rangle \left|V\right\rangle\) at the first PPBS without other PPBS or HWPs. The orange dots and curve correspond to the input state \(\left|V\right\rangle \left|+\right\rangle\) for the entire CNOT part (composed of two Hadamard gates and a CZ gate implemented with three PPBSs), with measurements performed in the \(\left|V\right\rangle \left|+\right\rangle\) basis.
We use 1 and 2 as two sides of the PPBS. We could summarize how the three PPBS and HOM generate the CZ gate as follows:
More details see ref. 38.
Unlike the CZ gate, the CNOT gate exhibits asymmetry in choosing the control and target arms. We designated one arm as the target arm by introducing two Hadamard gates (each with a rotation angle of 22. 5∘) before and after the optical CZ gate. Proper application of the CNOT gate demonstrates that \(\left|V\right\rangle \left|+\right\rangle \to CNOT\left|V\right\rangle \left|-\right\rangle\), where \(\left|\pm \right\rangle =\frac{1}{\sqrt{2}}(\left|H\right\rangle \pm \left|V\right\rangle )\). This results in a pronounced dip in the HOM interference, as depicted in Fig. 7.
To enhance the HOM interference, which relies on wavelength correlation between the two photons, we employed two tiled 3nm filters’ edges to filter the wavelengths (not shown in Fig. 6).
In practical applications, the PPBSs exhibit imperfections, introducing a reflection coefficient of rH ≈ 1/50 and causing changes in polarization. Importantly, these imperfections result in an error rate, with our target being attenuated to 1/9. This significant reduction in the signal-to-noise ratio poses a challenge, making it difficult to achieve the fidelity of the optical CNOT gate exceeding 80%. Consequently, we recognize the necessity for a measurement imperfection amendment in our experiments to accurately predict p3.
Results with the maximum-entangled state
In the experiments, we produced a maximally entangled state to verify our protocols. The results of tomography are shown in Fig. 6b with a fidelity of 97.68%. For a maximally entangled state, p2 = 1 and p3 = 0.25. Results of our prediction from 10 independent experiments are depicted in Fig. 8. Utilizing the FSRM scheme and predicting from 104 response numbers, we obtain experimental estimations of \({\widehat{p}}_{2}=0.9983\pm 0.0108\) and \({\widehat{p}}_{3}=0.2322\pm 0.0078\) (see Fig. 8a, c), converging to the true state values. Additionally, we estimate the mixed state entanglement as \({p}_{2}^{2}-{p}_{3}=0.7638\pm 0.0294\). The obtained entanglement value exceeds 0, affirming the existence of mixed-state entanglement. The uncertainties in the estimations stem from 10 independent experiments. However, employing the one-shot CS scheme using the same dataset as the FSRM scheme, we estimate \({\widehat{p}}_{2}=0.6454\pm 0.0112\) and \({\widehat{p}}_{3}=0.5185\pm 0.0253\) (see Fig. 8b, d). Our analysis shows that the discrepancy in predictions between the CS and FSRM schemes arises from the need for exact information on the unitaries in the CS scheme, leading to accumulated unitary errors. In contrast, for the FSRM scheme, no such information is necessary. This discrepancy aligns with our analysis regarding Gaussian noise in unitaries, as detailed in Supplementary Note 3. Consequently, FSRM proves to be more practical in noisy environments.
We compare the prediction accuracy for estimating p2 and p3 between the FSRM scheme (A, C) and CS schemes (B, D). In the FSRM approach, we estimate p2 and p3 using 2 and 3 shot outcomes per unitary, respectively. Error mitigation techniques are applied to enhance the estimation of p3. Each experiment is repeated independently ten times, denoted by different lines. For the CS scheme, only one shot per unitary is required for prediction. Additionally, to ensure a fair comparison with FSRM, we utilize the same dataset for CS by selecting one shot from the two or three collected shot outcomes per unitary, particularly if the measurement is on the computational bases. By comparing the results of (A–D), although both schemes utilize the same dataset, FSRM demonstrates convergence to the true values, while the CS scheme does not.
Figure 9 shows the scaling with NM measurements per unitary and demonstrates similar results with the mixed state (Fig. 4 in the main text). Through linear regression, we ascertain \(\log {\rm{Err}}=-0.5\log N+0.2979\) as NM = 2, and for RM (NM = 200), \(\log {\rm{Err}}=-0.5\log N+0.7735\), which is labeled by a cross mark in Fig. 9. Consequently, utilizing FSRM results in a 4.75 dB improvement in estimation compared to the original RM.
N for the total measurement time, i.e., the number of photon-pairs consumed, and NM for the shot number, the number of photon-pairs per unitary.
Data availability
All data needed to evaluate the conclusions in the paper are present in the paper and/or the Supplementary Materials.Code for the S5 in the Supplementary Note 3 can be find in https://www.scidb.cn/en/detail?dataSetId=b645025cb89f40af9fedbe68925a200c, https://doi.org/10.57760/sciencedb.nbsdc.0021.
Code availability
Code for the S5 in the Supplementary Note 3 can be find in https://www.scidb.cn/en/detail?dataSetId=b645025cb89f40af9fedbe68925a200c.
References
Horodecki, R., Horodecki, P., Horodecki, M. & Horodecki, K. Quantum entanglement. Rev. Mod. Phys. 81, 865–942 (2009).
Amico, L., Fazio, R., Osterloh, A. & Vedral, V. Entanglement in many-body systems. Rev. Mod. Phys. 80, 517–576 (2008).
Nielsen, M. A. & Chuang, I. L. Quantum Computation and Quantum Information, 10th ed. (Cambridge University Press, 2011).
Guhne, O. & Toth, G. Entanglement detection. Phys. Rep. 474, 1 – 75 (2009).
Friis, N., Vitagliano, G., Malik, M. & Huber, M. Entanglement certification from theory to experiment. Nat. Rev. Phys. 1, 72–87 (2019).
Chruściński, D. & Sarbicki, G. Entanglement witnesses: construction, analysis and classification. J. Phys. A Math. Theor. 47, 483001 (2014).
Silva, G., Glancy, S. & Vasconcelos, H. M. Investigating bias in maximum-likelihood quantum-state tomography. Phys. Rev. A 95, 022107 (2017).
Bengtsson, I. & Życzkowski, K. Geometry of Quantum States: An Introduction to Quantum Entanglement (Cambridge University Press, 2017).
Weilenmann, M., Dive, B., Trillo, D., Aguilar, E. A. & Navascués, M. Entanglement detection beyond measuring fidelities. Phys. Rev. Lett. 124, 200502 (2020).
Gühne, O., Mao, Y. & Yu, X.-D. Geometry of faithful entanglement. Phys. Rev. Lett. 126, 140503 (2021).
Hu, X.-M. et al. Optimized detection of high-dimensional entanglement. Phys. Rev. Lett. 127, 220501 (2021).
Liu, P., Liu, Z., Chen, S. & Ma, X. Fundamental limitation on the detectability of entanglement. Phys. Rev. Lett. 129, 230503 (2022).
Vidal, G. & Werner, R. F. Computable measure of entanglement. Phys. Rev. A 65, 032314 (2002).
Plenio, M. B. Logarithmic negativity: A full entanglement monotone that is not convex. Phys. Rev. Lett. 95, 090503 (2005).
Neven, A. et al. Symmetry-resolved entanglement detection using partial transpose moments. npj Quantum Inf. 7, 1–12 (2021).
Yu, X.-D., Imai, S. & Gühne, O. Optimal entanglement certification from moments of the partial transpose. Phys. Rev. Lett. 127, 060504 (2021).
Gray, J., Banchi, L., Bayat, A. & Bose, S. Machine-learning-assisted many-body entanglement measurement. Phys. Rev. Lett. 121, 150503 (2018).
Zhou, Y., Zeng, P. & Liu, Z. Single-copies estimation of entanglement negativity. Phys. Rev. Lett. 125, 200502 (2020).
Elben, A. et al. Mixed-state entanglement from local randomized measurements. Phys. Rev. Lett. 125, 200501 (2020).
Elben, A. et al. The randomized measurement toolbox. Nat. Rev. Phys. 5, 9–24 (2023).
Cieśliński, P. et al. Analysing quantum systems with randomised measurements. Phys. Rep. 1095, 1–48 (2024).
Vermersch, B., Elben, A., Sieberer, L. M., Yao, N. Y. & Zoller, P. Probing scrambling using statistical correlations between randomized measurements. Phys. Rev. X 9, 021061 (2019).
van Enk, S. J. & Beenakker, C. W. J. Measuring \({\rm{Tr}}{\rho }^{n}\) on single copies of ρ using random measurements. Phys. Rev. Lett. 108, 110503 (2012).
Elben, A., Vermersch, B., Dalmonte, M., Cirac, J. I. & Zoller, P. Rényi entropies from random quenches in atomic hubbard and spin models. Phys. Rev. Lett. 120, 050406 (2018).
Brydges, T. et al. Probing rényi entanglement entropy via randomized measurements. Science 364, 260–263 (2019).
Garcia, R. J., Zhou, Y. & Jaffe, A. Quantum scrambling with classical shadows. Phys. Rev. Res. 3, 033155 (2021).
Elben, A. et al. Many-body topological invariants from randomized measurements in synthetic quantum matter. Sci. Adv. 6, eaaz3666 (2020).
Rath, A., Branciard, C., Minguzzi, A. & Vermersch, B. Quantum fisher information from randomized measurements. Phys. Rev. Lett. 127, 260501 (2021).
Elben, A., Vermersch, B., Roos, C. F. & Zoller, P. Statistical correlations between locally randomized measurements: a toolbox for probing entanglement in many-body quantum states. Phys. Rev. A 99, 052323 (2019).
Huang, H.-Y., Kueng, R. & Preskill, J. Predicting many properties of a quantum system from very few measurements. Nat. Phys. 16, 1050–1057 (2020).
Zhou, Y. & Liu, Q. Performance analysis of multi-shot shadow estimation. Quantum 7, 1044 (2023).
Helsen, J. & Walter, M. Thrifty shadow estimation: reusing quantum circuits and bounding tails. Phys. Rev. Lett. 131, 240602 (2023).
Liu, Z., Zeng, P., Zhou, Y. & Gu, M. Characterizing correlation within multipartite quantum systems via local randomized measurements. Phys. Rev. A 105, 022407 (2022).
Elben, A. et al. Cross-platform verification of intermediate scale quantum devices. Phys. Rev. Lett. 124, 010504 (2020).
Kim, T., Fiorentino, M. & Wong, F. N. Phase-stable source of polarization-entangled photons using a polarization sagnac interferometer. Phys. Rev. A 73, 012316 (2006).
Englert, B.-G., Kurtsiefer, C. & Weinfurter, H. Universal unitary gate for single-photon two-qubit states. Phys. Rev. A 63, 032303 (2001).
O’Brien, J. L., Pryde, G. J., White, A. G., Ralph, T. C. & Branning, D. Demonstration of an all-optical quantum controlled-not gate. Nature 426, 264–267 (2003).
Kiesel, N., Schmid, C., Weber, U., Ursin, R. & Weinfurter, H. Linear optics controlled-phase gate made simple. Phys. Rev. Lett. 95, 210505 (2005).
Okamoto, R., Hofmann, H. F., Takeuchi, S. & Sasaki, K. Demonstration of an optical quantum controlled-not gate without path interference. Phys. Rev. Lett. 95, 210506 (2005).
Luis, A. & Sánchez-Soto, L. L. Complete characterization of arbitrary quantum measurement processes. Phys. Rev. Lett. 83, 3573 (1999).
Ketterer, A., Wyderka, N. & Gühne, O. Characterizing multipartite entanglement with moments of random correlations. Phys. Rev. Lett. 122, 120505 (2019).
Liu, S., He, Q., Huber, M., Gühne, O. & Vitagliano, G. Characterizing entanglement dimensionality from randomized measurements. PRX Quantum 4, 020324 (2023).
Wyderka, N. et al. Complete characterization of quantum correlations by randomized measurements. Phys. Rev. Lett. 131, 090201 (2023).
Seif, A., Cian, Z.-P., Zhou, S., Chen, S. & Jiang, L. Shadow distillation: quantum error mitigation with classical shadows for near-term quantum processors. PRX Quantum 4, 010303 (2023).
Zhou, Y. & Liu, Z. A hybrid framework for estimating nonlinear functions of quantum states. npj Quantum Inf. 10, 62 (2024).
Hu, H.-Y., LaRose, R., You, Y.-Z., Rieffel, E. & Wang, Z. Logical shadow tomography: Efficient estimation of error-mitigated observables. Preprint at https://arxiv.org/abs/2203.07263 (2022).
Peng, X.-J. et al. Experimental hybrid shadow tomography and distillation. Preprint at https://doi.org/10.1103/PhysRevApplied.23.014075 (2024).
Lubasch, M., Joo, J., Moinier, P., Kiffner, M. & Jaksch, D. Variational quantum algorithms for nonlinear problems. Phys. Rev. A 101, 010301 (2020).
Yamamoto, K., Endo, S., Hakoshima, H., Matsuzaki, Y. & Tokunaga, Y. Error-mitigated quantum metrology via virtual purification. Phys. Rev. Lett. 129, 250503 (2022).
Liu, Q., Li, Z., Yuan, X., Zhu, H. & Zhou, Y. Auxiliary-free replica shadow estimation. Preprint at https://arxiv.org/abs/2407.20865 (2024).
Koh, D. E. & Grewal, S. Classical shadows with noise. Quantum 6, 776 (2022).
Chen, S., Yu, W., Zeng, P. & Flammia, S. T. Robust shadow estimation. PRX Quantum 2, 030348 (2021).
Langford, N. K. et al. Demonstration of a simple entangling optical gate and its use in bell-state analysis. Phys. Rev. Lett. 95, 210504 (2005).
Acknowledgements
G.C., C.F.L. et.al. other authors claim support from the National Natural Science Foundation of China (Grant Nos.~12350006, 92576202), Quantum Science and Technology-National Science and Technology Major Project (Nos. 2021ZD0301200), and USTC Research Funds of the Double First-Class Initiative (Grant No.~YD2030002026). Y.Z. acknowledges the support from the National Natural Science Foundation of China (NSFC) Grant No.~12205048 and 12575012, the Quantum Science and Technology-National Science and Technology Major Project Grant Nos.~2024ZD0301900 and 2021ZD0302000, the Shanghai QiYuan Innovation Foundation, the Shanghai Municipal Commission of Science and Technology with Grant No.~25511103200, the Shanghai Science and Technology Innovation Action Plan Grant No.~24LZ1400200, the Shanghai Pilot Program for Basic Research - Fudan University 21TQ1400100 (25TQ003), and the CCF-Quantum CTek Superconducting Quantum Computing CCF-QC2025006.
Author information
Authors and Affiliations
Contributions
Theory Development: G.C.L. and Y.Z.. Experiment: G.C.L. Writing: G.C.L., Z.Y., G.C., L.C., X.S.H., S.Q.Z., H.X., and Y.L. Supervision: Y.Z., G.C., C.F.L., and G.C.G.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Li, GC., Chen, L., Hong, XS. et al. Few-shot estimation of entanglement with Bell measurement assistance. npj Quantum Inf 12, 34 (2026). https://doi.org/10.1038/s41534-025-01172-0
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41534-025-01172-0











